[136977] trunk/dports/net/torrentsniff/Portfile
devans at macports.org
devans at macports.org
Mon Jun 1 14:14:43 PDT 2015
Revision: 136977
https://trac.macports.org/changeset/136977
Author: devans at macports.org
Date: 2015-06-01 14:14:43 -0700 (Mon, 01 Jun 2015)
Log Message:
-----------
torrentsniff: add mode line and reformat, white space only.
Modified Paths:
--------------
trunk/dports/net/torrentsniff/Portfile
Modified: trunk/dports/net/torrentsniff/Portfile
===================================================================
--- trunk/dports/net/torrentsniff/Portfile 2015-06-01 18:43:09 UTC (rev 136976)
+++ trunk/dports/net/torrentsniff/Portfile 2015-06-01 21:14:43 UTC (rev 136977)
@@ -1,42 +1,43 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-PortGroup perl5 1.0
+PortSystem 1.0
+PortGroup perl5 1.0
-name torrentsniff
-version 0.3.0
-revision 4
-categories net perl
-license MIT
-maintainers nomaintainer
-description torrent status program
-long_description TorrentSniff is a command line Perl program \
- that reads a BitTorrent .torrent file from the local file \
- system or from a URL and reports on the status of the torrent.
-homepage http://www.highprogrammer.com/alan/perl/torrentsniff.html
-platforms darwin
-supported_archs noarch
-master_sites http://www.highprogrammer.com/alan/perl/
-checksums md5 3884cac276a990a95ea77738195508aa \
- sha1 ee683f2fbce004ae2f6daf9589b0d65db529fffb
+name torrentsniff
+version 0.3.0
+revision 4
+categories net perl
+license MIT
+maintainers nomaintainer
+description torrent status program
+long_description TorrentSniff is a command line Perl program \
+ that reads a BitTorrent .torrent file from the local file \
+ system or from a URL and reports on the status of the torrent.
+homepage http://www.highprogrammer.com/alan/perl/torrentsniff.html
+platforms darwin
+supported_archs noarch
+master_sites http://www.highprogrammer.com/alan/perl/
+checksums md5 3884cac276a990a95ea77738195508aa \
+ sha1 ee683f2fbce004ae2f6daf9589b0d65db529fffb
-perl5.branches 5.16
+perl5.branches 5.16
-depends_lib-append port:p5.16-libwww-perl \
- port:p5.16-digest-sha1
+depends_lib-append port:p5.16-libwww-perl \
+ port:p5.16-digest-sha1
-patchfiles patch_torrentsniff
+patchfiles patch_torrentsniff
configure {
- reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/torrentsniff
- reinplace "s|__NAME__|${name}|g" ${worksrcpath}/torrentsniff
- reinplace "s|__PERL__|${perl5.bin}|g" ${worksrcpath}/torrentsniff
+ reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/torrentsniff
+ reinplace "s|__NAME__|${name}|g" ${worksrcpath}/torrentsniff
+ reinplace "s|__PERL__|${perl5.bin}|g" ${worksrcpath}/torrentsniff
}
build { }
destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/${name}/BitTorrent/ ${destroot}${prefix}/bin/
- xinstall -m 644 ${worksrcpath}/BitTorrent/BDecode.pm ${destroot}${prefix}/share/${name}/BitTorrent/
- xinstall -m 755 ${worksrcpath}/torrentsniff ${destroot}${prefix}/bin/
+ xinstall -m 755 -d ${destroot}${prefix}/share/${name}/BitTorrent/ ${destroot}${prefix}/bin/
+ xinstall -m 644 ${worksrcpath}/BitTorrent/BDecode.pm ${destroot}${prefix}/share/${name}/BitTorrent/
+ xinstall -m 755 ${worksrcpath}/torrentsniff ${destroot}${prefix}/bin/
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150601/6d418807/attachment.html>
More information about the macports-changes
mailing list