source: trunk/dports/x11/xorg-libX11/Portfile

Last change on this file was 153595, checked in by jeremyhu@…, 10 months ago

xorg-libX11: Upgrade to 1.6.4

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 153595 2016-10-05 06:20:51Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name        xorg-libX11
6version     1.6.4
7categories  x11 devel
8license     X11
9maintainers jeremyhu openmaintainer
10description X.org libX11
11homepage    http://www.x.org
12platforms   darwin macosx
13long_description libX11 is the main library used by X Window System applications to communicate with the X server.
14master_sites     xorg:individual/lib/
15
16distname    libX11-${version}
17checksums           sha1    94f375f28e592a599594d3d6ce982516afdc212c \
18                    rmd160  660e6506b0666a24bab410ec0408880594fa2d10 \
19                    sha256  b7c748be3aa16ec2cbd81edc847e9b6ee03f88143ab270fb59f58a044d34e441
20
21use_bzip2   yes
22use_parallel_build      yes
23
24depends_build   port:pkgconfig \
25                port:xorg-xtrans \
26                port:xorg-bigreqsproto \
27                port:xorg-xcmiscproto \
28                port:xorg-xextproto \
29                port:xorg-xf86bigfontproto \
30                port:xorg-inputproto \
31                port:xorg-util-macros
32
33depends_lib     port:xorg-libXdmcp \
34                port:xorg-libXau \
35                port:xorg-libxcb \
36                port:xorg-xproto \
37                port:xorg-kbproto
38
39configure.env-append RAWCPP=${configure.cpp}
40
41configure.args \
42    --without-xmlto \
43    --without-fop \
44    --disable-specs
45
46build.args V=1
47
48# Depending on ghostscript for the PDF documentation creates a dependency
49# loop, so you may want to install first without the docs variant
50variant docs description "Install extra documentation" {
51    depends_build-append \
52        port:xmlto \
53        port:fop \
54        port:xorg-sgml-doctools
55
56    depends_skip_archcheck-append \
57        xmlto
58
59    configure.args-delete \
60        --without-xmlto \
61        --without-fop \
62        --disable-specs
63
64    configure.args-append \
65        --with-xmlto \
66        --with-fop \
67        --enable-specs
68
69    configure.env-append \
70        FOP="${prefix}/bin/fop" \
71        XMLTO="${prefix}/bin/xmlto"
72}
73
74livecheck.type  regex
75livecheck.url   http://xorg.freedesktop.org/archive/individual/lib/?C=M&O=D
76livecheck.regex libX11-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.