[130091] trunk/dports/security/cfv

larryv at macports.org larryv at macports.org
Fri Dec 26 18:14:44 PST 2014


Revision: 130091
          https://trac.macports.org/changeset/130091
Author:   larryv at macports.org
Date:     2014-12-26 18:14:44 -0800 (Fri, 26 Dec 2014)
Log Message:
-----------
cfv: Use make args instead of patching the makefile

Modified Paths:
--------------
    trunk/dports/security/cfv/Portfile

Removed Paths:
-------------
    trunk/dports/security/cfv/files/patch-Makefile.diff

Modified: trunk/dports/security/cfv/Portfile
===================================================================
--- trunk/dports/security/cfv/Portfile	2014-12-27 02:06:29 UTC (rev 130090)
+++ trunk/dports/security/cfv/Portfile	2014-12-27 02:14:44 UTC (rev 130091)
@@ -25,14 +25,15 @@
 master_sites        sourceforge
 checksums           rmd160 d239e5fe212b2458f5a3612b55591c7625a2318d
 
-patchfiles          patch-Makefile.diff \
-                    patch-cfv.diff
+patchfiles          patch-cfv.diff
 post-patch {
-    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
-    reinplace "s|@PYTHON@|${prefix}/bin/python2.7|" \
-            ${worksrcpath}/Makefile ${worksrcpath}/cfv
+    reinplace "s|@PYTHON@|${prefix}/bin/python2.7|" ${worksrcpath}/cfv
 }
 
 use_configure       no
 
 build               {}
+
+destroot.args       mandir=${prefix}/share/man \
+                    prefix=${prefix} \
+                    PYTHON=${prefix}/bin/python2.7

Deleted: trunk/dports/security/cfv/files/patch-Makefile.diff
===================================================================
--- trunk/dports/security/cfv/files/patch-Makefile.diff	2014-12-27 02:06:29 UTC (rev 130090)
+++ trunk/dports/security/cfv/files/patch-Makefile.diff	2014-12-27 02:14:44 UTC (rev 130091)
@@ -1,19 +0,0 @@
---- Makefile.orig	2010-05-12 22:05:06.000000000 -0700
-+++ Makefile	2010-05-12 22:05:41.000000000 -0700
-@@ -1,5 +1,5 @@
--PYTHON=python
--prefix=/usr/local
-+PYTHON=@PYTHON@
-+prefix=@PREFIX@
- exec_prefix=${prefix}
- 
- #finds the site-packages dir that matches the selected prefix, or if none do, falls back to wherever it can find one..
-@@ -7,7 +7,7 @@
- #nice little expression, huh? ;)
- 
- bindir=${exec_prefix}/bin
--mandir=${prefix}/man
-+mandir=${prefix}/share/man
- install=/usr/bin/install -c
- install_dir=${install} -d
- install_data=${install} -m 0644
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141226/beec9d43/attachment.html>


More information about the macports-changes mailing list