pcre port
This commit is contained in:
parent
5bde5229ec
commit
61fe87e851
18
devel/pcre/Makefile
Normal file
18
devel/pcre/Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2000/06/20 18:54:51 jakob Exp $
|
||||
|
||||
DISTNAME= pcre-3.2
|
||||
CATEGORIES= devel
|
||||
NEED_VERSION= 1.302
|
||||
|
||||
MAINTAINER= jakob@openbsd.org
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/pcre/files/md5
Normal file
3
devel/pcre/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pcre-3.2.tar.gz) = 46d2db1740c9d9a9db34f34aa81b0fba
|
||||
RMD160 (pcre-3.2.tar.gz) = 75c70351b3f274e29016d08f891de7365c0f6243
|
||||
SHA1 (pcre-3.2.tar.gz) = ad4c863125893844ee51ccf59e9e6f11817a8551
|
40
devel/pcre/patches/patch-aa
Normal file
40
devel/pcre/patches/patch-aa
Normal file
@ -0,0 +1,40 @@
|
||||
--- Makefile.in.orig Sat May 13 12:25:02 2000
|
||||
+++ Makefile.in Tue Jun 20 11:21:28 2000
|
||||
@@ -157,24 +157,24 @@
|
||||
$(CC) -o dftables $(CFLAGS) dftables.c
|
||||
|
||||
install: all
|
||||
- $(LIBTOOL) $(INSTALL_DATA) libpcre.$(LIBSUFFIX) $(LIBDIR)/libpcre.$(LIBSUFFIX)
|
||||
- $(LIBTOOL) $(INSTALL_DATA) libpcreposix.$(LIBSUFFIX) $(LIBDIR)/libpcreposix.$(LIBSUFFIX)
|
||||
- $(INSTALL_DATA) pcre.h $(INCDIR)/pcre.h
|
||||
- $(INSTALL_DATA) pcreposix.h $(INCDIR)/pcreposix.h
|
||||
- $(INSTALL_DATA) doc/pcre.3 $(MANDIR)/man3/pcre.3
|
||||
- $(INSTALL_DATA) doc/pcreposix.3 $(MANDIR)/man3/pcreposix.3
|
||||
- $(INSTALL_DATA) doc/pgrep.1 $(MANDIR)/man1/pgrep.1
|
||||
+ $(LIBTOOL) $(INSTALL_DATA) libpcre.$(LIBSUFFIX) $(DESTDIR)/$(LIBDIR)/libpcre.$(LIBSUFFIX)
|
||||
+ $(LIBTOOL) $(INSTALL_DATA) libpcreposix.$(LIBSUFFIX) $(DESTDIR)/$(LIBDIR)/libpcreposix.$(LIBSUFFIX)
|
||||
+ $(INSTALL_DATA) pcre.h $(DESTDIR)/$(INCDIR)/pcre.h
|
||||
+ $(INSTALL_DATA) pcreposix.h $(DESTDIR)/$(INCDIR)/pcreposix.h
|
||||
+ $(INSTALL_DATA) doc/pcre.3 $(DESTDIR)/$(MANDIR)/man3/pcre.3
|
||||
+ $(INSTALL_DATA) doc/pcreposix.3 $(DESTDIR)/$(MANDIR)/man3/pcreposix.3
|
||||
+ $(INSTALL_DATA) doc/pgrep.1 $(DESTDIR)/$(MANDIR)/man1/pgrep.1
|
||||
@if test "$(LIBTOOL)" = "./libtool"; then \
|
||||
echo ' '; \
|
||||
echo '--- Rebuilding pgrep to use installed shared library ---'; \
|
||||
- echo $(CC) $(CFLAGS) -o pgrep pgrep.o -L$(LIBDIR) -lpcre; \
|
||||
- $(CC) $(CFLAGS) -o pgrep pgrep.o -L$(LIBDIR) -lpcre; \
|
||||
+ echo $(CC) $(CFLAGS) -o pgrep pgrep.o -L$(DESTDIR)/$(LIBDIR) -lpcre; \
|
||||
+ $(CC) $(CFLAGS) -o pgrep pgrep.o -L$(DESTDIR)/$(LIBDIR) -lpcre; \
|
||||
echo '--- Rebuilding pcretest to use installed shared library ---'; \
|
||||
- echo $(CC) $(CFLAGS) -o pcretest pcretest.o -L$(LIBDIR) -lpcre -lpcreposix; \
|
||||
- $(CC) $(CFLAGS) -o pcretest pcretest.o -L$(LIBDIR) -lpcre -lpcreposix; \
|
||||
+ echo $(CC) $(CFLAGS) -o pcretest pcretest.o -L$(DESTDIR)/$(LIBDIR) -lpcre -lpcreposix; \
|
||||
+ $(CC) $(CFLAGS) -o pcretest pcretest.o -L$(DESTDIR)/$(LIBDIR) -lpcre -lpcreposix; \
|
||||
fi
|
||||
- $(INSTALL) pgrep $(BINDIR)/pgrep
|
||||
- $(INSTALL) pcre-config $(BINDIR)/pcre-config
|
||||
+ $(INSTALL) pgrep $(DESTDIR)/$(BINDIR)/pgrep
|
||||
+ $(INSTALL) pcre-config $(DESTDIR)/$(BINDIR)/pcre-config
|
||||
|
||||
# We deliberately omit dftables and chartables.c from 'make clean'; once made
|
||||
# chartables.c shouldn't change, and if people have edited the tables by hand,
|
1
devel/pcre/pkg/COMMENT
Normal file
1
devel/pcre/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Perl-compatible regular expression library
|
4
devel/pcre/pkg/DESCR
Normal file
4
devel/pcre/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
The PCRE library is a set of functions that implement regular expression
|
||||
pattern matching using the same syntax and semantics as Perl 5, with just
|
||||
a few differences. The current implementation corresponds to Perl 5.005,
|
||||
with some additional features from the Perl development release.
|
6
devel/pcre/pkg/PFRAG.shared
Normal file
6
devel/pcre/pkg/PFRAG.shared
Normal file
@ -0,0 +1,6 @@
|
||||
lib/libpcre.la
|
||||
lib/libpcre.so.0.1
|
||||
lib/libpcreposix.la
|
||||
lib/libpcreposix.so.0.0
|
||||
@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib
|
||||
@unexec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib
|
11
devel/pcre/pkg/PLIST
Normal file
11
devel/pcre/pkg/PLIST
Normal file
@ -0,0 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/06/20 18:54:51 jakob Exp $
|
||||
bin/pcre-config
|
||||
bin/pgrep
|
||||
include/pcre.h
|
||||
include/pcreposix.h
|
||||
lib/libpcre.a
|
||||
lib/libpcreposix.a
|
||||
%%SHARED%%
|
||||
man/man1/pgrep.1
|
||||
man/man3/pcre.3
|
||||
man/man3/pcreposix.3
|
Loading…
x
Reference in New Issue
Block a user