[62092] trunk/dports/www/yaws/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Dec 28 14:28:13 PST 2009


Revision: 62092
          http://trac.macports.org/changeset/62092
Author:   ryandesign at macports.org
Date:     2009-12-28 14:28:12 -0800 (Mon, 28 Dec 2009)
Log Message:
-----------
yaws: simplify reinplaces

Modified Paths:
--------------
    trunk/dports/www/yaws/Portfile

Modified: trunk/dports/www/yaws/Portfile
===================================================================
--- trunk/dports/www/yaws/Portfile	2009-12-28 22:27:01 UTC (rev 62091)
+++ trunk/dports/www/yaws/Portfile	2009-12-28 22:28:12 UTC (rev 62092)
@@ -31,10 +31,11 @@
 					patch-scripts-yaws.conf.template
 
 post-patch {
-	reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/man/yaws.1
-	reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/man/yaws.conf.5
-	reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/man/yaws_api.5
-	reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/scripts/yaws.conf.template
+	reinplace "s|__PREFIX|${prefix}|g" \
+					${worksrcpath}/man/yaws.1 \
+					${worksrcpath}/man/yaws.conf.5 \
+					${worksrcpath}/man/yaws_api.5 \
+					${worksrcpath}/scripts/yaws.conf.template
 }
 
 default_variants	+yapp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091228/48989914/attachment.html>


More information about the macports-changes mailing list