Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 12:38:29 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/35788: Update port: devel/pcre++ to 0.4
Message-ID:  <200203112038.g2BKcTw97477@freefall.freebsd.org>

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

>Number:         35788
>Category:       ports
>Synopsis:       Update port: devel/pcre++ to 0.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 11 12:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.4

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/pcre++/Makefile devel/pcre++/Makefile
--- /usr/ports/devel/pcre++/Makefile	Sun Jan 13 01:59:18 2002
+++ devel/pcre++/Makefile	Tue Mar  5 05:42:09 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	pcre++
-PORTVERSION=	0.2
+PORTVERSION=	0.4
 CATEGORIES=	devel
 MASTER_SITES=	ftp://ftp.daemon.de/scip/Apps/pcre++/
 
@@ -15,17 +15,25 @@
 
 LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
 
-USE_LIBTOOL=	yes
-GNU_CONFIGURE=	yes
+PCRE_CONFIG?=	${LOCALBASE}/bin/pcre-config
+
 USE_GMAKE=	yes
+USE_LIBTOOL=	yes
+CONFIGURE_ENV=	CPPFLAGS="`${PCRE_CONFIG} --cflags`" \
+		LDFLAGS="`${PCRE_CONFIG} --libs`"
 INSTALLS_SHLIB=	yes
 
 MAN3=	Pcre.3
 
-.if !defined(NOPORTDOCS)
+post-patch:
+	@${PERL} -pi -e 's|-I/usr/local/include||g ; \
+		 s|-L/usr/local/lib||g' ${WRKSRC}/configure
+	@${PERL} -pi -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in
+
 post-install:
+.if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${CP} -R ${WRKSRC}/doc/html/ ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/html/*.* ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/pcre++/distinfo devel/pcre++/distinfo
--- /usr/ports/devel/pcre++/distinfo	Sun Jan 13 01:59:18 2002
+++ devel/pcre++/distinfo	Tue Mar  5 05:14:13 2002
@@ -1 +1 @@
-MD5 (pcre++-0.2.tar.gz) = 5bbba26f945582a82d5dc2f3df6b0566
+MD5 (pcre++-0.4.tar.gz) = 0250d0c1de66c3bf118b71ea41006d71
diff -urN /usr/ports/devel/pcre++/pkg-plist devel/pcre++/pkg-plist
--- /usr/ports/devel/pcre++/pkg-plist	Sun Jan 13 01:59:18 2002
+++ devel/pcre++/pkg-plist	Tue Mar  5 06:01:23 2002
@@ -7,37 +7,14 @@
 %%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++/class_Exception-members.html
-%%PORTDOCS%%share/doc/pcre++/class_Exception.gif
-%%PORTDOCS%%share/doc/pcre++/class_Exception.html
-%%PORTDOCS%%share/doc/pcre++/class_Pcre-members.html
-%%PORTDOCS%%share/doc/pcre++/class_Pcre.html
-%%PORTDOCS%%share/doc/pcre++/class_PcreException-members.html
-%%PORTDOCS%%share/doc/pcre++/class_PcreException.gif
-%%PORTDOCS%%share/doc/pcre++/class_PcreException.html
-%%PORTDOCS%%share/doc/pcre++/class_exception.gif
-%%PORTDOCS%%share/doc/pcre++/class_exception.html
 %%PORTDOCS%%share/doc/pcre++/doxygen.css
 %%PORTDOCS%%share/doc/pcre++/doxygen.gif
-%%PORTDOCS%%share/doc/pcre++/examples.html
-%%PORTDOCS%%share/doc/pcre++/exception_cc-source.html
-%%PORTDOCS%%share/doc/pcre++/exception_cc.html
-%%PORTDOCS%%share/doc/pcre++/exception_h-source.html
-%%PORTDOCS%%share/doc/pcre++/exception_h.html
 %%PORTDOCS%%share/doc/pcre++/files.html
 %%PORTDOCS%%share/doc/pcre++/functions.html
 %%PORTDOCS%%share/doc/pcre++/globals.html
-%%PORTDOCS%%share/doc/pcre++/hierarchy.html
 %%PORTDOCS%%share/doc/pcre++/index.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%%share/doc/pcre++/pcre++_cc-source.html
-%%PORTDOCS%%share/doc/pcre++/pcre++_cc.html
-%%PORTDOCS%%share/doc/pcre++/pcre++_h-source.html
-%%PORTDOCS%%share/doc/pcre++/pcre++_h.html
-%%PORTDOCS%%share/doc/pcre++/pcre.html
-%%PORTDOCS%%share/doc/pcre++/perlre.html
-%%PORTDOCS%%share/doc/pcre++/sample_cc-example.html
 %%PORTDOCS%%@dirrm share/doc/pcre++

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203112038.g2BKcTw97477>