[82891] trunk/dports/x11/xroot/Portfile
jmr at macports.org
jmr at macports.org
Sun Aug 21 07:17:27 PDT 2011
Revision: 82891
http://trac.macports.org/changeset/82891
Author: jmr at macports.org
Date: 2011-08-21 07:17:27 -0700 (Sun, 21 Aug 2011)
Log Message:
-----------
xroot: fix build failure due to incorrect variable name, and generally clean up
Modified Paths:
--------------
trunk/dports/x11/xroot/Portfile
Modified: trunk/dports/x11/xroot/Portfile
===================================================================
--- trunk/dports/x11/xroot/Portfile 2011-08-21 14:09:51 UTC (rev 82890)
+++ trunk/dports/x11/xroot/Portfile 2011-08-21 14:17:27 UTC (rev 82891)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+
name xroot
version 1.0
revision 2
@@ -20,19 +21,17 @@
homepage http://sealiesoftware.com/
master_sites ${homepage}
distfiles xroot.c
-universal_variant no
depends_lib \
port:xorg-libX11
-extract {}
-use_configure no
-
-pre-build {
+extract {
file mkdir ${worksrcpath}
+ file copy ${distpath}/${distfiles} ${worksrcpath}
}
+use_configure no
+
build {
- file copy ${distpath}/${distfile} ${worksrcpath}
- system "cd ${worksrcpath} && c++ ${distfile} -Wall -L${prefix}/lib -I${prefix}/include -lX11 -o xroot"
+ system "cd ${worksrcpath} && ${configure.cxx} ${configure.cxxflags} ${configure.cxx_archflags} ${distfiles} -Wall -L${prefix}/lib -I${prefix}/include -lX11 -o xroot"
}
destroot {
xinstall -m 755 ${worksrcpath}/xroot ${destroot}${prefix}/bin/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110821/3617fba5/attachment.html>
More information about the macports-changes
mailing list