summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-01-02 05:31:24 +0800
committerkwm <kwm@058c260c-8361-11dd-a0ac-aa2bafec7d09>2013-01-02 05:31:24 +0800
commit9443e4655e0e2f32544845d8ad2d49b3f1846658 (patch)
tree46d45a83167357959d8c2a0ef83d8ae2a9368964
parentd32485ca9dca39d46793375a6b1d88bcf37eb796 (diff)
downloadxorg-devel-ports-9443e4655e0e2f32544845d8ad2d49b3f1846658.tar.gz
xorg-devel-ports-9443e4655e0e2f32544845d8ad2d49b3f1846658.tar.zst
xorg-devel-ports-9443e4655e0e2f32544845d8ad2d49b3f1846658.zip
Convert to OptionsNG
git-svn-id: https://trillian.chruetertee.ch/svn/ports/trunk@601 058c260c-8361-11dd-a0ac-aa2bafec7d09
-rw-r--r--x11/xorg-apps/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/xorg-apps/Makefile b/x11/xorg-apps/Makefile
index 74a015c..6e8c17b 100644
--- a/x11/xorg-apps/Makefile
+++ b/x11/xorg-apps/Makefile
@@ -30,13 +30,15 @@ do-install:
${TOUCH} ${PREFIX}/libdata/xorg/apps
.for comp in ${COMPONENTS}
-OPTIONS+= ${comp:C/:.*//:C/.*\///:U} "Install ${comp:C/:.*//:C/.*\///} application" on
+OPTIONS_DEFINE+= ${comp:C/:.*//:C/.*\///:U}
+OPTIONS_DEFAULT+= ${comp:C/:.*//:C/.*\///:U}
+${comp:C/:.*//:C/.*\///:U}_DESC= Install ${comp:C/:.*//:C/.*\///} application
.endfor
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.for comp in ${COMPONENTS}
-. if !defined(WITHOUT_${comp:C/:.*//:C/.*\///:U})
+. if !defined(${OPTIONS_UNSET:M${comp:C/:.*//:C/.*\///:U}})
. if ${comp:M:}==""
port=${comp}
check=${comp:C/.*\///} # doesn't work
@@ -51,4 +53,4 @@ RUN_DEPENDS:= ${RUN_DEPENDS} ${check}:${PORTSDIR}/${port}
. endif
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>