source: trunk/dports/net/GTorrentViewer/Portfile

Last change on this file was 151920, checked in by mojca@…, 13 months ago

GTorrentViewer: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 151920 2016-08-23 22:13:22Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                GTorrentViewer
8version             0.2b
9revision            5
10platforms           darwin
11categories          net x11
12license             GPL-2+
13maintainers         nomaintainer
14
15description         GTK2 based viewer for .torrent files.
16long_description    GTorrentViewer is a GTK2-based viewer/editor for BitTorrent \
17                    meta files for UNIX like operating systems. It gathers information \
18                    from trackers, checks files, shows detailed information about \
19                    .torrents and even modifies some of it.
20
21homepage            http://gtorrentviewer.sourceforge.net/
22master_sites        sourceforge:gtorrentviewer
23
24checksums           rmd160  3a2c08b1c39c14a715fd5bfc0dbf0efb5fb49803 \
25                    sha256  6e56351103f5d46a45be160baa1b7b956b4416fcdb4533b3d17a309665690c95
26
27perl5.branches      5.24
28
29depends_build       port:pkgconfig
30depends_lib         lib:libgtk.2:gtk2 \
31                    port:curl \
32                    port:p${perl5.major}-xml-parser
33
34patchfiles          src_main.c.patch
35
36configure.args      --mandir=${prefix}/share/man \
37                    --with-curl-config=${prefix}/bin \
38                    --disable-gtktest
39
40build.type          gnu
41build.args          LDFLAGS="-bind_at_load"
42
43livecheck.name      GTorrentViewer
44# MacPorts considers 0.2b < 0.2.0, so we temporarily use a more restricted regex
45set livecheck.regex [list "/[quotemeta ${livecheck.name}]/(\[a-zA-Z0-9\]+\\.\[a-zA-Z0-9\]+)/"]
Note: See TracBrowser for help on using the repository browser.