source: trunk/dports/x11/xorg-libXt/Portfile @ 47048

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

xort-libXt: Don't autoreconf for +system_x11

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 47048 2009-02-20 22:06:01Z jeremyhu@macports.org $
2
3PortSystem 1.0
4
5name            xorg-libXt
6version         1.0.5
7revision        1
8categories      x11 devel
9maintainers     jeremyhu openmaintainer
10description     X.org libXt
11homepage        http://www.x.org
12platforms       darwin macosx
13long_description X Toolkit Intrinsics, an abstract widget library upon \
14    which other toolkits are based. Xt is the basis for many toolkits, \
15    including the Athena widgets, Xaw, and LessTif, a Motif \
16    implementation.
17master_sites     ${homepage}/pub/individual/lib/
18
19distname    libXt-${version}
20checksums   md5 f3bdd67785ace8cd0b23249e9d8c9975 \
21            sha1 5f33921e373ce162a39eabef2ce05d946935eb5b \
22            rmd160 7e5ef9e03dc860bf5b64b85a897dd1d2ae1ed0bf
23
24use_bzip2   yes
25use_parallel_build      yes
26
27depends_build   port:pkgconfig \
28                port:libtool \
29                port:autoconf \
30                port:automake \
31                port:xorg-util-macros \
32                port:xorg-kbproto \
33                port:xorg-xproto
34depends_lib     port:xorg-libsm \
35                port:xorg-libX11
36
37patchfiles poll.patch
38use_autoreconf yes
39autoreconf.args -fvi
40
41livecheck.check regex
42livecheck.url   [lindex ${master_sites} 0]?C=M&O=D
43livecheck.regex libXt-(\\d+(?:\\.\\d+)*)
44
45variant system_x11 description {Install a stub package to use the system X11 libraries rather than MacPorts} {
46        if { [file exists ${x11prefix}/lib/libXt.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
47                depends_build
48                depends_lib
49                depends_run
50                fetch           { }
51                checksum        { }
52                extract         { }
53                patch           { }
54                build           { }
55                destroot        {
56                        xinstall -d ${destroot}${prefix}/share/doc/${name}
57                        system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt"
58                }
59                use_autoreconf no
60                use_configure no
61        }
62}
Note: See TracBrowser for help on using the repository browser.