Tweak x11/cinnamon-menus version 2.4.1
[dports.git] / x11 / xorg-apps / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       xorg-apps
4 PORTVERSION=    7.7
5 PORTREVISION=   2
6 CATEGORIES=     x11
7
8 MAINTAINER=     x11@FreeBSD.org
9 COMMENT=        X.org apps meta-port
10
11 COMPONENTS=     appres bitmap xf86dga:dga iceauth luit \
12                 x11-fonts/mkfontdir:mkfontdir \
13                 x11-fonts/mkfontscale:mkfontscale sessreg \
14                 setxkbmap smproxy x11perf xauth xbacklight xcalc \
15                 xcmsdb xconsole xcursorgen xdpyinfo xdriinfo xev xgamma xgc \
16                 xhost xinput xkbcomp xkbevd xkbutils:xkbvleds xkill \
17                 xlsatoms xlsclients xmodmap xpr xprop xrandr xrdb \
18                 xrefresh xset xsetmode xsetroot xvinfo xwd xwininfo \
19                 xwud xmessage
20
21 # These three are added for convenience purposes only.
22 COMPONENTS+=    x11-wm/twm:twm x11-clocks/xclock:xclock xinit xterm
23
24 USES=   metaport
25
26 .for comp in ${COMPONENTS}
27 OPTIONS_DEFINE+=        ${comp:C/:.*//:C/.*\///:tu}
28 OPTIONS_DEFAULT+=       ${comp:C/:.*//:C/.*\///:tu}
29 ${comp:C/:.*//:C/.*\///:tu}_DESC=       Install ${comp:C/:.*//:C/.*\///} application
30 .endfor
31
32 .include <bsd.port.options.mk>
33
34 .for comp in ${COMPONENTS}
35 . if ${PORT_OPTIONS:M${comp:C/:.*//:C/.*\///:tu}}
36 .  if ${comp:M*\:*}==""
37 port=${comp}
38 check=${comp:C/.*\///} # doesn't work
39 .  else
40 port=${comp:C/:.*//}
41 check=${comp:C/.*://}
42 .  endif
43 .  if ${port:M*/*}==""
44 port:=x11/${port}
45 .  endif
46 RUN_DEPENDS:=   ${RUN_DEPENDS} ${check}:${port}
47 . endif
48 .endfor
49
50 .include <bsd.port.mk>