[55241] trunk/dports/graphics/qiv
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 7 14:23:20 PDT 2009
Revision: 55241
http://trac.macports.org/changeset/55241
Author: ryandesign at macports.org
Date: 2009-08-07 14:23:19 -0700 (Fri, 07 Aug 2009)
Log Message:
-----------
qiv: don't hardcode /opt/local
Modified Paths:
--------------
trunk/dports/graphics/qiv/Portfile
trunk/dports/graphics/qiv/files/patch-Makefile.diff
Modified: trunk/dports/graphics/qiv/Portfile
===================================================================
--- trunk/dports/graphics/qiv/Portfile 2009-08-07 21:21:47 UTC (rev 55240)
+++ trunk/dports/graphics/qiv/Portfile 2009-08-07 21:23:19 UTC (rev 55241)
@@ -19,5 +19,8 @@
use_configure no
-# fix path.. /opt/local instead of /use/local
patchfiles patch-Makefile.diff
+
+post-patch {
+ reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
+}
Modified: trunk/dports/graphics/qiv/files/patch-Makefile.diff
===================================================================
--- trunk/dports/graphics/qiv/files/patch-Makefile.diff 2009-08-07 21:21:47 UTC (rev 55240)
+++ trunk/dports/graphics/qiv/files/patch-Makefile.diff 2009-08-07 21:23:19 UTC (rev 55241)
@@ -5,7 +5,7 @@
# Directory where qiv will be installed under.
-PREFIX = /usr/local
-+PREFIX = $(DESTDIR)/opt/local
++PREFIX = $(DESTDIR)@PREFIX@
# Font to use for statusbar in fullscreen mode
STATUSBAR_FONT = "fixed"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090807/548c9dd4/attachment.html>
More information about the macports-changes
mailing list