[85193] trunk/dports/devel/cpphs/Portfile

jmr at macports.org jmr at macports.org
Mon Oct 10 15:18:23 PDT 2011


Revision: 85193
          http://trac.macports.org/changeset/85193
Author:   jmr at macports.org
Date:     2011-10-10 15:18:23 -0700 (Mon, 10 Oct 2011)
Log Message:
-----------
cpphs: make ghc depends_lib not depends_build since it is called from the script in post-activate, and enable post-deactivate

Modified Paths:
--------------
    trunk/dports/devel/cpphs/Portfile

Modified: trunk/dports/devel/cpphs/Portfile
===================================================================
--- trunk/dports/devel/cpphs/Portfile	2011-10-10 21:53:26 UTC (rev 85192)
+++ trunk/dports/devel/cpphs/Portfile	2011-10-10 22:18:23 UTC (rev 85193)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+
 name		cpphs
 version		1.3
 categories	devel
@@ -16,7 +17,7 @@
 
 checksums	md5 fe1f36d1cbc2ca4a8b769d1f9c2f63bc
 
-depends_build	port:ghc
+depends_lib	port:ghc
 
 pre-configure	{
 		  system "ghc -o ${worksrcpath}/Setup ${worksrcpath}/Setup.hs -package Cabal"
@@ -45,5 +46,4 @@
 
 post-activate	{ system "${prefix}/libexec/${name}/register.sh" }
 
-#pre-deactivate { system "${prefix}/libexec/${name}/unregister.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/20111010/a0045300/attachment.html>


More information about the macports-changes mailing list