1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name xpn |
---|
6 | version 0.7.0 |
---|
7 | categories news |
---|
8 | description Graphical newsreader written in PyGtk. |
---|
9 | long_description \ |
---|
10 | XPN (X Python Newsreader) is a news client written in \ |
---|
11 | Python and based on the GTK+ library. It offers a good \ |
---|
12 | MIME support, scoring system, filtered views, random \ |
---|
13 | tag-lines, external editor support, one-key navigation, \ |
---|
14 | ROT13, Face and X-Face headers decoding, spoiler char \ |
---|
15 | and many more. |
---|
16 | maintainers guido.soranzio@gmail.com |
---|
17 | homepage http://xpn.altervista.org/ |
---|
18 | master_sites ${homepage}codice |
---|
19 | checksums md5 3df054fc7c25f2e579407c1f148b9a27 |
---|
20 | depends_lib port:py-gtk2 |
---|
21 | configure {} |
---|
22 | build {} |
---|
23 | destroot { |
---|
24 | file copy ${worksrcpath} ${destroot}${prefix}/share |
---|
25 | system "chmod +x ${destroot}${prefix}/share/xpn-${version}" |
---|
26 | system "chmod -R og+rw ${destroot}${prefix}/share/xpn-${version}" |
---|
27 | system "echo \\#! ${prefix}/bin/python ${prefix}/share/xpn-${version}/xpn.py --home_dir\ |
---|
28 | > ${destroot}${prefix}/bin/xpn" |
---|
29 | system "chmod +x ${destroot}${prefix}/bin/xpn" |
---|
30 | } |
---|
31 | |
---|
32 | post-activate { |
---|
33 | ui_msg "------------------------------------------------------" |
---|
34 | ui_msg "XPN has been installed in ${prefix}/share/xpn-${version}" |
---|
35 | ui_msg "and can be launched by calling the script 'xpn'" |
---|
36 | ui_msg "that has been created in ${prefix}/bin" |
---|
37 | ui_msg "------------------------------------------------------" |
---|
38 | } |
---|