aboutsummaryrefslogtreecommitdiff
path: root/devel/pcre++
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-08-24 12:32:28 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-08-24 12:32:28 +0000
commit5df97cf4ba9543cb6560911d8095efbdc5d69247 (patch)
tree933d26097c84b7f980f4db2ac73deb6c10dc3b6a /devel/pcre++
parentf2b4b28bb2712dd709b74897220f0cf0d9865644 (diff)
downloadports-5df97cf4ba9543cb6560911d8095efbdc5d69247.tar.gz
ports-5df97cf4ba9543cb6560911d8095efbdc5d69247.zip
- Fix plist for NOPORTDOCS case
- Use DOCSDIR Reported by: QAT
Notes
Notes: svn path=/head/; revision=219076
Diffstat (limited to 'devel/pcre++')
-rw-r--r--devel/pcre++/Makefile2
-rw-r--r--devel/pcre++/pkg-plist74
2 files changed, 39 insertions, 37 deletions
diff --git a/devel/pcre++/Makefile b/devel/pcre++/Makefile
index 6f5e878e0d17..c303a14b1416 100644
--- a/devel/pcre++/Makefile
+++ b/devel/pcre++/Makefile
@@ -28,6 +28,8 @@ USE_LDCONFIG= yes
MAN3= Pcre.3
PLIST_SUB= VERSION=${PORTVERSION}
+DOCSDIR= ${PREFIX}/share/doc/lib${PORTNAME}-${PORTVERSION}
+
post-patch:
@${REINPLACE_CMD} -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in
diff --git a/devel/pcre++/pkg-plist b/devel/pcre++/pkg-plist
index 8312c08e9088..f9e64b861f70 100644
--- a/devel/pcre++/pkg-plist
+++ b/devel/pcre++/pkg-plist
@@ -4,40 +4,40 @@ lib/libpcre++.a
lib/libpcre++.la
lib/libpcre++.so
lib/libpcre++.so.0
-%%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%%
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/INSTALL
+%%DOCSDIR%%/README
+%%DOCSDIR%%/annotated.html
+%%DOCSDIR%%/classPcre-members.html
+%%DOCSDIR%%/classPcre.html
+%%DOCSDIR%%/classPcre_1_1exception-members.html
+%%DOCSDIR%%/classPcre_1_1exception.html
+%%DOCSDIR%%/classpcrepp_1_1Pcre-members.html
+%%DOCSDIR%%/classpcrepp_1_1Pcre.html
+%%DOCSDIR%%/classpcrepp_1_1Pcre_1_1exception-members.html
+%%DOCSDIR%%/classpcrepp_1_1Pcre_1_1exception.html
+%%DOCSDIR%%/config.log
+%%DOCSDIR%%/doxygen.css
+%%DOCSDIR%%/doxygen.png
+%%DOCSDIR%%/files.html
+%%DOCSDIR%%/functions.html
+%%DOCSDIR%%/get_8cc-source.html
+%%DOCSDIR%%/get_8cc.html
+%%DOCSDIR%%/globals.html
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/namespacepcrepp.html
+%%DOCSDIR%%/namespaces.html
+%%DOCSDIR%%/namespacestd.html
+%%DOCSDIR%%/pcre++_8cc-source.html
+%%DOCSDIR%%/pcre++_8cc.html
+%%DOCSDIR%%/pcre++_8h-source.html
+%%DOCSDIR%%/pcre++_8h.html
+%%DOCSDIR%%/replace_8cc-source.html
+%%DOCSDIR%%/replace_8cc.html
+%%DOCSDIR%%/search_8cc-source.html
+%%DOCSDIR%%/search_8cc.html
+%%DOCSDIR%%/split_8cc-source.html
+%%DOCSDIR%%/split_8cc.html
+@dirrm %%DOCSDIR%%