mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
bcadc8453d
Approved by: fjoe (mentor)
35 lines
706 B
Makefile
35 lines
706 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: pcre++
|
|
# Date created: Jan 12, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pcre++
|
|
PORTVERSION= 0.9.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.daemon.de/scip/Apps/pcre++/
|
|
|
|
MAINTAINER= krion@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_LIBTOOL= yes
|
|
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>
|