aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xorg-apps/Makefile
blob: b491ca55fd62d8f31f4f818763d502f7b217add4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $FreeBSD$

PORTNAME=   xorg-apps
PORTVERSION=    7.7
PORTREVISION=   3
CATEGORIES= x11

MAINTAINER= x11@FreeBSD.org
COMMENT=    X.org apps meta-port

COMPONENTS= appres bitmap xf86dga:dga iceauth luit \
        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

USES=   metaport

.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}:${port}
. endif
.endfor

.include <bsd.port.mk>