source: trunk/dports/net/canto/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                canto
8version             0.6.13
9revision            2
10categories          net python
11maintainers         codezen.org:jack
12license             GPL-2
13
14description         flexible ncurses Atom/RSS newsreader for the console
15long_description    Canto is an Atom/RSS feed reader for the console that is meant to be \
16quick, concise, and colorful. It provides a minimal, yet information packed interface with \
17almost infinite customization and extensibility
18homepage            http://codezen.org/canto
19platforms           darwin
20master_sites        http://codezen.org/static/
21
22checksums           md5 7836cf54cbb0af48d3d68a8aa86432b7 \
23                    sha1 e86e0980cee126a6eeff5ef4c8effba41ff3245b
24
25python.default_version  26
26
27depends_lib         port:ncurses \
28                    port:py${python.version}-feedparser \
29                    port:py${python.version}-chardet
30
31
32post-destroot {
33    ln -s ${python.prefix}/bin/canto ${destroot}${prefix}/bin/canto
34}
35
36pre-activate {
37    set filepath ${prefix}/bin/canto
38    if {![catch {file type $filepath}] && [registry_file_registered $filepath] == "0"} {
39        file delete -force $filepath
40    }
41}
Note: See TracBrowser for help on using the repository browser.