source: trunk/dports/x11/quartz-wm/Portfile

Last change on this file was 144302, checked in by jeremyhu@…, 19 months ago

quartz-wm: Fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 144302 2016-01-06 03:24:44Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            quartz-wm
6version         1.3.2
7categories      x11
8maintainers     jeremyhu openmaintainer
9description     Apple's Window Manager for X11
10homepage        http://www.xquartz.org
11platforms       macosx
12long_description quartz-wm is the XQuartz window-manager.
13master_sites    https://github.com/XQuartz/quartz-wm/releases/download/quartz-wm-${version}
14license         APSL-2
15
16checksums       sha1    9e43d795b9c996b9204cdb2d4b9e922f243e4028 \
17                rmd160  aff2fce05bc75497de665a5fa6b64b99e498a5c3 \
18                sha256  3a4ff60ef53e7a37af2c7af3431aa0256a161807cce2161863c0657a5de2d1f5
19
20use_xz          yes
21
22depends_build   port:pkgconfig  \
23                port:xorg-util-macros
24
25depends_lib     port:xorg-libXinerama \
26                port:xorg-libXrandr \
27                port:xorg-libAppleWM \
28                path:lib/pkgconfig/pixman-1.pc:libpixman
29
30# http://trac.macports.org/ticket/33515
31if {${os.arch} eq "powerpc"} {
32    # This is sub-optimal, but it will work for now
33    post-patch {
34        reinplace "/install_name_tool/d" ${worksrcpath}/lib/Makefile.in
35    }
36} elseif {${os.major} < 10} {
37    depends_build port:cctools
38    depends_skip_archcheck-append cctools
39}
40
41# http://trac.macports.org/ticket/36043
42compiler.blacklist-append gcc-4.0
43
44platform macosx {
45    if { ![file exists /usr/include/Xplugin.h] } {
46        # Xplugin.h is missing on Tiger
47        configure.cppflags-append -I${filespath}/include
48    }
49}
50
51configure.args  --with-bundle-id-prefix=org.macports
52
53livecheck.type  regex
54livecheck.url   https://github.com/XQuartz/quartz-wm/releases
55livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.