# $Id: Portfile 26775 2007-07-07 00:53:02Z markd@macports.org $ PortSystem 1.0 name xpn version 0.7.0 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 guido.soranzio@gmail.com homepage http://xpn.altervista.org/ master_sites ${homepage}codice checksums md5 3df054fc7c25f2e579407c1f148b9a27 depends_lib port:py-gtk2 configure {} 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 "------------------------------------------------------" }