aboutsummaryrefslogtreecommitdiffstats
path: root/www/libdom/Makefile
blob: b508e47e759cd98f4a66e5fdc34609a5ba92fb69 (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
32
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=   libdom
PORTVERSION=    0.3.3
CATEGORIES= www
MASTER_SITES=   http://download.netsurf-browser.org/libs/releases/
EXTRACT_SUFX=   -src.tar.gz

MAINTAINER= neel@neelc.org
COMMENT=    Document Object Model library

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  netsurf-buildsystem>=1.5:devel/netsurf-buildsystem
LIB_DEPENDS=    libwapcaplet.so:textproc/libwapcaplet \
        libparserutils.so:devel/libparserutils \
        libhubbub.so:www/libhubbub \
        libexpat.so:textproc/expat2

USES=       gmake iconv localbase pkgconfig
USE_LDCONFIG=   yes

MAKE_ENV=   COMPONENT_TYPE="lib-shared"

PLIST_SUB=  VERSION=${PORTVERSION}

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

.include <bsd.port.mk>