[129908] trunk/dports/net/http-replicator/Portfile
jmr at macports.org
jmr at macports.org
Mon Dec 22 16:16:48 PST 2014
Revision: 129908
https://trac.macports.org/changeset/129908
Author: jmr at macports.org
Date: 2014-12-22 16:16:48 -0800 (Mon, 22 Dec 2014)
Log Message:
-----------
http-replicator: use python27, install README, license, noarch (#46273, maintainer timeout)
Modified Paths:
--------------
trunk/dports/net/http-replicator/Portfile
Modified: trunk/dports/net/http-replicator/Portfile
===================================================================
--- trunk/dports/net/http-replicator/Portfile 2014-12-23 00:01:30 UTC (rev 129907)
+++ trunk/dports/net/http-replicator/Portfile 2014-12-23 00:16:48 UTC (rev 129908)
@@ -5,8 +5,11 @@
name http-replicator
version 3.0
+revision 1
categories net www
+license GPL-2+
platforms darwin
+supported_archs noarch
maintainers mww
description replicating HTTP proxy server
@@ -20,7 +23,7 @@
packages.
homepage http://gertjan.freezope.org/replicator/
-depends_run bin:python:python27
+depends_run port:python27
master_sites ${homepage}
distname ${name}_${version}
@@ -28,7 +31,7 @@
checksums md5 7d8d69175a5dc3d470273b1e508a27f3
configure {
- reinplace -W ${worksrcpath} "s| /usr/bin/python|/usr/bin/env python|g" \
+ reinplace -W ${worksrcpath} "s| /usr/bin/python|${prefix}/bin/python2.7|" \
http-replicator \
http-replicator_maintenance
}
@@ -42,4 +45,6 @@
xinstall -m 644 -W ${worksrcpath} \
http-replicator.1 http-replicator_maintenance.1 \
${destroot}${prefix}/share/man/man1
+ xinstall -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141222/b56b1962/attachment-0001.html>
More information about the macports-changes
mailing list