[75980] trunk/dports/science/alliance

ryandesign at macports.org ryandesign at macports.org
Mon Feb 14 13:37:54 PST 2011


Revision: 75980
          http://trac.macports.org/changeset/75980
Author:   ryandesign at macports.org
Date:     2011-02-14 13:37:53 -0800 (Mon, 14 Feb 2011)
Log Message:
-----------
alliance: update to 5.0-20090901; fix master_sites so it can fetch old versions; fix livecheck; see #28390

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

Added Paths:
-----------
    trunk/dports/science/alliance/files/
    trunk/dports/science/alliance/files/patch-distrib-etc-Makefile.in.diff
    trunk/dports/science/alliance/files/patch-xgra-src-XSB_parse.c.diff

Modified: trunk/dports/science/alliance/Portfile
===================================================================
--- trunk/dports/science/alliance/Portfile	2011-02-14 21:25:53 UTC (rev 75979)
+++ trunk/dports/science/alliance/Portfile	2011-02-14 21:37:53 UTC (rev 75980)
@@ -3,7 +3,8 @@
 PortSystem          1.0
 
 name                alliance
-version             5.0
+version             5.0-20090901
+set version_number  [lindex [split ${version} -] 0]
 categories          science
 maintainers         and.damore openmaintainer
 description         Alliance, CAD and libraries for VLSI design
@@ -14,17 +15,20 @@
 platforms           darwin
 homepage            http://www-asim.lip6.fr/recherche/alliance/
 
-distname            ${name}-${version}-20070718
-worksrcdir          ${name}-${version}
-master_sites        http://www-asim.lip6.fr/pub/alliance/distribution/${version}
+master_sites        http://www-asim.lip6.fr/pub/alliance/distribution/${version_number}/ \
+                    http://www-asim.lip6.fr/pub/alliance/distribution/${version_number}/OLD_RELEASES/
 
-checksums           md5     917f4493c09f6f5c49d5a606a5e9bbd8 \
-                    sha1    e975e3b58a91de96b98f0ff2360798ae5eece6be \
-                    rmd160  dc1911517d58bbbdde86a0def21e1447a24f9dea
+checksums           sha1    f09a4102290225a1fe7c8d49b3c2eee0c06ae916 \
+                    rmd160  4dd8c7d571da65060ee226512a89d7df2eaf9627
 
 depends_lib         port:xpm \
-                    port:openmotif
-                    
+                    port:openmotif \
+                    port:libpng
+
+worksrcdir          ${name}-${version_number}
+
+patchfiles          patch-distrib-etc-Makefile.in.diff
+
 use_parallel_build  no
 configure.args-append --mandir=${prefix}/share/man
 configure.env-append  YACC='/usr/bin/yacc'
@@ -36,4 +40,12 @@
     file rename ${destroot}${prefix}/examples   ${destroot}${prefix}/share/alliance
     file rename ${destroot}${prefix}/tutorials  ${destroot}${prefix}/share/alliance
     file rename ${destroot}${prefix}/cells      ${destroot}${prefix}/share/alliance
-}
\ No newline at end of file
+}
+
+platform darwin {
+    patchfiles-append patch-xgra-src-XSB_parse.c.diff
+}
+
+livecheck.type      regex
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     ${name}-(\[0-9.-\]+)\\.tar

Added: trunk/dports/science/alliance/files/patch-distrib-etc-Makefile.in.diff
===================================================================
--- trunk/dports/science/alliance/files/patch-distrib-etc-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/science/alliance/files/patch-distrib-etc-Makefile.in.diff	2011-02-14 21:37:53 UTC (rev 75980)
@@ -0,0 +1,11 @@
+--- distrib/etc/Makefile.in.orig	2009-09-02 04:10:27.000000000 -0500
++++ distrib/etc/Makefile.in	2011-02-14 14:58:25.000000000 -0600
+@@ -339,7 +339,7 @@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-etcdir = /etc/profile.d
++etcdir = $(prefix)/etc/profile.d
+ etc_SCRIPTS = alc_env.csh alc_env.sh
+ EXTRA_DIST = alc_env.csh.in alc_env.sh.in
+ all: all-am

Added: trunk/dports/science/alliance/files/patch-xgra-src-XSB_parse.c.diff
===================================================================
--- trunk/dports/science/alliance/files/patch-xgra-src-XSB_parse.c.diff	                        (rev 0)
+++ trunk/dports/science/alliance/files/patch-xgra-src-XSB_parse.c.diff	2011-02-14 21:37:53 UTC (rev 75980)
@@ -0,0 +1,11 @@
+--- xgra/src/XSB_parse.c.orig	2007-11-27 14:41:44.000000000 -0600
++++ xgra/src/XSB_parse.c	2011-02-14 01:49:12.000000000 -0600
+@@ -43,7 +43,7 @@
+ |                                                             |
+ \------------------------------------------------------------*/
+ 
+-# include <malloc.h>
++# include <malloc/malloc.h>
+ # include <stdlib.h>
+ # include <string.h>
+ # include "mut.h"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110214/57c97feb/attachment.html>


More information about the macports-changes mailing list