svn commit: r395388 - head/dns/adns

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Aug 26 18:22:34 UTC 2015


Author: amdmi3
Date: Wed Aug 26 18:22:33 2015
New Revision: 395388
URL: https://svnweb.freebsd.org/changeset/ports/395388

Log:
  - Switch to options helpers
  - DOCS is not needed in OPTIONS_DEFAULT
  
  Approved by:	portmgr blanket

Modified:
  head/dns/adns/Makefile

Modified: head/dns/adns/Makefile
==============================================================================
--- head/dns/adns/Makefile	Wed Aug 26 18:21:46 2015	(r395387)
+++ head/dns/adns/Makefile	Wed Aug 26 18:22:33 2015	(r395388)
@@ -34,15 +34,10 @@ TOSTRIP=	bin/adnsheloex \
 		lib/libadns.so.1
 
 OPTIONS_DEFINE=		DOCS
-OPTIONS_DEFAULT=	DOCS
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-post-install:
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR})
-.endif
 
 post-stage:
 .for f in ${TOSTRIP}


More information about the svn-ports-all mailing list