aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/Makefile
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2007-05-19 20:36:56 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2007-05-19 20:36:56 +0000
commitd4f0d0048a8755106a4b0445221a19761e746984 (patch)
treec87184c5bfeaf942c827c5f706186ce9786a2588 /x11-servers/xorg-server/Makefile
parente82affd309fc2d8e5ea19b2e003f1296920bd825 (diff)
downloadports-d4f0d0048a8755106a4b0445221a19761e746984.tar.gz
ports-d4f0d0048a8755106a4b0445221a19761e746984.zip
- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
Notes
Notes: svn path=/head/; revision=191544
Diffstat (limited to 'x11-servers/xorg-server/Makefile')
-rw-r--r--x11-servers/xorg-server/Makefile150
1 files changed, 39 insertions, 111 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile
index 4dab8f178c32..ed0461620aa5 100644
--- a/x11-servers/xorg-server/Makefile
+++ b/x11-servers/xorg-server/Makefile
@@ -6,96 +6,67 @@
#
PORTNAME= xorg-server
-PORTVERSION= 6.9.0
-PORTREVISION= 6
+PORTVERSION= 1.2.0
+PORTREVISION= 2
+PORTEPOCH= 1
CATEGORIES= x11-servers
-MASTER_SITES= ${MASTER_SITE_XORG}
-MASTER_SITE_SUBDIR= X11R${PORTVERSION}/src
-DISTFILES= X11R${PORTVERSION}-src1.tar.gz \
- X11R${PORTVERSION}-src3.tar.gz
-
-PATCHFILES= x11r6.9.0-dbe-render.diff
-PATCH_SITES= ${MASTER_SITE_XORG}
-PATCH_SITE_SUBDIR= X11R${PORTVERSION}/patches
-PATCH_DIST_ARGS= -d ${PATCH_WRKSRC}/programs/Xserver --quiet
+MASTER_SITES= http://xorg.freedesktop.org/releases/individual/xserver/:fdo \
+ ${MASTER_SITE_SOURCEFORGE:S/$/:mesa/}
+MASTER_SITE_SUBDIR=mesa3d/:mesa
+DISTFILES= xorg-server-${PORTVERSION}.tar.bz2:fdo \
+ MesaLib-6.5.2.tar.bz2:mesa
MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org X server and related programs
-.if !defined(WITH_MODULAR)
-USE_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
+LIB_DEPENDS= drm:${PORTSDIR}/graphics/libdrm
+RUN_DEPENDS= ${X11BASE}/share/X11/xkb/rules/base.xml:${PORTSDIR}/x11/xkeyboard-config
CONFLICTS= XFree86-Server-*
-SCRIPTS_ENV= WITH_DEBUG="${WITH_DEBUG}"
+XORG_CAT= xserver
+
+USE_XORG= xf86driproto glproto xdmcp x11 xkbfile xxf86misc xxf86vm xaw7 \
+ xmu xt xpm xext randrproto renderproto fixesproto damageproto \
+ xcmiscproto xextproto xproto xtrans xf86miscproto \
+ xf86vidmodeproto xf86bigfontproto scrnsaverproto bigreqsproto \
+ resourceproto fontsproto inputproto xf86dgaproto \
+ videoproto compositeproto trapproto recordproto xineramaproto \
+ evieproto xfont fontenc xkbui
+
+USE_PERL5_BUILD=yes
+CONFIGURE_ARGS= --with-mesa-source=${WRKDIR}/Mesa-6.5.2 \
+ --disable-dmx --disable-xvfb --disable-xnest --disable-xprint \
+ --localstatedir=/var
+
+.if !defined(WITHOUT_AIGLX)
+CONFIGURE_ARGS+= --enable-aiglx=yes
+.endif
+
+.if !defined(NO_SUID_XSERVER) || ${NO_SUID_XSERVER} == NO
+CONFIGURE_ARGS+=--enable-install-setuid
+.endif
+
MAN1= Xorg.1 \
- getconfig.1 \
+ Xserver.1 \
+ cvt.1 \
gtf.1 \
- kbd_mode.1 \
pcitweak.1 \
xorgcfg.1 \
xorgconfig.1
-MAN4= citron.4x \
- dmc.4x \
- dynapro.4x \
- elographics.4x \
- fbdevhw.4x \
- fpit.4x \
- glint.4x \
- js_x.4x \
- kbd.4x \
- keyboard.4x \
- mga.4x \
- microtouch.4x \
- mouse.4x \
- mutouch.4x \
- palmax.4x \
- penmount.4x \
- r128.4x \
- radeon.4x \
- tdfx.4x \
- tek4957.4x \
- vga.4x \
- void.4x \
- wacom.4x
-MAN5= getconfig.5 \
- xorg.conf.5
-
-XBUILD_DIRS= lib/font programs/Xserver
-XINCLUDE_DIRS= lib/xtrans
-XMAN_DIRS= programs/Xserver
+MAN4= exa.4 \
+ fbdevhw.4
+MAN5= xorg.conf.5
NOT_FOR_ARCHS= ia64
-.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
.include <bsd.port.pre.mk>
-.if ${X_WINDOW_SYSTEM:L} != xorg
-IGNORE= is part of X.Org and you have ${X_WINDOW_SYSTEM} set for X11\
- distribution. See The X Window System and Virtual Consoles chapter\
- of FAQ for more information
-.endif
-
.if ${ARCH} == alpha
PLIST_SUB+= ALPHA_NA="@comment "
.else
PLIST_SUB+= ALPHA_NA=""
.endif
-.if ${ARCH} == ia64
-PLIST_SUB+= IA64_NA="@comment "
-.else
-PLIST_SUB+= IA64_NA=""
-.endif
-
.if ${ARCH} == powerpc
PLIST_SUB+= PPC_NA="@comment "
MAN4+= nv.4x
@@ -106,53 +77,14 @@ PLIST_SUB+= PPC_NA=""
.if ${ARCH} == sparc64
PLIST_SUB+= SPARC64=""
PLIST_SUB+= SPARC64_NA="@comment "
-MAN4+= sunbw2.4x \
- suncg14.4x \
- suncg3.4x \
- suncg6.4x \
- sunffb.4x \
- sunleo.4x \
- suntcx.4x
.else
PLIST_SUB+= SPARC64="@comment "
PLIST_SUB+= SPARC64_NA=""
.endif
-.if ${ARCH} != powerpc && ${ARCH} != sparc64
-MAN4+= cirrus.4x \
- nv.4x \
- rendition.4x \
- s3virge.4x \
- savage.4x \
- siliconmotion.4x
-.endif
-
-.if ${ARCH} != powerpc && ${ARCH} != alpha
-MAN4+= vesa.4x
-.endif
-
-.if ${ARCH} == i386
-PLIST_SUB+= I386=""
-MAN1+= scanpci.1
-MAN4+= i740.4x \
- nsc.4x \
- via.4x
-.else
-PLIST_SUB+= I386="@comment "
-.endif
-
.if ${ARCH} == amd64 || ${ARCH} == i386
PLIST_SUB+= AMD64_I386=""
-MAN4+= apm.4x \
- chips.4x \
- cyrix.4x \
- i128.4x \
- i810.4x \
- neomagic.4x \
- sis.4x \
- trident.4x \
- tseng.4x \
- vmware.4x
+MAN1+= scanpci.1
.else
PLIST_SUB+= AMD64_I386="@comment "
.endif
@@ -165,10 +97,6 @@ pre-everything::
@${ECHO_MSG} "of this, but still want to run an X Server (for example using xdm/kdm/gdm,"
@${ECHO_MSG} "which will still run the server as root), you can cancel the build and set"
@${ECHO_MSG} "NO_SUID_XSERVER=YES in /etc/make.conf."
-
-SCRIPTS_ENV+= SUID_XSERVER=YES
-.else
-SCRIPTS_ENV+= SUID_XSERVER=NO
.endif
.include <bsd.port.post.mk>