1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/devel/regexx/Makefile
Dmitry Marakasov 9f79db2e8b - Switch to USES=libtool, drop .la files
- Strip libraries
2014-06-03 00:40:11 +00:00

34 lines
708 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= regexx
PORTVERSION= 0.98.1
PORTREVISION= 5
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 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>