diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-05-29 07:17:47 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-05-29 07:17:47 +0800 |
commit | 9ddf851128d15859c95d867bc444535de06c22c3 (patch) | |
tree | 719719bd900546cac75485001facaa109f8bbd72 /mail | |
parent | 4c0d9b49d67ef7bc0faaef660e8439a0b36d04da (diff) | |
download | freebsd-ports-gnome-9ddf851128d15859c95d867bc444535de06c22c3.tar.gz freebsd-ports-gnome-9ddf851128d15859c95d867bc444535de06c22c3.tar.zst freebsd-ports-gnome-9ddf851128d15859c95d867bc444535de06c22c3.zip |
Fix options helper
- Fix OPTIONS_DEFAULT: remove DOCS which is added by framework
- Convert to options helper
Approved by: portmgr (blanket)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/jwsmtp/Makefile | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/mail/jwsmtp/Makefile b/mail/jwsmtp/Makefile index 405a68b99e16..470025e57dfd 100644 --- a/mail/jwsmtp/Makefile +++ b/mail/jwsmtp/Makefile @@ -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> |