aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/namazu2/Makefile3
-rw-r--r--databases/namazu2/pkg-plist24
2 files changed, 15 insertions, 12 deletions
diff --git a/databases/namazu2/Makefile b/databases/namazu2/Makefile
index 1d4e89b28c66..4e7a66a122aa 100644
--- a/databases/namazu2/Makefile
+++ b/databases/namazu2/Makefile
@@ -43,5 +43,8 @@ DEPEND_MSOFFICE= xlHtml:${PORTSDIR}/textproc/xlhtml \
post-install:
${LN} -sf ${PREFIX}/lib/libnmz.so.4 ${PREFIX}/lib/libnmz.so
+.if defined(NOPORTDOCS)
+ ${RM} -rf ${PREFIX}/share/namazu/doc
+.endif
.include <bsd.port.mk>
diff --git a/databases/namazu2/pkg-plist b/databases/namazu2/pkg-plist
index ad328159f6b3..4d4144282030 100644
--- a/databases/namazu2/pkg-plist
+++ b/databases/namazu2/pkg-plist
@@ -36,18 +36,18 @@ share/locale/es/LC_MESSAGES/namazu.mo
share/locale/fr/LC_MESSAGES/namazu.mo
share/locale/ja/LC_MESSAGES/namazu.mo
share/locale/ja_JP.SJIS/LC_MESSAGES/namazu.mo
-share/namazu/doc/en/manual.html
-share/namazu/doc/en/nmz.html
-share/namazu/doc/en/tips.html
-share/namazu/doc/en/tutorial.html
-@dirrm share/namazu/doc/en
-share/namazu/doc/ja/manual.html
-share/namazu/doc/ja/nmz.html
-share/namazu/doc/ja/tips.html
-share/namazu/doc/ja/tutorial.html
-@dirrm share/namazu/doc/ja
-share/namazu/doc/namazu.css
-@dirrm share/namazu/doc
+%%PORTDOCS%%share/namazu/doc/en/manual.html
+%%PORTDOCS%%share/namazu/doc/en/nmz.html
+%%PORTDOCS%%share/namazu/doc/en/tips.html
+%%PORTDOCS%%share/namazu/doc/en/tutorial.html
+%%PORTDOCS%%@dirrm share/namazu/doc/en
+%%PORTDOCS%%share/namazu/doc/ja/manual.html
+%%PORTDOCS%%share/namazu/doc/ja/nmz.html
+%%PORTDOCS%%share/namazu/doc/ja/tips.html
+%%PORTDOCS%%share/namazu/doc/ja/tutorial.html
+%%PORTDOCS%%@dirrm share/namazu/doc/ja
+%%PORTDOCS%%share/namazu/doc/namazu.css
+%%PORTDOCS%%@dirrm share/namazu/doc
share/namazu/etc/CREDITS
share/namazu/etc/ChangeLog.1
share/namazu/etc/INSTALL-ja