[88364] trunk/dports/science/clhep/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Dec 29 11:20:36 PST 2011


Revision: 88364
          http://trac.macports.org/changeset/88364
Author:   ryandesign at macports.org
Date:     2011-12-29 11:20:33 -0800 (Thu, 29 Dec 2011)
Log Message:
-----------
clhep: update to 2.1.2.0, license is now LGPL-3, use cmake portgroup; see #32424

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

Modified: trunk/dports/science/clhep/Portfile
===================================================================
--- trunk/dports/science/clhep/Portfile	2011-12-29 19:14:01 UTC (rev 88363)
+++ trunk/dports/science/clhep/Portfile	2011-12-29 19:20:33 UTC (rev 88364)
@@ -2,13 +2,14 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           cmake 1.0
 
 name                clhep
-version             2.0.4.5
-revision            1
+version             2.1.2.0
 categories          science
 maintainers         pd.infn.it:cristiano.fontana
-license             public-domain
+license             LGPL-3
+
 description         A Class Library for High Energy Physics
 long_description    A Class Library for High Energy Physics
 homepage            http://www.cern.ch/clhep
@@ -16,18 +17,20 @@
 extract.suffix      .tgz
 master_sites        http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/
 
-checksums           md5 0e29d9f8253ed61cd1b6fa5cb892c708
+checksums           rmd160  04b13225639d8f5e332245f0b430c4b64d80d318 \
+                    sha256  b4dcb7812acbd4a781fab556eb4bfac2ed4c1fbfa64cb5d27a296cdba4f6336c
 
 worksrcdir          ${version}/CLHEP
 
-post-patch {
-    fs-traverse file ${worksrcpath} {
-        if {"configure" == [file tail ${file}]} {
-            reinplace "s:^g++):*g++*):g" ${file}
-        }
-    }
+configure.dir       ${workpath}/build
+build.dir           ${configure.dir}
+
+post-extract {
+    file mkdir ${configure.dir}
 }
 
+configure.post_args ${worksrcpath}
+
 post-build {
     fs-traverse file ${build.dir} {
         if {[string match {*-config} ${file}]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111229/bdf8382c/attachment.html>


More information about the macports-changes mailing list