[43746] trunk/dports/x11/lesstif/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Dec 13 23:21:50 PST 2008
Revision: 43746
http://trac.macports.org/changeset/43746
Author: jeremyhu at macports.org
Date: 2008-12-13 23:21:50 -0800 (Sat, 13 Dec 2008)
Log Message:
-----------
lesstif: autoreconf to properly detect X11 on Leopard and build universal. Builds parallel
Modified Paths:
--------------
trunk/dports/x11/lesstif/Portfile
Modified: trunk/dports/x11/lesstif/Portfile
===================================================================
--- trunk/dports/x11/lesstif/Portfile 2008-12-14 06:51:57 UTC (rev 43745)
+++ trunk/dports/x11/lesstif/Portfile 2008-12-14 07:21:50 UTC (rev 43746)
@@ -3,7 +3,7 @@
PortSystem 1.0
name lesstif
version 0.95.0
-revision 1
+revision 2
categories x11
maintainers lomion at mac.com
description An Open Source implementation of OSF/Motif.
@@ -14,8 +14,13 @@
checksums md5 ab895165c149d7f95843c7584b1c7ad4
use_bzip2 yes
configure.args --enable-production --without-freetype-includes
-universal_variant no
+use_parallel_build yes
+depends_build \
+ port:autoconf \
+ port:automake \
+ port:libtool
+
depends_lib \
lib:libICE.6:xorg-libice \
lib:libSM.6:xorg-libsm \
@@ -30,6 +35,14 @@
variant motif20 { configure.args-append --enable-build-20 }
variant xdnd { configure.args-append --enable-xdnd }
+post-patch {
+ system "touch ${worksrcpath}/test/{NEWS,README,AUTHORS,ChangeLog,COPYING}"
+}
+
+use_autoreconf yes
+autoreconf.args -fvi
+autoreconf.env ACLOCAL="aclocal -I${worksrcpath}" AUTOCONF="autoconf -I${worksrcpath}"
+
post-destroot {
system "rm -rf ${destroot}${prefix}/lib/X11/app-defaults"
system "rm -rf ${destroot}${prefix}/lib/X11/config/host.def"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081213/361ea4ee/attachment.html>
More information about the macports-changes
mailing list