[26775] trunk/dports/news

source_changes at macosforge.org source_changes at macosforge.org
Fri Jul 6 17:53:02 PDT 2007


Revision: 26775
          http://trac.macosforge.org/projects/macports/changeset/26775
Author:   markd at macports.org
Date:     2007-07-06 17:53:02 -0700 (Fri, 06 Jul 2007)

Log Message:
-----------
Closes #11228.  New port.

Added Paths:
-----------
    trunk/dports/news/xpn/
    trunk/dports/news/xpn/Portfile
    trunk/dports/news/xpn/files/
    trunk/dports/news/xpn/files/xpn.sh

Added: trunk/dports/news/xpn/Portfile
===================================================================
--- trunk/dports/news/xpn/Portfile	                        (rev 0)
+++ trunk/dports/news/xpn/Portfile	2007-07-07 00:53:02 UTC (rev 26775)
@@ -0,0 +1,44 @@
+# $Id$
+
+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 at 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 "------------------------------------------------------"
+}


Property changes on: trunk/dports/news/xpn/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/news/xpn/files/xpn.sh
===================================================================
--- trunk/dports/news/xpn/files/xpn.sh	                        (rev 0)
+++ trunk/dports/news/xpn/files/xpn.sh	2007-07-07 00:53:02 UTC (rev 26775)
@@ -0,0 +1 @@
+#!__PREFIX__/bin/python __PREFIX__/share/xpn-__VERSION__/xpn.py --home_dir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070706/1e3373f5/attachment.html


More information about the macports-changes mailing list