aboutsummaryrefslogtreecommitdiffstats
path: root/www/libhubbub/Makefile
blob: d6fa54ce4a27334c73b961a58487af48eff6488e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=   libhubbub
PORTVERSION=    0.3.3
CATEGORIES= www
MASTER_SITES=   http://download.netsurf-browser.org/libs/releases/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= olivierd@FreeBSD.org
COMMENT=    HTML5 parser library

LICENSE=    MIT

BUILD_DEPENDS=  netsurf-buildsystem>=1.5:devel/netsurf-buildsystem
LIB_DEPENDS=    libparserutils.so:devel/libparserutils

USES=   gmake iconv:wchar_t localbase pkgconfig
USE_LDCONFIG=   yes

WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}

MAKE_ENV+=  COMPONENT_TYPE="lib-shared"
LDFLAGS+=   ${ICONV_LIB}

PLIST_SUB+= VERSION=${PORTVERSION}

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhubbub.so*

.include <bsd.port.mk>