2002-01-12 17:59:18 +01:00
|
|
|
# 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
|
2002-01-12 17:59:18 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://ftp.daemon.de/scip/Apps/pcre++/
|
|
|
|
|
2003-07-22 12:34:12 +02:00
|
|
|
MAINTAINER= krion@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A wrapper class around the pcre library
|
2002-01-12 17:59:18 +01:00
|
|
|
|
2002-03-16 08:29:19 +01:00
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
|
|
|
|
|
|
|
PCRE_CONFIG?= ${LOCALBASE}/bin/pcre-config
|
2002-01-12 17:59:18 +01:00
|
|
|
|
2002-06-25 20:36:39 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-01-12 17:59:18 +01:00
|
|
|
USE_GMAKE= yes
|
2004-07-09 19:43:11 +02:00
|
|
|
USE_INC_LIBTOOL_VER= 13
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2002-03-16 08:29:19 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="`${PCRE_CONFIG} --cflags`" \
|
|
|
|
LDFLAGS="`${PCRE_CONFIG} --libs`"
|
2002-01-12 17:59:18 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2004-08-25 10:13:59 +02:00
|
|
|
MAN3= Pcre.3
|
2003-07-14 03:39:20 +02:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
2002-01-12 17:59:18 +01:00
|
|
|
|
2002-03-16 08:29:19 +01:00
|
|
|
post-patch:
|
2002-06-25 20:36:39 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in
|
2002-03-16 08:29:19 +01:00
|
|
|
|
2002-01-12 17:59:18 +01:00
|
|
|
.include <bsd.port.mk>
|