aboutsummaryrefslogtreecommitdiffstats
path: root/java/shujit
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2005-09-03 04:48:35 +0800
committerglewis <glewis@FreeBSD.org>2005-09-03 04:48:35 +0800
commit3b0f2e6c8c7f0275a2cec8414ef5ec80337c8c89 (patch)
treeec1cbcdca55dfe986ce99be04e06ecf37d6a6b0c /java/shujit
parentd767684adfc58de8845990e9b506f5ed6f4d7bf6 (diff)
downloadfreebsd-ports-gnome-3b0f2e6c8c7f0275a2cec8414ef5ec80337c8c89.tar.gz
freebsd-ports-gnome-3b0f2e6c8c7f0275a2cec8414ef5ec80337c8c89.tar.zst
freebsd-ports-gnome-3b0f2e6c8c7f0275a2cec8414ef5ec80337c8c89.zip
. Respect NOPORTDOCS.
Diffstat (limited to 'java/shujit')
-rw-r--r--java/shujit/Makefile2
-rw-r--r--java/shujit/pkg-plist6
2 files changed, 5 insertions, 3 deletions
diff --git a/java/shujit/Makefile b/java/shujit/Makefile
index 15468b541e8f..76fed4855d50 100644
--- a/java/shujit/Makefile
+++ b/java/shujit/Makefile
@@ -40,8 +40,10 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libshujit.so ${PREFIX}/lib
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
@${ENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
diff --git a/java/shujit/pkg-plist b/java/shujit/pkg-plist
index 1a23ae823d02..d6f41a2b899e 100644
--- a/java/shujit/pkg-plist
+++ b/java/shujit/pkg-plist
@@ -1,3 +1,3 @@
-lib/libshujit.so
-%%DOCSDIR%%/README
-@dirrm %%DOCSDIR%%
+lib/libshujit.so
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%