[81072] trunk/dports/security/cfv/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jul 24 14:15:48 PDT 2011
Revision: 81072
http://trac.macports.org/changeset/81072
Author: ryandesign at macports.org
Date: 2011-07-24 14:15:48 -0700 (Sun, 24 Jul 2011)
Log Message:
-----------
cfv: deduplicate code
Modified Paths:
--------------
trunk/dports/security/cfv/Portfile
Modified: trunk/dports/security/cfv/Portfile
===================================================================
--- trunk/dports/security/cfv/Portfile 2011-07-24 21:15:05 UTC (rev 81071)
+++ trunk/dports/security/cfv/Portfile 2011-07-24 21:15:48 UTC (rev 81072)
@@ -28,6 +28,10 @@
patchfiles patch-Makefile.diff patch-cfv.diff
+post-patch {
+ reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
+}
+
use_configure no
build {}
@@ -40,7 +44,6 @@
depends_lib port:python27
post-patch {
- reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
reinplace "s|@PYTHON@|${prefix}/bin/python2.7|" ${worksrcpath}/Makefile ${worksrcpath}/cfv
}
}
@@ -49,7 +52,6 @@
depends_lib port:python32
post-patch {
- reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
reinplace "s|@PYTHON@|${prefix}/bin/python3.2|" ${worksrcpath}/Makefile ${worksrcpath}/cfv
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110724/2c4318af/attachment.html>
More information about the macports-changes
mailing list