[103846] trunk/dports/net/torrentsniff

jmr at macports.org jmr at macports.org
Fri Mar 8 13:49:05 PST 2013


Revision: 103846
          https://trac.macports.org/changeset/103846
Author:   jmr at macports.org
Date:     2013-03-08 13:49:05 -0800 (Fri, 08 Mar 2013)
Log Message:
-----------
torrentsniff: license, noarch, use correct perl

Modified Paths:
--------------
    trunk/dports/net/torrentsniff/Portfile
    trunk/dports/net/torrentsniff/files/patch_torrentsniff

Modified: trunk/dports/net/torrentsniff/Portfile
===================================================================
--- trunk/dports/net/torrentsniff/Portfile	2013-03-08 21:45:03 UTC (rev 103845)
+++ trunk/dports/net/torrentsniff/Portfile	2013-03-08 21:49:05 UTC (rev 103846)
@@ -7,6 +7,7 @@
 version			0.3.0
 revision        3
 categories		net perl
+license			MIT
 maintainers		nomaintainer
 description		torrent status program
 long_description	TorrentSniff is a command line Perl program \
@@ -14,10 +15,14 @@
 			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.12
+perl5.default_branch 5.12
+
 depends_lib-append		port:p5.12-libwww-perl \
 				port:p5.12-digest-sha1
 
@@ -26,6 +31,7 @@
 configure {
 	reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/torrentsniff
 	reinplace "s|__NAME__|${name}|g" ${worksrcpath}/torrentsniff
+	reinplace "s|__PERL__|${perl5.bin}|g" ${worksrcpath}/torrentsniff
 }
 
 build { }

Modified: trunk/dports/net/torrentsniff/files/patch_torrentsniff
===================================================================
--- trunk/dports/net/torrentsniff/files/patch_torrentsniff	2013-03-08 21:45:03 UTC (rev 103845)
+++ trunk/dports/net/torrentsniff/files/patch_torrentsniff	2013-03-08 21:49:05 UTC (rev 103846)
@@ -2,7 +2,7 @@
 +++ torrentsniff	2007-04-09 21:44:17.000000000 -0400
 @@ -1,4 +1,4 @@
 -#! /usr/bin/perl -w
-+#! __PREFIX__/bin/perl -w
++#! __PERL__ -w
  
  # This is part of modern Perl distributions.
  use FindBin;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130308/30e90a0b/attachment.html>


More information about the macports-changes mailing list