aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sa-utils/Makefile
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2017-10-16 14:18:55 +0800
committermatthew <matthew@FreeBSD.org>2017-10-16 14:18:55 +0800
commitc636aaa415c36298c6b150805259958f0fecfa7a (patch)
tree691005d6cfb32c98ca4c6546a9c1fd8c65151d58 /mail/sa-utils/Makefile
parentc4df40e324d5c9d58c0050237623c70d6328154e (diff)
downloadfreebsd-ports-gnome-c636aaa415c36298c6b150805259958f0fecfa7a.tar.gz
freebsd-ports-gnome-c636aaa415c36298c6b150805259958f0fecfa7a.tar.zst
freebsd-ports-gnome-c636aaa415c36298c6b150805259958f0fecfa7a.zip
Switch to options helpers
Diffstat (limited to 'mail/sa-utils/Makefile')
-rw-r--r--mail/sa-utils/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/mail/sa-utils/Makefile b/mail/sa-utils/Makefile
index 452e1abfd1b4..12f7a4e3409f 100644
--- a/mail/sa-utils/Makefile
+++ b/mail/sa-utils/Makefile
@@ -23,14 +23,9 @@ PERIODIC_DAILY= etc/periodic/daily
PLIST_FILES= ${PERIODIC_DAILY}/sa-utils
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSACOMPILE}
-RUN_DEPENDS+= re2c>=0.12.0:devel/re2c
-SUB_LIST+= SACOMPILE=YES
-.else
-SUB_LIST+= SACOMPILE=NO
-.endif
+OPTIONS_SUB= yes
+
+SACOMPILE_RUN_DEPENDS= re2c>=0.12.0:devel/re2c
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DAILY}/