[92612] trunk/dports/science/emergent/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed May 2 00:47:08 PDT 2012


Revision: 92612
          https://trac.macports.org/changeset/92612
Author:   ryandesign at macports.org
Date:     2012-05-02 00:47:08 -0700 (Wed, 02 May 2012)
Log Message:
-----------
emergent: update to 5.3.7 (fixes build issue #22156); use cmake portgroup; fix livecheck; GPL-2+ license; add modeline

Modified Paths:
--------------
    trunk/dports/science/emergent/Portfile

Modified: trunk/dports/science/emergent/Portfile
===================================================================
--- trunk/dports/science/emergent/Portfile	2012-05-02 07:39:50 UTC (rev 92611)
+++ trunk/dports/science/emergent/Portfile	2012-05-02 07:47:08 UTC (rev 92612)
@@ -1,13 +1,17 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem      1.0
+PortGroup       cmake 1.0
 
 name            emergent
-version         5.0.0
-revision        2
+version         5.3.7
+svn.revision    5394
 categories      science
 platforms       darwin
 maintainers     nomaintainer
+license         GPL-2+
+
 description     Neural network simulator
 
 long_description \
@@ -20,13 +24,27 @@
 
 homepage        http://grey.colorado.edu/emergent
 fetch.type      svn
-worksrcdir      trunk
-svn.url         http://grey.colorado.edu/svn/emergent/emergent/${worksrcdir}
+worksrcdir      ${version}
+svn.url         http://grey.colorado.edu/svn/emergent/emergent/tags/${version}
 svn.args        --username anonymous --password emergent
-svn.revision    4146
-configure.env-append    UPDATE_TYPE=svn
+svn.method      checkout
+
+depends_lib     port:readline port:Quarter port:gsl port:ode
+
 build.dir       ${worksrcpath}/build
+
+post-extract {
+    file mkdir ${build.dir}
+}
+
+configure.dir       ${build.dir}
+configure.args-append ..
+
+# Needs to match how the ode port was built.
+configure.cxxflags-append -DdDOUBLE
+
 use_parallel_build  yes
 
-depends_build   bin:cmake:cmake
-depends_lib     port:readline port:Quarter port:gsl port:ode
+livecheck.type      regex
+livecheck.url       ftp://grey.colorado.edu/pub/emergent/
+livecheck.regex     ${name}-(\[0-9.\]+)-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120502/b22703bf/attachment-0001.html>


More information about the macports-changes mailing list