1998-07-12 22:59:19 +00:00
|
|
|
# New ports collection makefile for: pcre
|
1999-05-16 23:15:28 +00:00
|
|
|
# Version required: 2.05
|
1998-07-12 22:59:19 +00:00
|
|
|
# Date created: 08 July 1998
|
|
|
|
# Whom: dom
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-07-12 22:59:19 +00:00
|
|
|
#
|
|
|
|
|
1999-05-16 23:15:28 +00:00
|
|
|
DISTNAME= pcre-2.05
|
1998-07-12 22:59:19 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/
|
|
|
|
|
|
|
|
MAINTAINER= dom@myrddin.demon.co.uk
|
|
|
|
|
|
|
|
MAN3= pcre.3 pcreposix.3
|
|
|
|
MAN1= pgrep.1
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
${SED} -e '/^CC/s/.*/CC=${CC}/' \
|
|
|
|
-e '/^CFLAGS/s/.*/CFLAGS=${CFLAGS}/' \
|
|
|
|
-e '/^RANLIB/s/.*/RANLIB=${RANLIB}/' \
|
|
|
|
${WRKSRC}/Makefile > ${WRKSRC}/Makefile.new
|
|
|
|
${MV} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pgrep ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libpcre.a ${PREFIX}/lib
|
1999-05-16 23:15:28 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libpcreposix.a ${PREFIX}/lib
|
1998-07-12 22:59:19 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pcre.h ${PREFIX}/include
|
1999-05-16 23:15:28 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pcreposix.h ${PREFIX}/include
|
1998-07-12 22:59:19 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/pcre.3 ${PREFIX}/man/man3
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/pcreposix.3 ${PREFIX}/man/man3
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/pgrep.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|