svn commit: r441962 - head/mail/jwsmtp

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun May 28 23:17:49 UTC 2017


Author: sunpoet
Date: Sun May 28 23:17:47 2017
New Revision: 441962
URL: https://svnweb.freebsd.org/changeset/ports/441962

Log:
  Fix options helper
  
  - Fix OPTIONS_DEFAULT: remove DOCS which is added by framework
  - Convert to options helper
  
  Approved by:	portmgr (blanket)

Modified:
  head/mail/jwsmtp/Makefile

Modified: head/mail/jwsmtp/Makefile
==============================================================================
--- head/mail/jwsmtp/Makefile	Sun May 28 23:17:42 2017	(r441961)
+++ head/mail/jwsmtp/Makefile	Sun May 28 23:17:47 2017	(r441962)
@@ -14,7 +14,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 NO_OPTIONS_SORT=	yes
 OPTIONS_DEFINE=		DOCS MANPAGES
-OPTIONS_DEFAULT=	DOCS MANPAGES
+OPTIONS_DEFAULT=	MANPAGES
+OPTIONS_SUB=		yes
 
 DOCS_DESC=	Install documentation
 MANPAGES_DESC=	Install manpages
@@ -24,18 +25,4 @@ USE_LDCONFIG=	yes
 USES=		libtool pathfix
 INSTALL_TARGET=	install-strip
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PLIST_SUB+=	PORTDOCS=""
-.else
-PLIST_SUB+=	PORTDOCS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MMANPAGES}
-PLIST_SUB+=	MANPAGES=""
-.else
-PLIST_SUB+=	MANPAGES="@comment "
-.endif
-
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list