# $Id: Portfile 47048 2009-02-20 22:06:01Z jeremyhu@macports.org $ PortSystem 1.0 name xorg-libXt version 1.0.5 revision 1 categories x11 devel maintainers jeremyhu openmaintainer description X.org libXt homepage http://www.x.org platforms darwin macosx long_description X Toolkit Intrinsics, an abstract widget library upon \ which other toolkits are based. Xt is the basis for many toolkits, \ including the Athena widgets, Xaw, and LessTif, a Motif \ implementation. master_sites ${homepage}/pub/individual/lib/ distname libXt-${version} checksums md5 f3bdd67785ace8cd0b23249e9d8c9975 \ sha1 5f33921e373ce162a39eabef2ce05d946935eb5b \ rmd160 7e5ef9e03dc860bf5b64b85a897dd1d2ae1ed0bf use_bzip2 yes use_parallel_build yes depends_build port:pkgconfig \ port:libtool \ port:autoconf \ port:automake \ port:xorg-util-macros \ port:xorg-kbproto \ port:xorg-xproto depends_lib port:xorg-libsm \ port:xorg-libX11 patchfiles poll.patch use_autoreconf yes autoreconf.args -fvi livecheck.check regex livecheck.url [lindex ${master_sites} 0]?C=M&O=D livecheck.regex libXt-(\\d+(?:\\.\\d+)*) variant system_x11 description {Install a stub package to use the system X11 libraries rather than MacPorts} { if { [file exists ${x11prefix}/lib/libXt.dylib] && ! [string equal ${prefix} ${x11prefix}] } { depends_build depends_lib depends_run fetch { } checksum { } extract { } patch { } build { } destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt" } use_autoreconf no use_configure no } }