[20179] trunk/dports/devel/hs-Edison/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 27 06:41:25 PDT 2006


Revision: 20179
          http://trac.macosforge.org/projects/macports/changeset/20179
Author:   gwright at macports.org
Date:     2006-10-27 06:41:25 -0700 (Fri, 27 Oct 2006)

Log Message:
-----------
Update to work with latest ghc release (6.6).

Modified Paths:
--------------
    trunk/dports/devel/hs-Edison/Portfile

Modified: trunk/dports/devel/hs-Edison/Portfile
===================================================================
--- trunk/dports/devel/hs-Edison/Portfile	2006-10-27 13:37:12 UTC (rev 20178)
+++ trunk/dports/devel/hs-Edison/Portfile	2006-10-27 13:41:25 UTC (rev 20179)
@@ -4,6 +4,7 @@
 name		hs-Edison
 set shortname	edison-core
 version		1.2.0.1
+revision	1
 categories	devel
 maintainers	gwright at opendarwin.org
 platforms	darwin
@@ -44,10 +45,16 @@
 
 destroot	{ cd ${worksrcpath}/edison-core
 		  system "./Setup copy --copy-prefix=${destroot}${prefix}"
-                }
+                  system "./Setup register   --gen-script"
+                  system "./Setup unregister --gen-script"
 
-post-activate   { cd ${worksrcpath}/edison-core
-		  catch {system "./Setup unregister"}
-		  system "./Setup register"
-                }
- 
+                  file mkdir ${destroot}${prefix}/libexec/${name}
+                  file copy ${worksrcpath}/edison-core/register.sh \
+                            ${destroot}${prefix}/libexec/${name}
+                  file copy ${worksrcpath}/edison-core/unregister.sh \
+                            ${destroot}${prefix}/libexec/${name}
+                 }
+
+post-activate	{ system "${prefix}/libexec/${name}/register.sh" }
+
+#pre-deactivate	{ system "${prefix}/libexec/${name}/unregister.sh" }

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


More information about the macports-changes mailing list