freebsd-ports/devel/pcre++/Makefile

36 lines
779 B
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: pcre++
# Date created: Jan 12, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= pcre++
2004-08-25 10:13:59 +02:00
PORTVERSION= 0.9.5
CATEGORIES= devel
MASTER_SITES= ftp://ftp.daemon.de/scip/Apps/pcre++/
MAINTAINER= krion@FreeBSD.org
2003-02-20 18:07:10 +01:00
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_INC_LIBTOOL_VER= 13
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="`${PCRE_CONFIG} --cflags`" \
LDFLAGS="`${PCRE_CONFIG} --libs`"
INSTALLS_SHLIB= yes
2004-08-25 10:13:59 +02:00
MAN3= Pcre.3
PLIST_SUB= VERSION=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>