aboutsummaryrefslogblamecommitdiff
path: root/x11/xorg-apps/Makefile
blob: b0710c24e8c287aca2277c961202fce5e404e27e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
           

                         
                   







                                    

                           



                                                                  
                                                                             


                                                                     
                             
 
                                                      
                                                                   
 


                   

                                                               
 
                          


                                                                                    

       
                              

                          
                                                
                       












                                                           
                      
# $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

.MAKE.FreeBSD_UL=	yes

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/.*\///:U}
OPTIONS_DEFAULT+=	${comp:C/:.*//:C/.*\///:U}
${comp:C/:.*//:C/.*\///:U}_DESC=	Install ${comp:C/:.*//:C/.*\///} application
.endfor

.include <bsd.port.options.mk>

.for comp in ${COMPONENTS}
. if ${PORT_OPTIONS:M${comp:C/:.*//:C/.*\///:U}}
.  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>