freebsd-ports/devel/regexx/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

33 lines
806 B
Makefile

# ex:ts=8
# New ports collection makefile for: regexx
# Date created: Mar 2, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= regexx
PORTVERSION= 0.98.1
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A complete regular expressions C++ solution
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
MAKE_ENV+= INCLUDES="-I${WRKSRC}/pcre"
post-patch:
@${REINPLACE_CMD} -e 's|@LIBTOOL@|${LIBTOOL}|g ; \
s| \./libtool|${LIBTOOL}|g ; \
s|\(DEFS.*\)|\1 -I${LOCALBASE}/include|' \
${WRKSRC}/src/Makefile.in ${WRKSRC}/pcre/Makefile.in
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's| examples||g' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>