Date: Tue, 24 Dec 2013 13:01:06 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r337350 - in branches/2014Q1/devel/pcre++: . files Message-ID: <201312241301.rBOD16kM091061@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Tue Dec 24 13:01:05 2013 New Revision: 337350 URL: http://svnweb.freebsd.org/changeset/ports/337350 Log: MFH: r337339 - Fix build with clang - Respect CXXFLAGS - Add LICENSE - Support staging, strip library PR: ports/184897 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Approved by: portmgr (implicit) Added: branches/2014Q1/devel/pcre++/files/patch-libpcre++__pcre++.h - copied unchanged from r337339, head/devel/pcre++/files/patch-libpcre++__pcre++.h Deleted: branches/2014Q1/devel/pcre++/files/patch-doc::Makefile.in branches/2014Q1/devel/pcre++/files/patch-ltmain.sh Modified: branches/2014Q1/devel/pcre++/Makefile (contents, props changed) branches/2014Q1/devel/pcre++/pkg-plist (contents, props changed) Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/devel/pcre++/Makefile ============================================================================== --- branches/2014Q1/devel/pcre++/Makefile Tue Dec 24 12:58:04 2013 (r337349) +++ branches/2014Q1/devel/pcre++/Makefile Tue Dec 24 13:01:05 2013 (r337350) @@ -3,31 +3,39 @@ PORTNAME= pcre++ PORTVERSION= 0.9.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= http://www.daemon.de/idisk/Apps/pcre++/ MAINTAINER= ports@FreeBSD.org -COMMENT= A wrapper class around the pcre library +COMMENT= Wrapper class around the pcre library -LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre +LICENSE= LGPL21 -PCRE_CONFIG?= ${LOCALBASE}/bin/pcre-config +LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre +USES= gmake USE_AUTOTOOLS= libtool -USE_GMAKE= yes -GNU_CONFIGURE= yes -CPPFLAGS+= `${PCRE_CONFIG} --cflags` -LDFLAGS+= `${PCRE_CONFIG} --libs` USE_LDCONFIG= yes -MAN3= Pcre.3 -PLIST_SUB= VERSION=${PORTVERSION} +CPPFLAGS+= $$(${PCRE_CONFIG} --cflags) +LDFLAGS+= $$(${PCRE_CONFIG} --libs) DOCSDIR= ${PREFIX}/share/doc/lib${PORTNAME}-${PORTVERSION} -NO_STAGE= yes +PCRE_CONFIG?= ${LOCALBASE}/bin/pcre-config + post-patch: - @${REINPLACE_CMD} -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + 's| ../COPYING|| ; \ + s| $$(prefix)/doc| $${DESTDIR}$$(prefix)/share/doc|' \ + ${WRKSRC}/doc/Makefile.in +.for i in examples/Makefile.in libpcre++/Makefile.in test/Makefile.in + @${REINPLACE_CMD} -e \ + 's|-O -g|@CXXFLAGS@|' ${WRKSRC}/${i} +.endfor + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpcre++.so.0 .include <bsd.port.mk> Copied: branches/2014Q1/devel/pcre++/files/patch-libpcre++__pcre++.h (from r337339, head/devel/pcre++/files/patch-libpcre++__pcre++.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/devel/pcre++/files/patch-libpcre++__pcre++.h Tue Dec 24 13:01:05 2013 (r337350, copy of r337339, head/devel/pcre++/files/patch-libpcre++__pcre++.h) @@ -0,0 +1,15 @@ +--- libpcre++/pcre++.h.orig ++++ libpcre++/pcre++.h +@@ -47,11 +47,11 @@ + #include <map> + #include <stdexcept> + #include <iostream> ++#include <clocale> + + + extern "C" { + #include <pcre.h> +- #include <locale.h> + } + + namespace pcrepp { Modified: branches/2014Q1/devel/pcre++/pkg-plist ============================================================================== --- branches/2014Q1/devel/pcre++/pkg-plist Tue Dec 24 12:58:04 2013 (r337349) +++ branches/2014Q1/devel/pcre++/pkg-plist Tue Dec 24 13:01:05 2013 (r337350) @@ -4,8 +4,8 @@ lib/libpcre++.a lib/libpcre++.la lib/libpcre++.so lib/libpcre++.so.0 +man/man3/Pcre.3.gz %%DOCSDIR%%/AUTHORS -%%DOCSDIR%%/COPYING %%DOCSDIR%%/ChangeLog %%DOCSDIR%%/INSTALL %%DOCSDIR%%/README
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312241301.rBOD16kM091061>