[32762] trunk/dports/mail/pflogsumm/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jan 13 00:55:47 PST 2008
Revision: 32762
http://trac.macosforge.org/projects/macports/changeset/32762
Author: ryandesign at macports.org
Date: 2008-01-13 00:55:46 -0800 (Sun, 13 Jan 2008)
Log Message:
-----------
pflogsumm: no longer use the deprecated 'cd' command
Modified Paths:
--------------
trunk/dports/mail/pflogsumm/Portfile
Modified: trunk/dports/mail/pflogsumm/Portfile
===================================================================
--- trunk/dports/mail/pflogsumm/Portfile 2008-01-13 08:50:38 UTC (rev 32761)
+++ trunk/dports/mail/pflogsumm/Portfile 2008-01-13 08:55:46 UTC (rev 32762)
@@ -63,19 +63,18 @@
use_configure no
build {
- cd ${worksrcpath}
- reinplace "s|^#!.*perl|#!${perl5.bin}|" ${name}.pl
- reinplace "s|mail.empnet.com|[exec hostname]|" ${name}.cgi
- reinplace "s|/var/log/maillog|${maillog_path}|" ${name}.cgi
- reinplace "s|${maillog_path}\[.\]\[0-3\]|&.gz|" ${name}.cgi
- reinplace "s|/usr/ucb/ps|[binaryInPath ps]|" ${name}.cgi
- reinplace "s|zcat=\"/bin/cat|zcat=\"[binaryInPath zcat]|" ${name}.cgi
- reinplace "s|/bin/cat|[binaryInPath cat]|" ${name}.cgi
- reinplace "s|/usr/local/bin/${name}.pl|${prefix}/bin/${name}|" ${name}.cgi
- reinplace "s|^opts=|# &|" ${name}.cgi
- reinplace "s|^#opts=|opts=|" ${name}.cgi
- reinplace "s|mail.cgi|${name}.cgi|" ${name}.cgi
- reinplace "s|\$pflog \$opts.*$|& 2>\\&1|" ${name}.cgi
+ reinplace "s|^#!.*perl|#!${perl5.bin}|" ${worksrcpath}/${name}.pl
+ reinplace "s|mail.empnet.com|[exec hostname]|" ${worksrcpath}/${name}.cgi
+ reinplace "s|/var/log/maillog|${maillog_path}|" ${worksrcpath}/${name}.cgi
+ reinplace "s|${maillog_path}\[.\]\[0-3\]|&.gz|" ${worksrcpath}/${name}.cgi
+ reinplace "s|/usr/ucb/ps|[binaryInPath ps]|" ${worksrcpath}/${name}.cgi
+ reinplace "s|zcat=\"/bin/cat|zcat=\"[binaryInPath zcat]|" ${worksrcpath}/${name}.cgi
+ reinplace "s|/bin/cat|[binaryInPath cat]|" ${worksrcpath}/${name}.cgi
+ reinplace "s|/usr/local/bin/${name}.pl|${prefix}/bin/${name}|" ${worksrcpath}/${name}.cgi
+ reinplace "s|^opts=|# &|" ${worksrcpath}/${name}.cgi
+ reinplace "s|^#opts=|opts=|" ${worksrcpath}/${name}.cgi
+ reinplace "s|mail.cgi|${name}.cgi|" ${worksrcpath}/${name}.cgi
+ reinplace "s|\$pflog \$opts.*$|& 2>\\&1|" ${worksrcpath}/${name}.cgi
}
destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080113/e9a2a36c/attachment.html
More information about the macports-changes
mailing list