Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2015 18:22:33 +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: r395388 - head/dns/adns
Message-ID:  <201508261822.t7QIMXgm087657@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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