1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Convert to optionsNG

Approved by:	crees (mentor)
This commit is contained in:
Grzegorz Blach 2013-05-14 20:15:10 +00:00
parent 7e0713cf7f
commit 27cdbbe186
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318199

View File

@ -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