# $Id$ PortSystem 1.0 name xorg-server version 1.7.1.901 categories x11 devel maintainers jeremyhu openmaintainer description The X.org / Xquartz X server. homepage http://www.x.org platforms darwin macosx long_description The X.org X server allows you to run X11 applications on your computer. #master_sites http://xquartz.macosforge.org/downloads/src master_sites http://xorg.freedesktop.org/archive/individual/xserver/ checksums md5 f6b874d3bd9350ef2f3c4a11c0096d2e \ sha1 c35536ce01d100e8f86d147776abe92427f9ad22 \ rmd160 fa712801241458634e0cbf4938121cee4027ce3b use_bzip2 yes use_parallel_build yes # Yes, mesa is a *BUILD* dependency depends_build \ port:pkgconfig \ port:mesa \ port:xorg-applewmproto \ port:xorg-damageproto \ port:xorg-fixesproto \ port:xorg-fontsproto \ port:xorg-glproto \ port:xorg-inputproto \ port:xorg-randrproto \ port:xorg-recordproto \ port:xorg-renderproto \ port:xorg-resourceproto \ port:xorg-scrnsaverproto \ port:xorg-videoproto \ port:xorg-xcmiscproto \ port:xorg-xproto \ port:xorg-xextproto \ port:xorg-xineramaproto \ port:xorg-xtrans \ port:autoconf \ port:automake \ port:libtool \ port:xorg-util-macros # This xinit dependency needs to be port: not bin: because we specifically run ${prefix}/bin/startx from bundle-main.c depends_run \ port:xinit \ port:xorg-fonts \ port:xkeyboard-config depends_lib \ path:lib/pkgconfig/pixman-1.pc:libpixman \ port:xorg-libxkbfile \ port:xorg-libXfont \ port:xorg-libXt \ port:xorg-libAppleWM \ port:xorg-libXfixes configure.args --with-apple-applications-dir=${applications_dir} --with-fontdir=${prefix}/share/fonts --with-launchd-id-prefix=org.macports --without-dtrace # GL/internal/dri_interface.h is missing in prefix (provided by libdrm for the xorg DDX... not helpful for us) configure.cppflags-append -I/usr/include -I${filespath}/dri patchfiles afc7663f0dc4e268ba12c8065238b34add8bdcdf.patch \ f4377afcf002be89632cbb0700f4d8e4ad7db45c.patch patch.args -p1 post-destroot { ln -s Xquartz ${destroot}${prefix}/bin/X } platform macosx { if { ![file exists /usr/include/Xplugin.h] } { # Xplugin.h is missing on Tiger configure.cppflags-append -I${filespath}/include } }