1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/lang/libhx/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

40 lines
886 B
Makefile

# New ports collection makefile for: libhx
# Date created: 2009-06-20
# Whom: Sylvio Cesar <sylvio@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libHX
PORTVERSION= 3.10.1
CATEGORIES= lang
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME}/${PORTVERSION}
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Library C with some additional C++ bindings available
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_XZ= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
.if !defined(NOPORTDOCS)
PORTDOCS= *
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:L}
.endif
MAN1= hxdirstamp.1
post-patch:
${REINPLACE_CMD} -e 's| -lrt||g' ${WRKSRC}/src/Makefile.in
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|libHX_Documentation.pdf||' \
${WRKSRC}/doc/Makefile.in ${WRKSRC}/doc/Makefile.am
.endif
.include <bsd.port.mk>