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

Last change on this file was 153079, checked in by jeremyhu@…, 14 months ago

xorg-xproto: Bump to 7.0.31

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 153079 2016-09-23 20:36:00Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            xorg-xproto
6version         7.0.31
7categories      x11 devel
8license         X11
9maintainers     jeremyhu openmaintainer
10description     X.org xproto
11homepage        http://www.x.org
12platforms       darwin
13supported_archs noarch
14long_description The X.org xproto package contains miscellaneous X11 prototype headers.
15master_sites    xorg:individual/proto/
16
17distname        xproto-${version}
18use_bzip2       yes
19
20checksums           rmd160  27350d33fd2bbc14201231d9fd30629f899b6005 \
21                    sha256  c6f9747da0bd3a95f86b17fb8dd5e717c8f3ab7f0ece3ba1b247899ec1ef7747
22
23post-destroot {
24    set docdir ${prefix}/share/doc/${name}-${version}
25    xinstall -d ${destroot}${docdir}
26    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog \
27        ${destroot}${docdir}
28}
29
30configure.args \
31        --without-xmlto \
32        --without-fop \
33        --disable-specs
34
35build.args V=1
36
37# Depending on ghostscript for the PDF documentation creates a dependency
38# loop, so you may want to install first without the docs variant
39variant docs description "Install extra documentation" {
40        depends_build-append \
41                port:fop \
42                port:xmlto \
43                port:xorg-sgml-doctools
44
45        configure.args-delete \
46                --without-xmlto \
47                --without-fop \
48                --disable-specs
49
50        configure.args-append \
51                --with-xmlto \
52                --with-fop \
53                --enable-specs
54
55        configure.env-append \
56                XMLTO="${prefix}/bin/xmlto" \
57                FOP="${prefix}/bin/fop"
58}
59
60livecheck.type  regex
61livecheck.url   http://xorg.freedesktop.org/archive/individual/proto/?C=M&O=D
62livecheck.regex xproto-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.