aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pcre
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-07-13 06:59:19 +0800
committersteve <steve@FreeBSD.org>1998-07-13 06:59:19 +0800
commitbcb3611e01e7b8e406c77afaccdd846c5cd735d9 (patch)
treeea3010d41305269de5811d1251679e4cadf6fdf7 /devel/pcre
parentaec667b73640a6990bb5f95eb944f2db04c77fdc (diff)
downloadfreebsd-ports-gnome-bcb3611e01e7b8e406c77afaccdd846c5cd735d9.tar.gz
freebsd-ports-gnome-bcb3611e01e7b8e406c77afaccdd846c5cd735d9.tar.zst
freebsd-ports-gnome-bcb3611e01e7b8e406c77afaccdd846c5cd735d9.zip
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