diff options
author | kwm <kwm@FreeBSD.org> | 2013-01-06 06:57:40 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2013-01-06 06:57:40 +0800 |
commit | 2aab19633c74330198375fb1ee0b2e973fb47a7e (patch) | |
tree | 4a30b690095b7c3b36754f571aeca80a710febd6 /x11/xorg-apps | |
parent | 6687967dc590683e657a9a60cc81252d0750c79c (diff) | |
download | freebsd-ports-gnome-2aab19633c74330198375fb1ee0b2e973fb47a7e.tar.gz freebsd-ports-gnome-2aab19633c74330198375fb1ee0b2e973fb47a7e.tar.zst freebsd-ports-gnome-2aab19633c74330198375fb1ee0b2e973fb47a7e.zip |
Convert x11@ owned ports to OptionsNG. Thanks go to bapt@ for review and help
rendered with deciphering the monster that is xorg-drivers.
With hat: x11@
Diffstat (limited to 'x11/xorg-apps')
-rw-r--r-- | x11/xorg-apps/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/x11/xorg-apps/Makefile b/x11/xorg-apps/Makefile index c9443e1a8aa7..8a65207e42e3 100644 --- a/x11/xorg-apps/Makefile +++ b/x11/xorg-apps/Makefile @@ -1,9 +1,4 @@ -# New ports collection makefile for: xorg-apps -# Date created: Jun 22 2006 -# Whom: Florent Thoumie <flz@FreeBSD.org> -# # $FreeBSD$ -# PORTNAME= xorg-apps PORTVERSION= 7.5.2 @@ -35,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 ! ${PORT_OPTIONS:M${comp:C/:.*//:C/.*\///:U}} . if ${comp:M:}=="" port=${comp} check=${comp:C/.*\///} # doesn't work @@ -56,4 +53,4 @@ RUN_DEPENDS:= ${RUN_DEPENDS} ${check}:${PORTSDIR}/${port} . endif .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> |