ports/53713: Update devel/pcre++: 0.6 -> 0.9.1

Kirill Ponomarew ponomarew at oberon.net
Wed Jun 25 10:10:16 UTC 2003


>Number:         53713
>Category:       ports
>Synopsis:       Update devel/pcre++: 0.6 -> 0.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 25 03:10:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirill Ponomarew
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net 
>Environment:
 
        
>Description:
Update devel/pcre++: 0.6 -> 0.9.1

* Pcre::replace() was completely rewritten 
* Several minor bugfixes were made
* A pcre++-config tool was included, which is useful 
  when compiling projects that using pcre++.
* Take maintainership

>How-To-Repeat:
>Fix:
diff -urN pcre++.orig/Makefile pcre++/Makefile
--- pcre++.orig/Makefile	Fri Feb 21 22:27:20 2003
+++ pcre++/Makefile	Wed Jun 25 12:01:54 2003
@@ -7,11 +7,11 @@
 #
 
 PORTNAME=	pcre++
-PORTVERSION=	0.6
+PORTVERSION=	0.9.1
 CATEGORIES=	devel
 MASTER_SITES=	ftp://ftp.daemon.de/scip/Apps/pcre++/
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	ponomarew at oberon.net
 COMMENT=	A wrapper class around the pcre library
 
 LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
@@ -26,16 +26,9 @@
 INSTALLS_SHLIB=	yes
 
 MAN3=	Pcre.3
+PLIST_SUB=	VERSION=0.9.1
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-I/usr/local/include||g ; \
-		 s|-L/usr/local/lib||g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in
-
-post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/html/*.* ${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>
diff -urN pcre++.orig/distinfo pcre++/distinfo
--- pcre++.orig/distinfo	Mon Aug 19 15:59:24 2002
+++ pcre++/distinfo	Wed Jun 25 11:12:26 2003
@@ -1 +1 @@
-MD5 (pcre++-0.6.tar.gz) = c27a27fe1dc078950810a4dfe019612b
+MD5 (pcre++-0.9.1.tar.gz) = 6b8c4e1314a40757e6034800bd2f10bb
diff -urN pcre++.orig/files/patch-doc::Makefile.in pcre++/files/patch-doc::Makefile.in
--- pcre++.orig/files/patch-doc::Makefile.in	Thu Jan  1 01:00:00 1970
+++ pcre++/files/patch-doc::Makefile.in	Wed Jun 25 11:56:25 2003
@@ -0,0 +1,13 @@
+--- doc/Makefile.in.orig	Wed Jun 25 11:56:02 2003
++++ doc/Makefile.in	Wed Jun 25 11:56:17 2003
+@@ -232,8 +232,8 @@
+ 
+ 
+ install-data-local:
+-	$(INSTALL) -m 755 -d $(prefix)/doc/libpcre++-$(VERSION)
+-	$(INSTALL) -m 644 $(DOC_FILES) $(prefix)/doc/libpcre++-$(VERSION)/
++	$(INSTALL) -m 755 -d $(prefix)/share/doc/libpcre++-$(VERSION)
++	$(INSTALL) -m 644 $(DOC_FILES) $(prefix)/share/doc/libpcre++-$(VERSION)/
+ 
+ # 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.
diff -urN pcre++.orig/files/patch-ltmain.sh pcre++/files/patch-ltmain.sh
--- pcre++.orig/files/patch-ltmain.sh	Thu Jan  1 01:00:00 1970
+++ pcre++/files/patch-ltmain.sh	Wed Jun 25 11:25:39 2003
@@ -0,0 +1,15 @@
+--- ltmain.sh.orig	Wed Jun 25 11:24:31 2003
++++ ltmain.sh	Wed Jun 25 11:25:27 2003
+@@ -4325,10 +4325,12 @@
+ 	fi
+ 
+ 	# Install the pseudo-library for information purposes.
++	if /usr/bin/false; then
+ 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ 	instname="$dir/$name"i
+ 	$show "$install_prog $instname $destdir/$name"
+ 	$run eval "$install_prog $instname $destdir/$name" || exit $?
++	fi
+ 
+ 	# Maybe install the static library, too.
+ 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -urN pcre++.orig/pkg-descr pcre++/pkg-descr
--- pcre++.orig/pkg-descr	Sat Jan 12 17:59:18 2002
+++ pcre++/pkg-descr	Wed Jun 25 11:59:45 2003
@@ -1,2 +1,4 @@
 pcre++ is a wrapper class around the pcre library (Perl Compatible Regular
 Expressions)
+
+WWW: http://www.daemon.de/pcre++/
diff -urN pcre++.orig/pkg-plist pcre++/pkg-plist
--- pcre++.orig/pkg-plist	Mon Aug 19 15:59:24 2002
+++ pcre++/pkg-plist	Wed Jun 25 11:51:02 2003
@@ -1,22 +1,37 @@
+bin/pcre++-config
 include/pcre++.h
 lib/libpcre++.a
 lib/libpcre++.so
 lib/libpcre++.so.0
-%%PORTDOCS%%share/doc/pcre++/annotated.html
-%%PORTDOCS%%share/doc/pcre++/classPcre-members.html
-%%PORTDOCS%%share/doc/pcre++/classPcre.html
-%%PORTDOCS%%share/doc/pcre++/classPcre_1_1exception-members.html
-%%PORTDOCS%%share/doc/pcre++/classPcre_1_1exception.html
-%%PORTDOCS%%share/doc/pcre++/doxygen.css
-%%PORTDOCS%%share/doc/pcre++/doxygen.gif
-%%PORTDOCS%%share/doc/pcre++/files.html
-%%PORTDOCS%%share/doc/pcre++/functions.html
-%%PORTDOCS%%share/doc/pcre++/globals.html
-%%PORTDOCS%%share/doc/pcre++/index.html
-%%PORTDOCS%%share/doc/pcre++/namespaces.html
-%%PORTDOCS%%share/doc/pcre++/namespacestd.html
-%%PORTDOCS%%share/doc/pcre++/pcre++_8cc-source.html
-%%PORTDOCS%%share/doc/pcre++/pcre++_8cc.html
-%%PORTDOCS%%share/doc/pcre++/pcre++_8h-source.html
-%%PORTDOCS%%share/doc/pcre++/pcre++_8h.html
-%%PORTDOCS%%@dirrm share/doc/pcre++
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/AUTHORS
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/COPYING
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/ChangeLog
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/INSTALL
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/README
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/annotated.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/classPcre-members.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/classPcre.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/classPcre_1_1exception-members.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/classPcre_1_1exception.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/config.log
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/doxygen.css
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/doxygen.png
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/files.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/functions.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/get_8cc-source.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/get_8cc.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/globals.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/index.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/namespaces.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/namespacestd.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/pcre++_8cc-source.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/pcre++_8cc.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/pcre++_8h-source.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/pcre++_8h.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/replace_8cc-source.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/replace_8cc.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/search_8cc-source.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/search_8cc.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/split_8cc-source.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/split_8cc.html
+%%PORTDOCS%%@dirrm share/doc/libpcre++-%%VERSION%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list