[99454] trunk/dports/math/nauty/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Nov 5 12:52:23 PST 2012


Revision: 99454
          http://trac.macports.org//changeset/99454
Author:   ryandesign at macports.org
Date:     2012-11-05 12:52:23 -0800 (Mon, 05 Nov 2012)
Log Message:
-----------
nauty: update to 2.4r2, fixing build on Mountain Lion (#36896); enable tests; simplify destroot

Modified Paths:
--------------
    trunk/dports/math/nauty/Portfile

Modified: trunk/dports/math/nauty/Portfile
===================================================================
--- trunk/dports/math/nauty/Portfile	2012-11-05 17:49:26 UTC (rev 99453)
+++ trunk/dports/math/nauty/Portfile	2012-11-05 20:52:23 UTC (rev 99454)
@@ -2,17 +2,14 @@
 PortSystem 1.0
 
 name			nauty
-version			2.4b7
+version         2.4r2
 categories		math science
 platforms       darwin
 maintainers		nomaintainer
 homepage		http://cs.anu.edu.au/people/bdm/nauty/
 master_sites	${homepage}
 distname		${name}${version}
-worksrcdir		nauty24b7
-checksums       md5     183b5a7e7c7a470ad0d81713dec65e6a \
-                sha1    932cd09eedfabf305373814f05f107b0bde3f515 \
-                rmd160  42e2111518e78eca0da72cc7c9fe487768f93225
+worksrcdir      ${name}[strsed ${version} {g/\.//}]
 
 description		nauty is a program for computing automorphism groups of graphs \
 				and digraphs.
@@ -32,28 +29,37 @@
 				suitability, correctness, or any other aspect of this program. \
 				Any use is at your own risk.
 
+checksums       rmd160  4d22200a646e453090cd8d31fc3adce6a1e47e69 \
+                sha256  760f9cca43b8eb7dd083983ea0e137125ee8a181d460c970137cfb7490fe1621
+
+test.run        yes
+test.target     checks
+
 destroot {
-	file copy ${worksrcpath}/NRswitchg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/addedgeg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/amtog ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/biplabg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/catg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/complg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/copyg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/countg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/deledgeg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/directg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/dreadnaut ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/dretog ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/genbg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/geng ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/genrang ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/labelg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/listg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/multig ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/newedgeg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/pickg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/planarg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/shortg ${destroot}${prefix}/bin
-	file copy ${worksrcpath}/showg ${destroot}${prefix}/bin
+    xinstall -W ${worksrcpath} \
+        NRswitchg \
+        addedgeg \
+        amtog \
+        biplabg \
+        catg \
+        complg \
+        copyg \
+        countg \
+        deledgeg \
+        directg \
+        dreadnaut \
+        dretog \
+        genbg \
+        geng \
+        genrang \
+        gentourng \
+        labelg \
+        listg \
+        multig \
+        newedgeg \
+        pickg \
+        planarg \
+        shortg \
+        showg \
+        ${destroot}${prefix}/bin
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121105/6df82124/attachment.html>


More information about the macports-changes mailing list