Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jul 2003 15:14:26 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/53963: Update devel/pcre++: 0.6 -> 0.9.2
Message-ID:  <E19XKxm-0000l5-Uq@voodoo.oberon.net>
Resent-Message-ID: <200307011320.h61DK3QB038911@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         53963
>Category:       ports
>Synopsis:       Update devel/pcre++: 0.6 -> 0.9.2
>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:   Tue Jul 01 06:20:02 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.2

----------------------
It supersedes PR/53713
----------------------

* This version now uses its own namespace: pcrepp
* Pcre::replace() was completely rewritten 
* Several minor bugfixes and cleanups 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	Tue Jul  1 15:05:45 2003
@@ -7,11 +7,11 @@
 #
 
 PORTNAME=	pcre++
-PORTVERSION=	0.6
+PORTVERSION=	0.9.2
 CATEGORIES=	devel
 MASTER_SITES=	ftp://ftp.daemon.de/scip/Apps/pcre++/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	ponomarew@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.2
 
 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	Tue Jul  1 15:05:47 2003
@@ -1 +1 @@
-MD5 (pcre++-0.6.tar.gz) = c27a27fe1dc078950810a4dfe019612b
+MD5 (pcre++-0.9.2.tar.gz) = d7e1f0fba5e4a8fa2bdce42a9356eeba
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	Tue Jul  1 15:07:20 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	Tue Jul  1 15:10:00 2003
@@ -1,22 +1,42 @@
+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%%/classpcrepp_1_1Pcre-members.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/classpcrepp_1_1Pcre.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/classpcrepp_1_1Pcre_1_1exception-members.html
+%%PORTDOCS%%share/doc/libpcre++-%%VERSION%%/classpcrepp_1_1Pcre_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%%/namespacepcrepp.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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19XKxm-0000l5-Uq>