1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/devel/pcre++/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

37 lines
754 B
Makefile

# ex:ts=8
# Ports collection makefile for: pcre++
# Date created: Jan 12, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pcre++
PORTVERSION= 0.9.5
CATEGORIES= devel
MASTER_SITES= http://www.daemon.de/idisk/Apps/pcre++/
MAINTAINER= ports@FreeBSD.org
COMMENT= A wrapper class around the pcre library
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
PCRE_CONFIG?= ${LOCALBASE}/bin/pcre-config
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= `${PCRE_CONFIG} --cflags`
LDFLAGS+= `${PCRE_CONFIG} --libs`
USE_LDCONFIG= yes
MAN3= Pcre.3
PLIST_SUB= VERSION=${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/lib${PORTNAME}-${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>