From 782541a78e1537c0549dd0f20ac872aa7cad045c Mon Sep 17 00:00:00 2001 From: gblach Date: Tue, 14 May 2013 20:15:10 +0000 Subject: - Convert to optionsNG Approved by: crees (mentor) --- x11-wm/e17-modules/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'x11-wm') 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 @@ -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 -- cgit