freebsd-ports/devel/pcre++/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

35 lines
785 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= ftp://ftp.daemon.de/scip/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_REINPLACE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:13:inc
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="`${PCRE_CONFIG} --cflags`" \
LDFLAGS="`${PCRE_CONFIG} --libs`"
INSTALLS_SHLIB= yes
MAN3= Pcre.3
PLIST_SUB= VERSION=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>