aboutsummaryrefslogtreecommitdiff
path: root/devel/pcre++/Makefile
blob: 6f5e878e0d1758fff0296b4a66c07b97dc5e5b00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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/files/mirror/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_AUTOTOOLS=	libtool:15
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="`${PCRE_CONFIG} --cflags`" \
		LDFLAGS="`${PCRE_CONFIG} --libs`"
USE_LDCONFIG=	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>