[65202] trunk/dports/devel/hs-HOC/Portfile
nox at macports.org
nox at macports.org
Tue Mar 23 09:17:07 PDT 2010
Revision: 65202
http://trac.macports.org/changeset/65202
Author: nox at macports.org
Date: 2010-03-23 09:17:04 -0700 (Tue, 23 Mar 2010)
Log Message:
-----------
Make hs-HOC search ".pi" files in share/HOC
Modified Paths:
--------------
trunk/dports/devel/hs-HOC/Portfile
Modified: trunk/dports/devel/hs-HOC/Portfile
===================================================================
--- trunk/dports/devel/hs-HOC/Portfile 2010-03-23 15:54:33 UTC (rev 65201)
+++ trunk/dports/devel/hs-HOC/Portfile 2010-03-23 16:17:04 UTC (rev 65202)
@@ -6,6 +6,7 @@
set rev 413
haskell.setup HOC 0.7-r${rev}
name hs-HOC
+revision 1
license BSD-4
platforms darwin
categories devel
@@ -26,6 +27,11 @@
patchfiles patch-InterfaceGenerator2-Parser.hs.diff
+post-patch {
+ reinplace "s:\"HOC-\" ++ fn ++ \"/\":\"${prefix}/share/HOC/\":" \
+ ${worksrcpath}/InterfaceGenerator2/Main.hs
+}
+
pre-configure {
reinplace s:/usr/include/ffi:[exec pkg-config libffi --variable includedir]: \
${worksrcpath}/HOC.cabal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100323/ca94d25e/attachment-0001.html>
More information about the macports-changes
mailing list