[92397] trunk/dports/security/fail2ban/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Apr 27 12:01:48 PDT 2012
Revision: 92397
https://trac.macports.org/changeset/92397
Author: ryandesign at macports.org
Date: 2012-04-27 12:01:48 -0700 (Fri, 27 Apr 2012)
Log Message:
-----------
fail2ban: simplify post-patch by invoking reinplace just a single time and passing it multiple files
Modified Paths:
--------------
trunk/dports/security/fail2ban/Portfile
Modified: trunk/dports/security/fail2ban/Portfile
===================================================================
--- trunk/dports/security/fail2ban/Portfile 2012-04-27 18:49:48 UTC (rev 92396)
+++ trunk/dports/security/fail2ban/Portfile 2012-04-27 19:01:48 UTC (rev 92397)
@@ -39,14 +39,14 @@
patch-server-server.py.diff
post-patch {
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.cfg
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/fail2ban-client
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/fail2ban-regex
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/fail2ban-server
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/client/csocket.py
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/config/fail2ban.conf
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/server/server.py
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py \
+ ${worksrcpath}/setup.cfg \
+ ${worksrcpath}/fail2ban-client \
+ ${worksrcpath}/fail2ban-regex \
+ ${worksrcpath}/fail2ban-server \
+ ${worksrcpath}/client/csocket.py \
+ ${worksrcpath}/config/fail2ban.conf \
+ ${worksrcpath}/server/server.py
}
startupitem.create yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120427/89c997f1/attachment-0001.html>
More information about the macports-changes
mailing list