[34822] trunk/dports/lang/mercury/Portfile

jmr at macports.org jmr at macports.org
Thu Mar 6 23:50:40 PST 2008


Revision: 34822
          http://trac.macosforge.org/projects/macports/changeset/34822
Author:   jmr at macports.org
Date:     2008-03-06 23:50:39 -0800 (Thu, 06 Mar 2008)

Log Message:
-----------
mercury: fix fetching and homepage.

Modified Paths:
--------------
    trunk/dports/lang/mercury/Portfile

Modified: trunk/dports/lang/mercury/Portfile
===================================================================
--- trunk/dports/lang/mercury/Portfile	2008-03-07 07:42:57 UTC (rev 34821)
+++ trunk/dports/lang/mercury/Portfile	2008-03-07 07:50:39 UTC (rev 34822)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+
 name		mercury
 version		0.13.1
 categories	lang
@@ -21,13 +22,14 @@
 		compilation, and numerous optimization/time	\
 		trade-offs.
 
-homepage	http://www.${name}.cs.mu.oz.au/research/${name}/
-master_sites	http://www.${name}.cs.mu.oz.au/${name}/download/files/
+homepage	http://www.${name}.cs.mu.oz.au/
+master_sites	${homepage}download/files/
 
-distfiles	${name}-compiler-${version}${extract.suffix}
+distname	${name}-compiler-${version}
 
-checksums	${name}-compiler-${version}${extract.suffix} md5 f75f2241a974792d30c18c4325c763d0
+checksums	md5 f75f2241a974792d30c18c4325c763d0
 
+worksrcdir	${name}-${version}
 post-extract	{ file rename \
 			${workpath}/${name}-compiler-${version} \
 			${workpath}/${name}-${version}
@@ -58,4 +60,3 @@
 		  system "make INSTALL_PREFIX=${destroot}${prefix} \
 			       MERCURY_COMPILER=${worksrcpath}/compiler/mercury_compile install"
 		}
-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080306/30266741/attachment.html 


More information about the macports-changes mailing list