aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-02-10 13:19:57 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-02-10 13:19:57 +0000
commit808a2eada9667a8ab7349215315a3c2b44d86532 (patch)
tree4817cd96fbc270459948e988b0d743ef40f9410d /databases
parent4119abd529ccd96fa8aeff4dab2fe4ccec4c4a53 (diff)
downloadports-808a2eada9667a8ab7349215315a3c2b44d86532.tar.gz
ports-808a2eada9667a8ab7349215315a3c2b44d86532.zip
Add %%PORTDOCS%%.
Notes
Notes: svn path=/head/; revision=38175
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