Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2017 23:17:47 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r441962 - head/mail/jwsmtp
Message-ID:  <201705282317.v4SNHlLV054575@repo.freebsd.org>

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



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