source: trunk/dports/x11/xorg-server-devel/Portfile @ 67759

Last change on this file since 67759 was 67759, checked in by jeremyhu@…, 7 years ago

xorg-server-devel: Fix build issues on Tiger (#24906) and some pointer issues

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 67759 2010-05-17 16:16:15Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name            xorg-server-devel
6set my_name     xorg-server
7version         1.8.1
8revision        1
9categories      x11 devel
10maintainers     jeremyhu openmaintainer
11description     The X.org / Xquartz X server.
12homepage        http://www.x.org
13platforms       darwin macosx
14long_description The X.org X server allows you to run X11 applications on your computer.
15
16#master_sites   http://xquartz.macosforge.org/downloads/src
17master_sites    http://xorg.freedesktop.org/archive/individual/xserver/
18
19dist_subdir     ${my_name}
20distname        ${my_name}-${version}
21
22checksums           md5     7c3b873692f4e93938261d774510e78d \
23                    sha1    cba0d3b3d28696609a1f9b110d4d129cd066e133 \
24                    rmd160  27bd6d1e565e241412f1fb8e18b5b9b194b94356
25
26use_bzip2       yes
27use_parallel_build yes
28
29# Yes, mesa is a *BUILD* dependency
30depends_build \
31        port:pkgconfig \
32        port:mesa \
33        port:xorg-applewmproto \
34        port:xorg-damageproto \
35        port:xorg-fixesproto \
36        port:xorg-fontsproto \
37        port:xorg-glproto \
38        port:xorg-inputproto \
39        port:xorg-randrproto \
40        port:xorg-recordproto \
41        port:xorg-renderproto \
42        port:xorg-resourceproto \
43        port:xorg-scrnsaverproto \
44        port:xorg-videoproto \
45        port:xorg-xcmiscproto \
46        port:xorg-xproto \
47        port:xorg-xextproto \
48        port:xorg-xineramaproto \
49        port:xorg-xtrans \
50        port:autoconf \
51        port:automake \
52        port:libtool \
53        port:xorg-util-macros \
54        port:doxygen
55
56# This xinit dependency needs to be port: not bin: because we specifically run ${prefix}/bin/startx from bundle-main.c
57depends_run \
58        port:xinit \
59        port:xorg-fonts \
60        port:xkeyboard-config
61
62depends_lib \
63        path:lib/pkgconfig/pixman-1.pc:libpixman \
64        port:xorg-libxkbfile \
65        port:xorg-libXfont \
66        port:xorg-libXt \
67        port:xorg-libAppleWM \
68        port:xorg-libXfixes
69
70configure.args --with-apple-applications-dir=${applications_dir} \
71        --with-launchd-id-prefix=org.macports \
72        --without-dtrace \
73        --with-sha1=CommonCrypto
74
75# GL/internal/dri_interface.h is missing in prefix (provided by libdrm for the xorg DDX... not helpful for us)
76configure.cppflags-append -I/usr/include -I${filespath}/dri
77
78patchfiles \
79        0001-XQuartz-Don-t-trust-deltaXY-for-middle-mouse-clicks.patch \
80        0002-XQuartz-Don-t-use-deltaXY-for-determining-pointer-lo.patch \
81        0003-XQuartz-Fix-a-build-failure-on-Tiger.patch \
82        0004-Workaround-the-GC-clipping-problem-in-miPaintWindow-.patch \
83        0005-fb-Revert-fb-changes-that-broke-XQuartz.patch
84
85patch.args -p1
86
87build.args V=1
88
89post-destroot {
90        ln -s Xquartz ${destroot}${prefix}/bin/X
91}
92
93platform macosx {
94        if { ![file exists /usr/include/Xplugin.h] } {
95                # Xplugin.h is missing on Tiger
96                configure.cppflags-append -I${filespath}/include
97        }
98}
Note: See TracBrowser for help on using the repository browser.