summaryrefslogtreecommitdiff
path: root/devel/pcre
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-07-12 22:59:19 +0000
committerSteve Price <steve@FreeBSD.org>1998-07-12 22:59:19 +0000
commitc39b1adcfa71c6a653ede32deb99116236072ff1 (patch)
tree50d7ad1a08ead715b217162523931e8ff5852540 /devel/pcre
parentTurn on kb2mb2. (diff)
Initial import of pcre version 1.09.
A Perl Compatible Regular Expressions library. PR: 7216 Submitted by: Dom Mitchell <dom@myrddin.demon.co.uk>
Diffstat (limited to 'devel/pcre')
-rw-r--r--devel/pcre/Makefile33
-rw-r--r--devel/pcre/distinfo1
-rw-r--r--devel/pcre/pkg-comment1
-rw-r--r--devel/pcre/pkg-descr6
-rw-r--r--devel/pcre/pkg-plist6
5 files changed, 47 insertions, 0 deletions
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile
new file mode 100644
index 000000000000..23877e5d088b
--- /dev/null
+++ b/devel/pcre/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: pcre
+# Version required: 1.09
+# Date created: 08 July 1998
+# Whom: dom
+#
+# $Id$
+#
+
+DISTNAME= pcre-1.09
+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
+ ${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 <bsd.port.mk>
diff --git a/devel/pcre/distinfo b/devel/pcre/distinfo
new file mode 100644
index 000000000000..e70a4ee5de22
--- /dev/null
+++ b/devel/pcre/distinfo
@@ -0,0 +1 @@
+MD5 (pcre-1.09.tar.gz) = e6826e6e3b25e3e09e1bf46f637e8fe5
diff --git a/devel/pcre/pkg-comment b/devel/pcre/pkg-comment
new file mode 100644
index 000000000000..8df2cda83437
--- /dev/null
+++ b/devel/pcre/pkg-comment
@@ -0,0 +1 @@
+Perl Compatible Regular Expressions library.
diff --git a/devel/pcre/pkg-descr b/devel/pcre/pkg-descr
new file mode 100644
index 000000000000..59e819f15167
--- /dev/null
+++ b/devel/pcre/pkg-descr
@@ -0,0 +1,6 @@
+PCRE is a Perl compatible library of regular expressions. They
+are based on a completely seperate code-base from Henry Spencers
+originals. It has been designed to make efficient use of memory
+for compiled regex's.
+
+Original Author: Phil Hazel <ph10@cam.ac.uk>
diff --git a/devel/pcre/pkg-plist b/devel/pcre/pkg-plist
new file mode 100644
index 000000000000..a2281aa7bf36
--- /dev/null
+++ b/devel/pcre/pkg-plist
@@ -0,0 +1,6 @@
+bin/pgrep
+include/pcre.h
+lib/libpcre.a
+man/man1/pgrep.1.gz
+man/man3/pcre.3.gz
+man/man3/pcreposix.3.gz