source: trunk/dports/net/torrentsniff/Portfile @ 69376

Last change on this file since 69376 was 69376, checked in by dports@…, 9 years ago

Set nomaintainer on all ports formerly maintained by eridius (see
comments in #25427)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 69376 2010-07-02 21:06:00Z dports@macports.org $
2
3PortSystem 1.0
4PortGroup perl5 1.0
5
6name                    torrentsniff
7version                 0.3.0
8categories              net perl
9maintainers             nomaintainer
10description             torrent status program
11long_description        TorrentSniff is a command line Perl program \
12                        that reads a BitTorrent .torrent file from the local file \
13                        system or from a URL and reports on the status of the torrent.
14homepage                http://www.highprogrammer.com/alan/perl/torrentsniff.html
15platforms               darwin
16master_sites    http://www.highprogrammer.com/alan/perl/
17checksums               md5  3884cac276a990a95ea77738195508aa \
18                                sha1 ee683f2fbce004ae2f6daf9589b0d65db529fffb
19
20depends_lib             port:p5-libwww-perl \
21                                port:p5-digest-sha1
22
23patchfiles              patch_torrentsniff
24
25configure {
26        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/torrentsniff
27        reinplace "s|__NAME__|${name}|g" ${worksrcpath}/torrentsniff
28}
29
30build { }
31
32destroot {
33        xinstall -m 755 -d ${destroot}${prefix}/share/${name}/BitTorrent/ ${destroot}${prefix}/bin/
34        xinstall -m 644 ${worksrcpath}/BitTorrent/BDecode.pm ${destroot}${prefix}/share/${name}/BitTorrent/
35        xinstall -m 755 ${worksrcpath}/torrentsniff ${destroot}${prefix}/bin/
36}
Note: See TracBrowser for help on using the repository browser.