From d53e5f01e3aa146eaba3949fa6a8122ac505baa0 Mon Sep 17 00:00:00 2001 From: Nicola Vitale Date: Sun, 14 Jan 2007 21:55:30 +0000 Subject: With XPN you can read/write articles on the Usenet with a good MIME support (better than some well known newsreaders). XPN can operate with all the most diffuse charset starting from US-ASCII to UTF-8. When you edit an article XPN automatically chooses the best charset, however is always possible to override this choice. There also other useful features like scoring, filtered views, random tag-lines, external editor support, one-key navigation, ROT13, spoiler char ... WWW: http://xpn.altervista.org/ Approved by: alexbl (mentor, implicit) --- news/xpn/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 news/xpn/Makefile (limited to 'news/xpn/Makefile') diff --git a/news/xpn/Makefile b/news/xpn/Makefile new file mode 100644 index 000000000000..8f28498be8e1 --- /dev/null +++ b/news/xpn/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: xpn +# Date created: 2007-01-14 +# Whom: Nicola Vitale +# +# $FreeBSD$ +# + +PORTNAME= xpn +PORTVERSION= 0.7.0 +CATEGORIES= news python +MASTER_SITES= http://xpn.altervista.org/codice/ \ + http://nivi.interfree.it/distfiles/${PORTNAME}/ + +MAINTAINER= nivit@FreeBSD.org +COMMENT= X Python Newsreader + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 + +NO_BUILD= yes + +USE_PYTHON= 2.4+ + +FIND_DIRS= -type d +FIND_DATA= -type f -mindepth 2 + +SUB_FILES= ${PORTNAME} +SUB_LIST= PYTHON_CMD=${PYTHON_CMD} XPN=${XPN} + +USE_GETTEXT= yes + +XPN= ${PORTNAME}.py + +do-install: + ${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${XPN} ${DATADIR}/${XPN} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + cd ${WRKSRC} && ${FIND} . ${FIND_DIRS} -exec ${MKDIR} ${DATADIR}/{} ";" + cd ${WRKSRC} && ${FIND} . ${FIND_DATA} -exec ${INSTALL_DATA} {} ${DATADIR}/{} ";" +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR} +.endif + +.include -- cgit v1.2.3