aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2008-08-24 20:32:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2008-08-24 20:32:28 +0800
commit26aa728b29464b2e914103f66c765ee7a8463266 (patch)
tree48ca732d38a1dca24eb8e03f42fbab7d908791d8
parent42dbd57ab1602fffe6f11b652547b50124969c58 (diff)
downloadfreebsd-ports-gnome-26aa728b29464b2e914103f66c765ee7a8463266.tar.gz
freebsd-ports-gnome-26aa728b29464b2e914103f66c765ee7a8463266.tar.zst
freebsd-ports-gnome-26aa728b29464b2e914103f66c765ee7a8463266.zip
- Fix plist for NOPORTDOCS case
- Use DOCSDIR Reported by: QAT
-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%%