1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/x11/xorg-apps/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

57 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= xorg-apps
PORTVERSION= 7.7
CATEGORIES= x11
MASTER_SITES= # none
DISTFILES= # none
EXTRACT_ONLY= # none
MAINTAINER= x11@FreeBSD.org
COMMENT= X.org apps meta-port
COMPONENTS= appres bitmap xf86dga:dga iceauth luit \
x11-fonts/mkfontdir:mkfontdir \
x11-fonts/mkfontscale:mkfontscale sessreg \
setxkbmap smproxy x11perf xauth xbacklight xcalc \
xcmsdb xconsole xcursorgen xdpyinfo xdriinfo xev xgamma xgc \
xhost xinput xkbcomp xkbevd xkbutils:xkbvleds xkill \
xlsatoms xlsclients xmodmap xpr xprop xrandr xrdb \
xrefresh xset xsetmode xsetroot xvinfo xwd xwininfo \
xwud xmessage
# These three are added for convenience purposes only.
COMPONENTS+= x11-wm/twm:twm x11-clocks/xclock:xclock xinit xterm
NO_BUILD= yes
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libdata/xorg
${TOUCH} ${STAGEDIR}${PREFIX}/libdata/xorg/apps
.for comp in ${COMPONENTS}
OPTIONS_DEFINE+= ${comp:C/:.*//:C/.*\///:tu}
OPTIONS_DEFAULT+= ${comp:C/:.*//:C/.*\///:tu}
${comp:C/:.*//:C/.*\///:tu}_DESC= Install ${comp:C/:.*//:C/.*\///} application
.endfor
.include <bsd.port.options.mk>
.for comp in ${COMPONENTS}
. if ${PORT_OPTIONS:M${comp:C/:.*//:C/.*\///:tu}}
. if ${comp:M*\:*}==""
port=${comp}
check=${comp:C/.*\///} # doesn't work
. else
port=${comp:C/:.*//}
check=${comp:C/.*://}
. endif
. if ${port:M*/*}==""
port:=x11/${port}
. endif
RUN_DEPENDS:= ${RUN_DEPENDS} ${check}:${PORTSDIR}/${port}
. endif
.endfor
.include <bsd.port.mk>