summaryrefslogtreecommitdiffstats
path: root/www/htmlcxx/Makefile
blob: adbec6a39fe5d558701ffe48da117f91c28a9912 (plain)
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
# $FreeBSD$

PORTNAME=	htmlcxx
PORTVERSION=	0.85
PORTREVISION=	2
CATEGORIES=	www textproc
MASTER_SITES=	SF

MAINTAINER=	kevlo@FreeBSD.org
COMMENT=	HTML and CSS APIs for C++

LICENSE=	LGPL20
LICENSE_FILE=	${WRKSRC}/LGPL_V2

USES=		bison iconv libtool
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip

MAKE_JOBS_UNSAFE=yes

MAKE_ARGS=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"

post-patch:
	@${REINPLACE_CMD} 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud