freebsd-ports/x11-servers/xorg-server/Makefile
Eric Anholt 899dc07994 Install xorgcfg and xorgconfig.
PR:		ports/67656
Submitted by:	Alex Deiter <tiamat@komi.mts.ru>
2004-06-10 07:43:39 +00:00

125 lines
2.4 KiB
Makefile

# New ports collection makefile for: xorg-server
# Date created: 7 May 2004
# Whom: anholt@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= server
PORTVERSION= 6.7.0
PORTREVISION= 4
CATEGORIES= x11-servers
MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/
PKGNAMEPREFIX= xorg-
DISTFILES= X11R6.7.0-src1.tar.gz \
X11R6.7.0-src3.tar.gz
MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org X server and related programs
.if !defined(WITH_MODULAR)
WITH_XLIB= yes
.else
LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/xdmcp.pc:${PORTSDIR}/x11/libXdmcp \
${X11BASE}/libdata/pkgconfig/xau.pc:${PORTSDIR}/x11/libXau
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
GL.1:${PORTSDIR}/x11/libGL
BUILD_DEPENDS= ${X11BASE}/include/X11/extensions/XKMformat.h:${PORTSDIR}/x11/libxkbfile \
${LIB_PC_DEPENDS}
RUN_DEPENDS= ${LIB_PC_DEPENDS}
.endif
CONFLICTS= XFree86-Server-*
SCRIPTS_ENV= WITH_DEBUG="${WITH_DEBUG}"
MAN1= Xorg.1 \
getconfig.1 \
gtf.1 \
kbd_mode.1 \
pcitweak.1 \
xorgcfg.1 \
xorgconfig.1
MAN4= citron.4 \
dynapro.4 \
elographics.4 \
fbdevhw.4 \
kbd.4 \
keyboard.4 \
microtouch.4 \
mouse.4 \
mutouch.4 \
nv.4 \
r128.4 \
radeon.4 \
void.4 \
wacom.4
MAN5= xorg.conf.5
PKGMESSAGE= ${WRKDIR}/.pkg-message
XBUILD_DIRS= lib/font programs/Xserver
XINCLUDE_DIRS= lib/xtrans
XMAN_DIRS= programs/Xserver
NOT_FOR_ARCHS= ia64
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
.include <bsd.port.pre.mk>
.if ${ARCH} == i386 || ${ARCH} == alpha
RUN_DEPENDS+= ${X11BASE}/lib/modules/dri/r200_dri.so:${PORTSDIR}/graphics/dri
.endif
.if ${ARCH} == ia64
PLIST_SUB+= IA64_NA="@comment "
.else
PLIST_SUB+= IA64_NA=""
.endif
.if ${ARCH} == sparc64
PLIST_SUB+= SPARC64=""
PLIST_SUB+= SPARC64_NA="@comment "
MAN4+= sunffb.4
.else
PLIST_SUB+= SPARC64="@comment "
PLIST_SUB+= SPARC64_NA=""
MAN4+= glint.4 \
mga.4 \
rendition.4 \
s3virge.4 \
savage.4 \
siliconmotion.4 \
sis.4 \
tdfx.4 \
vga.4
.endif
.if ${ARCH} == i386
PLIST_SUB+= I386=""
MAN1+= scanpci.1
MAN4+= apm.4 \
chips.4 \
cirrus.4 \
cyrix.4 \
i128.4 \
i740.4 \
i810.4 \
neomagic.4 \
nsc.4 \
trident.4 \
tseng.4 \
vesa.4 \
vmware.4
.else
PLIST_SUB+= I386="@comment "
.endif
post-build:
@${RM} -f ${PKGMESSAGE}
@${CAT} ${.CURDIR}/pkg-message >> ${PKGMESSAGE}
post-install::
@${SED} -e s,/usr/X11R6,${PREFIX}, ${PKGMESSAGE}
@if [ -f ${PREFIX}/bin/Xwrapper-4 ] ; then \
${LN} -sf Xwrapper-4 ${PREFIX}/bin/X; \
fi;
.include <bsd.port.post.mk>