[68015] trunk/dports/science
ryandesign at macports.org
ryandesign at macports.org
Mon May 24 15:30:06 PDT 2010
Revision: 68015
http://trac.macports.org/changeset/68015
Author: ryandesign at macports.org
Date: 2010-05-24 15:30:03 -0700 (Mon, 24 May 2010)
Log Message:
-----------
sumo-devel: new port; version 0.11.1 8004; see #24100
Modified Paths:
--------------
trunk/dports/science/sumo-devel/Portfile
Added Paths:
-----------
trunk/dports/science/sumo-devel/
Modified: trunk/dports/science/sumo-devel/Portfile
===================================================================
--- trunk/dports/science/sumo/Portfile 2010-05-24 19:29:53 UTC (rev 68008)
+++ trunk/dports/science/sumo-devel/Portfile 2010-05-24 22:30:03 UTC (rev 68015)
@@ -3,16 +3,17 @@
PortSystem 1.0
-name sumo
-conflicts sumo-devel
-version 0.11.1
+name sumo-devel
+conflicts sumo
+svn.revision 8004
+version 0.11.1-r${svn.revision}
categories science devel
platforms darwin
maintainers me.com:jens.fahnenbruck \
herbiet.net:guillaume-jean
license GPL-2
-description Simulation of Urban MObility (SUMO)
+description Development version of Simulation of Urban MObility (SUMO)
long_description \
Simulation of Urban MObility (SUMO) is an open source, highly portable, \
microscopic road traffic simulation package designed to handle large \
@@ -20,15 +21,25 @@
Transportation Systems at the German Aerospace Center.
homepage http://sumo.sourceforge.net/
-master_sites sourceforge
-distname ${name}-src-${version}
-worksrcdir ${name}-${version}
+fetch.type svn
+svn.method checkout
+svn.args-append --depth immediates
+svn.url https://sumo.svn.sourceforge.net/svnroot/sumo/trunk/sumo/
+worksrcdir sumo
-checksums \
- md5 d3e8d29d74cf25d6cf2bb0c2a622ea49 \
- sha1 c33f451918c5cb15de5964eb9db3078e24b415a1 \
- rmd160 956495941b3e58ab42bba6f233678814cb269c2f
+# don't check out the tests directory; it's huge and doesn't get used
+post-fetch {
+ set svn_item_list [list]
+ foreach svn_item [glob -directory ${worksrcpath} -tails *] {
+ if {[file isdirectory ${worksrcpath}/${svn_item}] && "tests" != ${svn_item}} {
+ lappend svn_item_list ${svn_item}
+ }
+ }
+ set cmd "cd ${worksrcpath} && ${svn.cmd} ${svn.pre_args} update -r ${svn.revision} --set-depth infinity [join ${svn_item_list} { }]"
+ ui_debug ${cmd}
+ system ${cmd}
+}
depends_lib-append \
port:fox \
@@ -37,6 +48,8 @@
port:proj \
port:xercesc
+use_autoreconf yes
+
# required for the gui to be enabled
configure.args-append \
--with-fox=${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100524/49460a47/attachment.html>
More information about the macports-changes
mailing list