1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/devel/regexx/Makefile
Pawel Pekala 56b85d8c74 - Fix build on -current
- Depend on pcre from ports instead of bundled one
- Strip library file

PR:		ports/184229
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-25 19:35:30 +00:00

34 lines
706 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= regexx
PORTVERSION= 0.98.1
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Complete regular expressions C++ solution
LICENSE= LGPL21
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
USES= gmake pkgconfig
USE_AUTOTOOLS= libtool
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.2
.include <bsd.port.mk>