# $Id: Portfile 81018 2011-07-23 14:23:58Z gui_dos@macports.org $ PortSystem 1.0 name xpn version 1.2.6 revision 2 categories news description Graphical newsreader written in PyGtk. long_description XPN (X Python Newsreader) is a news client written in \ Python and based on the GTK+ library. It offers a good \ MIME support, scoring system, filtered views, random \ tag-lines, external editor support, one-key navigation, \ ROT13, Face and X-Face headers decoding, spoiler char \ and many more. maintainers nomaintainer platforms darwin homepage http://xpn.altervista.org/ master_sites ${homepage}codice checksums md5 6b77345290a27406e411ea0ffa54780f \ sha1 929a8e809121f3e286d5f36a76a0db5e2fa2875e \ rmd160 672bb8cd22d8e4d03b98cf34701451225f35a9b7 depends_lib port:py27-gtk use_configure no universal_variant no build {} destroot { file copy ${worksrcpath} ${destroot}${prefix}/share file copy ${filespath}/xpn.sh ${destroot}${prefix}/bin/xpn system "chmod +x ${destroot}${prefix}/share/xpn-${version}" system "chmod -R og+rw ${destroot}${prefix}/share/xpn-${version}" system "chmod +x ${destroot}${prefix}/bin/xpn" } post-destroot { reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${prefix}/bin/xpn reinplace "s|__VERSION__|${version}|g" ${destroot}${prefix}/bin/xpn } post-activate { ui_msg "------------------------------------------------------" ui_msg "XPN has been installed in ${prefix}/share/xpn-${version}" ui_msg "and can be launched by calling the script 'xpn'" ui_msg "that has been created in ${prefix}/bin" ui_msg "------------------------------------------------------" }