aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/white_dune/Makefile6
-rw-r--r--graphics/white_dune/pkg-plist2
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/white_dune/Makefile b/graphics/white_dune/Makefile
index 794234f03841..8410be8b7002 100644
--- a/graphics/white_dune/Makefile
+++ b/graphics/white_dune/Makefile
@@ -36,8 +36,6 @@ REINPLACE_ARGS= -i ''
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
# Try to fix parallel builds (-jX) by calling submakes correctly
post-patch:
@${FIND} ${WRKSRC} -name Makefile\* | ${XARGS} ${REINPLACE_CMD} -E \
@@ -48,8 +46,8 @@ do-install:
cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} dune4kids illegal2vrml \
${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC}/man && ${INSTALL_MAN} dune.1 illegal2vrml.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/graphics/white_dune/pkg-plist b/graphics/white_dune/pkg-plist
index cfea897c8e1b..a7bbf85a4ae5 100644
--- a/graphics/white_dune/pkg-plist
+++ b/graphics/white_dune/pkg-plist
@@ -607,3 +607,5 @@ man/man1/illegal2vrml.1.gz
%%PORTDOCS%%%%DOCSDIR%%/x3dDraft/LinePropertiesPROTO.wrl
%%PORTDOCS%%%%DOCSDIR%%/x3dDraft/LoadSensorPROTO.wrl
%%PORTDOCS%%%%DOCSDIR%%/x3dDraft/MultiTexturePROTO.wrl
+%%PORTDOCS%%@dir %%DOCSDIR%%/export_example_java/jme/classes
+%%PORTDOCS%%@dir %%DOCSDIR%%/export_example_java/classes