svn commit: r403336 - head/games/nettoe

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Dec 8 18:51:22 UTC 2015


Author: amdmi3
Date: Tue Dec  8 18:51:21 2015
New Revision: 403336
URL: https://svnweb.freebsd.org/changeset/ports/403336

Log:
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/games/nettoe/Makefile

Modified: head/games/nettoe/Makefile
==============================================================================
--- head/games/nettoe/Makefile	Tue Dec  8 18:36:25 2015	(r403335)
+++ head/games/nettoe/Makefile	Tue Dec  8 18:51:21 2015	(r403336)
@@ -20,14 +20,10 @@ PORTDOCS=	AUTHORS BUGS ChangeLog NEWS RE
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for I in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/$I ${STAGEDIR}${DOCSDIR}/
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list