aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorgblach <gblach@FreeBSD.org>2013-05-15 04:15:10 +0800
committergblach <gblach@FreeBSD.org>2013-05-15 04:15:10 +0800
commit782541a78e1537c0549dd0f20ac872aa7cad045c (patch)
treeccb7c73050cc614cafe578d82fb633e5d0e8cbc1 /x11-wm
parentccbab8a790f3af9dabffb158e151f575706c053d (diff)
downloadfreebsd-ports-gnome-782541a78e1537c0549dd0f20ac872aa7cad045c.tar.gz
freebsd-ports-gnome-782541a78e1537c0549dd0f20ac872aa7cad045c.tar.zst
freebsd-ports-gnome-782541a78e1537c0549dd0f20ac872aa7cad045c.zip
- Convert to optionsNG
Approved by: crees (mentor)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/e17-modules/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/x11-wm/e17-modules/Makefile b/x11-wm/e17-modules/Makefile
index 0b753c371089..c6f27cc061de 100644
--- a/x11-wm/e17-modules/Makefile
+++ b/x11-wm/e17-modules/Makefile
@@ -28,12 +28,9 @@ EVERYTHING_SHOTGUN_PATH= evry-shotgun
EVERYTHING_WEBSEARCH_PATH= evry-websearch
.for M in ${MODULES}
-OPTIONS+= ${M:U:S,-,_,g} "Install ${M} module"
-. if !defined(${M:U:S,-,_,g}_OFF)
-OPTIONS+= on
-. else
-OPTIONS+= off
-. endif
+OPTIONS_DEFINE+= ${M:U:S,-,_,g}
+OPTIONS_DEFAULT+= ${M:U:S,-,_,g}
+${M:U:S,-,_,g}_DESC= Install ${M} module
.endfor
.include <bsd.port.options.mk>
@@ -42,7 +39,7 @@ OPTIONS+= off
. if !defined(${M:U:S,-,_,g}_PATH)
${M:U:S,-,_,g}_PATH= ${M}
. endif
-. if !defined(WITHOUT_${M:U:S,-,_,g})
+. if ${PORT_OPTIONS:M${M:U:S,-,_,g}}
RUN_DEPENDS+= ${LOCALBASE}/lib/enlightenment/modules/${${M:U:S,-,_,g}_PATH}/${E17_ARCH}/module.so:${PORTSDIR}/x11-wm/e17-module-${M}
. endif
.endfor