source: trunk/dports/news/xpn/Portfile

Last change on this file was 103331, checked in by jmr@…, 4 years ago

xpn: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 103331 2013-02-22 08:29:51Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            xpn
6version         1.2.6
7revision        3
8categories      news
9license         GPL-2
10description     Graphical newsreader written in PyGtk.
11long_description XPN (X Python Newsreader) is a news client written in \
12                Python and based on the GTK+ library. It offers a good \
13                MIME support, scoring system, filtered views, random \
14                tag-lines, external editor support, one-key navigation, \
15                ROT13, Face and X-Face headers decoding, spoiler char \
16                and many more.
17maintainers     nomaintainer
18platforms       darwin
19supported_archs noarch
20homepage        http://xpn.altervista.org/
21master_sites    ${homepage}codice
22checksums       md5     6b77345290a27406e411ea0ffa54780f \
23                sha1    929a8e809121f3e286d5f36a76a0db5e2fa2875e \
24                rmd160  672bb8cd22d8e4d03b98cf34701451225f35a9b7
25depends_lib     port:py27-pygtk
26use_configure   no
27build           {}
28destroot {
29    file copy ${worksrcpath} ${destroot}${prefix}/share
30    file copy ${filespath}/xpn.sh ${destroot}${prefix}/bin/xpn
31    system "chmod +x ${destroot}${prefix}/share/xpn-${version}"
32    system "chmod -R og+rw ${destroot}${prefix}/share/xpn-${version}"
33    system "chmod +x ${destroot}${prefix}/bin/xpn"
34}
35
36post-destroot {
37    reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/xpn
38    reinplace "s|__VERSION__|${version}|g" ${destroot}${prefix}/bin/xpn
39}
40
41post-activate {
42    ui_msg "------------------------------------------------------"
43    ui_msg "XPN has been installed in ${prefix}/share/xpn-${version}"
44    ui_msg "and can be launched by calling the script 'xpn'"
45    ui_msg "that has been created in ${prefix}/bin"
46    ui_msg "------------------------------------------------------"
47}
Note: See TracBrowser for help on using the repository browser.