Import pcre++ 0.9.5
PCRE++ is a C++ wrapper-class for the PCRE library (Perl Compatible Regular Expressions). From Tomasz Bak <openbsdpl@wp.pl> ok sturm@
This commit is contained in:
parent
cbe08f8a8a
commit
c16b4beb0a
31
devel/pcre++/Makefile
Normal file
31
devel/pcre++/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/12/05 14:16:40 alek Exp $
|
||||
|
||||
COMMENT= "wrapper class around the pcre library"
|
||||
|
||||
DISTNAME= pcre++-0.9.5
|
||||
CATEGORIES= devel
|
||||
HOMEPAGE= http://www.daemon.de/PCRE
|
||||
|
||||
MASTER_SITES= ftp://ftp.daemon.de/scip/Apps/pcre++/
|
||||
|
||||
MAINTAINER= Tomasz Bak <openbsdpl@wp.pl>
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
LIB_DEPENDS= pcre.0::devel/pcre
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
do-regress:
|
||||
@cd ${WRKBUILD}/test && ./test testinput
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/pcre++/distinfo
Normal file
3
devel/pcre++/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pcre++-0.9.5.tar.gz) = 1fe6ea8e23ece01fde2ce5fb4746acc2
|
||||
RMD160 (pcre++-0.9.5.tar.gz) = 1aa3c933f271caacaeec08af02c7903dd4405c41
|
||||
SHA1 (pcre++-0.9.5.tar.gz) = 7cb640555c6adf34bf366139b22f6d1a66bd1fb0
|
29
devel/pcre++/patches/patch-configure
Normal file
29
devel/pcre++/patches/patch-configure
Normal file
@ -0,0 +1,29 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2004/12/05 14:16:40 alek Exp $
|
||||
--- configure.orig Wed Aug 25 01:38:03 2004
|
||||
+++ configure Thu Dec 2 01:10:03 2004
|
||||
@@ -8594,7 +8594,7 @@ fi;
|
||||
if test "${with_pcre_lib+set}" = set; then
|
||||
withval="$with_pcre_lib"
|
||||
if test "x$with_pcre_lib" != "x"; then
|
||||
- LIBS="$LIBS -L$with_pcre_lib -lpcre"
|
||||
+ LIBS="$LIBS"
|
||||
fi
|
||||
fi;
|
||||
|
||||
@@ -8644,7 +8644,7 @@ if test "x$with_pcre_lib" = "x"; then
|
||||
LIBS="$LIBS -L$prefix/lib -L/usr/local/lib `pcre-config --libs`"
|
||||
;;
|
||||
*)
|
||||
- LIBS="$LIBS -lpcre"
|
||||
+ #LIBS="$LIBS -lpcre"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
@@ -8718,7 +8718,6 @@ if test $ac_cv_lib_pcre_pcre_exec = yes;
|
||||
#define HAVE_LIBPCRE 1
|
||||
_ACEOF
|
||||
|
||||
- LIBS="-lpcre $LIBS"
|
||||
|
||||
fi
|
||||
|
14
devel/pcre++/patches/patch-doc_Makefile_in
Normal file
14
devel/pcre++/patches/patch-doc_Makefile_in
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-doc_Makefile_in,v 1.1.1.1 2004/12/05 14:16:40 alek Exp $
|
||||
--- doc/Makefile.in.orig Wed Aug 25 01:38:04 2004
|
||||
+++ doc/Makefile.in Sun Nov 28 18:55:37 2004
|
||||
@@ -232,8 +232,8 @@ mostlyclean distclean maintainer-clean
|
||||
|
||||
|
||||
install-data-local:
|
||||
- $(INSTALL) -m 755 -d $(prefix)/doc/libpcre++-$(VERSION)
|
||||
- $(INSTALL) -m 644 $(DOC_FILES) $(prefix)/doc/libpcre++-$(VERSION)/
|
||||
+ $(INSTALL) -m 755 -d $(DESTDIR)$(prefix)/share/doc/pcre++
|
||||
+ $(INSTALL) -m 644 $(DOC_FILES) $(DESTDIR)$(prefix)/share/doc/pcre++/
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
21
devel/pcre++/patches/patch-examples_Makefile_in
Normal file
21
devel/pcre++/patches/patch-examples_Makefile_in
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-examples_Makefile_in,v 1.1.1.1 2004/12/05 14:16:40 alek Exp $
|
||||
--- examples/Makefile.in.orig Wed Aug 25 01:38:04 2004
|
||||
+++ examples/Makefile.in Thu Dec 2 20:59:11 2004
|
||||
@@ -89,7 +89,7 @@ replace_demo_LDADD = $(pcre_linklib)
|
||||
search_demo_SOURCES = search_demo.cc
|
||||
search_demo_LDADD = $(pcre_linklib)
|
||||
|
||||
-CXXFLAGS = -Wall -Wstrict-prototypes -O -g
|
||||
+CXXFLAGS = -Wall -Wstrict-prototypes @CXXFLAGS@
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../libpcre++/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
@@ -101,7 +101,7 @@ PROGRAMS = $(noinst_PROGRAMS)
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../libpcre++
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
-LIBS = @LIBS@
|
||||
+LIBS = @LIBS@ -lpcre
|
||||
demo_OBJECTS = demo.$(OBJEXT)
|
||||
demo_DEPENDENCIES = ../libpcre++/.libs/libpcre++.a
|
||||
demo_LDFLAGS =
|
12
devel/pcre++/patches/patch-libpcre++_Makefile_in
Normal file
12
devel/pcre++/patches/patch-libpcre++_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-libpcre++_Makefile_in,v 1.1.1.1 2004/12/05 14:16:40 alek Exp $
|
||||
--- libpcre++/Makefile.in.orig Thu Dec 2 01:10:10 2004
|
||||
+++ libpcre++/Makefile.in Thu Dec 2 01:17:18 2004
|
||||
@@ -82,7 +82,7 @@ lib_LTLIBRARIES = libpcre++.la
|
||||
libpcre___la_SOURCES = pcre++.h pcre++.cc get.cc replace.cc search.cc split.cc
|
||||
include_HEADERS = pcre++.h
|
||||
|
||||
-CXXFLAGS = -Wall -Wstrict-prototypes -O -g
|
||||
+CXXFLAGS = -Wall -Wstrict-prototypes @CXXFLAGS@
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
12
devel/pcre++/patches/patch-pcre++-config_in
Normal file
12
devel/pcre++/patches/patch-pcre++-config_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-pcre++-config_in,v 1.1.1.1 2004/12/05 14:16:40 alek Exp $
|
||||
--- pcre++-config.in.orig Fri Dec 3 13:17:14 2004
|
||||
+++ pcre++-config.in Fri Dec 3 13:17:24 2004
|
||||
@@ -48,7 +48,7 @@ while test $# -gt 0; do
|
||||
echo $includes
|
||||
;;
|
||||
--libs)
|
||||
- echo -L@libdir@ -lpcre++
|
||||
+ echo -L@libdir@ -lpcre++ -lpcre
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
21
devel/pcre++/patches/patch-test_Makefile_in
Normal file
21
devel/pcre++/patches/patch-test_Makefile_in
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-test_Makefile_in,v 1.1.1.1 2004/12/05 14:16:40 alek Exp $
|
||||
--- test/Makefile.in.orig Wed Aug 25 01:38:04 2004
|
||||
+++ test/Makefile.in Thu Dec 2 20:49:56 2004
|
||||
@@ -83,7 +83,7 @@ noinst_PROGRAMS = test
|
||||
test_SOURCES = test.cc
|
||||
test_LDADD = $(pcre_linklib)
|
||||
|
||||
-CXXFLAGS = -Wall -Wstrict-prototypes -O -g
|
||||
+CXXFLAGS = -Wall -Wstrict-prototypes @CXXFLAGS@
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../libpcre++/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
@@ -94,7 +94,7 @@ PROGRAMS = $(noinst_PROGRAMS)
|
||||
DEFS = @DEFS@ -I. -I$(srcdir) -I../libpcre++
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
-LIBS = @LIBS@
|
||||
+LIBS = @LIBS@ -lpcre
|
||||
test_OBJECTS = test.$(OBJEXT)
|
||||
test_DEPENDENCIES = ../libpcre++/.libs/libpcre++.a
|
||||
test_LDFLAGS =
|
2
devel/pcre++/pkg/DESCR
Normal file
2
devel/pcre++/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
PCRE++ is a C++ wrapper-class for the PCRE library (Perl Compatible
|
||||
Regular Expressions).
|
2
devel/pcre++/pkg/PFRAG.shared
Normal file
2
devel/pcre++/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/12/05 14:16:40 alek Exp $
|
||||
@lib lib/libpcre++.so.0.0
|
44
devel/pcre++/pkg/PLIST
Normal file
44
devel/pcre++/pkg/PLIST
Normal file
@ -0,0 +1,44 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/12/05 14:16:40 alek Exp $
|
||||
bin/pcre++-config
|
||||
include/pcre++.h
|
||||
lib/libpcre++.a
|
||||
lib/libpcre++.la
|
||||
@man man/man3/Pcre.3
|
||||
share/doc/pcre++/
|
||||
@comment share/doc/pcre++/AUTHORS
|
||||
@comment share/doc/pcre++/COPYING
|
||||
@comment share/doc/pcre++/ChangeLog
|
||||
@comment share/doc/pcre++/INSTALL
|
||||
@comment share/doc/pcre++/README
|
||||
share/doc/pcre++/annotated.html
|
||||
share/doc/pcre++/classPcre-members.html
|
||||
share/doc/pcre++/classPcre.html
|
||||
share/doc/pcre++/classPcre_1_1exception-members.html
|
||||
share/doc/pcre++/classPcre_1_1exception.html
|
||||
share/doc/pcre++/classpcrepp_1_1Pcre-members.html
|
||||
share/doc/pcre++/classpcrepp_1_1Pcre.html
|
||||
share/doc/pcre++/classpcrepp_1_1Pcre_1_1exception-members.html
|
||||
share/doc/pcre++/classpcrepp_1_1Pcre_1_1exception.html
|
||||
@comment share/doc/pcre++/config.log
|
||||
share/doc/pcre++/doxygen.css
|
||||
share/doc/pcre++/doxygen.png
|
||||
share/doc/pcre++/files.html
|
||||
share/doc/pcre++/functions.html
|
||||
share/doc/pcre++/get_8cc-source.html
|
||||
share/doc/pcre++/get_8cc.html
|
||||
share/doc/pcre++/globals.html
|
||||
share/doc/pcre++/index.html
|
||||
share/doc/pcre++/namespacepcrepp.html
|
||||
share/doc/pcre++/namespaces.html
|
||||
share/doc/pcre++/namespacestd.html
|
||||
share/doc/pcre++/pcre++_8cc-source.html
|
||||
share/doc/pcre++/pcre++_8cc.html
|
||||
share/doc/pcre++/pcre++_8h-source.html
|
||||
share/doc/pcre++/pcre++_8h.html
|
||||
share/doc/pcre++/replace_8cc-source.html
|
||||
share/doc/pcre++/replace_8cc.html
|
||||
share/doc/pcre++/search_8cc-source.html
|
||||
share/doc/pcre++/search_8cc.html
|
||||
share/doc/pcre++/split_8cc-source.html
|
||||
share/doc/pcre++/split_8cc.html
|
||||
%%SHARED%%
|
Loading…
Reference in New Issue
Block a user