Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2015 19:19:20 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395392 - head/graphics/white_dune
Message-ID:  <201508261919.t7QJJKE7009136@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Aug 26 19:19:19 2015
New Revision: 395392
URL: https://svnweb.freebsd.org/changeset/ports/395392

Log:
  - Switch to options helpers
  - Add empty directories to plist
  
  Approved by:	portmgr blanket

Modified:
  head/graphics/white_dune/Makefile
  head/graphics/white_dune/pkg-plist

Modified: head/graphics/white_dune/Makefile
==============================================================================
--- head/graphics/white_dune/Makefile	Wed Aug 26 19:05:46 2015	(r395391)
+++ head/graphics/white_dune/Makefile	Wed Aug 26 19:19:19 2015	(r395392)
@@ -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>

Modified: head/graphics/white_dune/pkg-plist
==============================================================================
--- head/graphics/white_dune/pkg-plist	Wed Aug 26 19:05:46 2015	(r395391)
+++ head/graphics/white_dune/pkg-plist	Wed Aug 26 19:19:19 2015	(r395392)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508261919.t7QJJKE7009136>