summaryrefslogtreecommitdiffstats
path: root/devel/regexx/Makefile
blob: 860de30956fe6b6084557cebd0919e12644fcc81 (plain)
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
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$

PORTNAME=	regexx
PORTVERSION=	0.98.1
PORTREVISION=	6
CATEGORIES=	devel
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Complete regular expressions C++ solution

LICENSE=	LGPL21

LIB_DEPENDS=	libpcre.so:devel/pcre

USES=		gmake pkgconfig libtool
GNU_CONFIGURE=	yes
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
		AUTOMAKE="${TRUE}"
USE_LDCONFIG=	yes

CPPFLAGS+=	$$(pkg-config --cflags libpcre)
LDFLAGS+=	$$(pkg-config --libs libpcre)

post-patch:
	@${REINPLACE_CMD} -e \
		's|"pcre"||' ${WRKSRC}/configure

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libregexx.so

.include <bsd.port.mk>
OpenPOWER on IntegriCloud