blob: b5d29c3d153120825d2b1cd13161fc264e406655 (
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
|
# $NetBSD: Makefile,v 1.5 2001/02/16 14:38:56 wiz Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1998/07/12 22:59:19 steve Exp $
DISTNAME= pcre-2.08
CATEGORIES= devel
MASTER_SITES= ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/
MAINTAINER= proff@netbsd.org
COMMENT= Perl Compatible Regular Expressions library
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
${INSTALL_DATA} ${WRKSRC}/libpcreposix.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/pcreposix.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/pcre.h ${PREFIX}/include
${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 "../../mk/bsd.pkg.mk"
|