diff options
-rw-r--r-- | java/shujit/Makefile | 2 | ||||
-rw-r--r-- | java/shujit/pkg-plist | 6 |
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%% |