[34728] trunk/dports/devel/hs-Edison/Portfile
gwright at macports.org
gwright at macports.org
Mon Mar 3 14:06:41 PST 2008
Revision: 34728
http://trac.macosforge.org/projects/macports/changeset/34728
Author: gwright at macports.org
Date: 2008-03-03 14:06:40 -0800 (Mon, 03 Mar 2008)
Log Message:
-----------
Version bump to 1.2.1.2.
Modified Paths:
--------------
trunk/dports/devel/hs-Edison/Portfile
Modified: trunk/dports/devel/hs-Edison/Portfile
===================================================================
--- trunk/dports/devel/hs-Edison/Portfile 2008-03-03 22:05:33 UTC (rev 34727)
+++ trunk/dports/devel/hs-Edison/Portfile 2008-03-03 22:06:40 UTC (rev 34728)
@@ -2,8 +2,8 @@
PortSystem 1.0
name hs-Edison
-set shortname edison-core
-version 1.2.1
+set canonicalname EdisonCore
+version 1.2.1.2
categories devel
maintainers gwright at macports.org
platforms darwin
@@ -21,36 +21,30 @@
2. Multiple concrete implementations of each \
of the abstractions.
-homepage http://www.eecs.tufts.edu/~rdocki01/edison.html
-master_sites http://www.eecs.tufts.edu/~rdocki01/projects
-distname ${shortname}-${version}-source
+homepage http://www.cs.princeton.edu/~rdockins/edison/home/index.html
+master_sites http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
+distname ${canonicalname}-${version}
-checksums md5 bb6403d6e7e286dd70e125d1a6046908
+checksums md5 80e25ab085320c9ef4be109d4bee373f \
+ sha1 398fe4040c18d77bffcb4d4d3c79c96747185ece \
+ rmd160 5fcdffbb50822b6b440b7dfed7a3b028b08c0941
-depends_lib port:hs-EdisonAPI \
- port:ghc
+depends_lib port:hs-EdisonAPI
-pre-configure { cd ${worksrcpath}/edison-core
- system "ghc -o Setup Setup.hs -package Cabal"
- }
+pre-configure { system "cd ${worksrcpath} && ghc --make -o Setup Setup.hs" }
-configure { cd ${worksrcpath}/edison-core
- system "./Setup configure --ghc --prefix=${prefix} --enable-library-profiling"
- }
+configure { system "cd ${worksrcpath} && ./Setup configure --ghc --prefix=${prefix} --enable-library-profiling" }
-build { cd ${worksrcpath}/edison-core
- system "./Setup build -v"
- }
+build { system "cd ${worksrcpath} && ./Setup build -v" }
-destroot { cd ${worksrcpath}/edison-core
- system "./Setup copy --copy-prefix=${destroot}${prefix}"
- system "./Setup register --gen-script"
- system "./Setup unregister --gen-script"
+destroot { system "cd ${worksrcpath} && ./Setup copy --copy-prefix=${destroot}${prefix}"
+ system "cd ${worksrcpath} && ./Setup register --gen-script"
+ system "cd ${worksrcpath} && ./Setup unregister --gen-script"
file mkdir ${destroot}${prefix}/libexec/${name}
- file copy ${worksrcpath}/edison-core/register.sh \
+ file copy ${worksrcpath}/register.sh \
${destroot}${prefix}/libexec/${name}
- file copy ${worksrcpath}/edison-core/unregister.sh \
+ file copy ${worksrcpath}/unregister.sh \
${destroot}${prefix}/libexec/${name}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080303/a1a0ce78/attachment-0001.html
More information about the macports-changes
mailing list