1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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)
This commit is contained in:
Nicola Vitale 2007-01-14 21:55:30 +00:00
parent 68a5374644
commit d53e5f01e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182374
6 changed files with 189 additions and 0 deletions

View File

@ -101,6 +101,7 @@
SUBDIR += ubh
SUBDIR += unpost
SUBDIR += xmitbin
SUBDIR += xpn
SUBDIR += xrn
SUBDIR += yencode
SUBDIR += yydecode

44
news/xpn/Makefile Normal file
View File

@ -0,0 +1,44 @@
# New ports collection makefile for: xpn
# Date created: 2007-01-14
# Whom: Nicola Vitale <nivit@FreeBSD.org>
#
# $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 <bsd.port.mk>

3
news/xpn/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (xpn-0.7.0.tar.gz) = 3df054fc7c25f2e579407c1f148b9a27
SHA256 (xpn-0.7.0.tar.gz) = fc74cf28436001211aec2d4a054048dfa2132bccc231b637cf046fb8cb6c801d
SIZE (xpn-0.7.0.tar.gz) = 272093

10
news/xpn/files/xpn.in Normal file
View File

@ -0,0 +1,10 @@
#!/bin/sh
#
# $FreeBSD$
#
if [ -z "$1" ] ; then
export XPN_ARGS=-d
else
export XPN_ARGS="$@"
fi
exec %%PYTHON_CMD%% %%DATADIR%%/%%XPN%% ${XPN_ARGS}

12
news/xpn/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
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/

119
news/xpn/pkg-plist Normal file
View File

@ -0,0 +1,119 @@
@comment $FreeBSD$
bin/xpn
%%PORTDOCS%%%%DOCSDIR%%/xpn.html
%%DATADIR%%/lang/de/LC_MESSAGES/xpn.mo
%%DATADIR%%/lang/fr/LC_MESSAGES/xpn.mo
%%DATADIR%%/lang/it/LC_MESSAGES/xpn.mo
%%DATADIR%%/lang/xpn.pot
%%DATADIR%%/pixmaps/about.xpm
%%DATADIR%%/pixmaps/art_body.xpm
%%DATADIR%%/pixmaps/art_fup.xpm
%%DATADIR%%/pixmaps/art_ignore.xpm
%%DATADIR%%/pixmaps/art_keep.xpm
%%DATADIR%%/pixmaps/art_mark.xpm
%%DATADIR%%/pixmaps/art_read.xpm
%%DATADIR%%/pixmaps/art_unkeep.xpm
%%DATADIR%%/pixmaps/art_unread.xpm
%%DATADIR%%/pixmaps/art_unwatchignore.xpm
%%DATADIR%%/pixmaps/art_watch.xpm
%%DATADIR%%/pixmaps/cancel.xpm
%%DATADIR%%/pixmaps/collapse.xpm
%%DATADIR%%/pixmaps/collapse_all.xpm
%%DATADIR%%/pixmaps/conf.xpm
%%DATADIR%%/pixmaps/config-display.png
%%DATADIR%%/pixmaps/config-groups.png
%%DATADIR%%/pixmaps/config-misc.png
%%DATADIR%%/pixmaps/config-posting.png
%%DATADIR%%/pixmaps/config-servers.png
%%DATADIR%%/pixmaps/config-users.png
%%DATADIR%%/pixmaps/de.xpm
%%DATADIR%%/pixmaps/delete.xpm
%%DATADIR%%/pixmaps/dialog-error.xpm
%%DATADIR%%/pixmaps/discard.xpm
%%DATADIR%%/pixmaps/editor.xpm
%%DATADIR%%/pixmaps/email.gif
%%DATADIR%%/pixmaps/en.xpm
%%DATADIR%%/pixmaps/exit.xpm
%%DATADIR%%/pixmaps/expand.xpm
%%DATADIR%%/pixmaps/expand_all.xpm
%%DATADIR%%/pixmaps/find.xpm
%%DATADIR%%/pixmaps/folder.xpm
%%DATADIR%%/pixmaps/folder_open.xpm
%%DATADIR%%/pixmaps/followup.xpm
%%DATADIR%%/pixmaps/fr.xpm
%%DATADIR%%/pixmaps/global_search.xpm
%%DATADIR%%/pixmaps/groups.xpm
%%DATADIR%%/pixmaps/it.xpm
%%DATADIR%%/pixmaps/layout1.xpm
%%DATADIR%%/pixmaps/layout2.xpm
%%DATADIR%%/pixmaps/layout3.xpm
%%DATADIR%%/pixmaps/layout4.xpm
%%DATADIR%%/pixmaps/layout5.xpm
%%DATADIR%%/pixmaps/lower_score.xpm
%%DATADIR%%/pixmaps/mark.xpm
%%DATADIR%%/pixmaps/mark_all.xpm
%%DATADIR%%/pixmaps/mark_multiple.xpm
%%DATADIR%%/pixmaps/next.xpm
%%DATADIR%%/pixmaps/next_unread.xpm
%%DATADIR%%/pixmaps/outbox.xpm
%%DATADIR%%/pixmaps/part.xpm
%%DATADIR%%/pixmaps/post.xpm
%%DATADIR%%/pixmaps/previous.xpm
%%DATADIR%%/pixmaps/raise_score.xpm
%%DATADIR%%/pixmaps/raw.xpm
%%DATADIR%%/pixmaps/receive_bodies.xpm
%%DATADIR%%/pixmaps/receive_bodies_selected.xpm
%%DATADIR%%/pixmaps/receive_headers.xpm
%%DATADIR%%/pixmaps/receive_headers_selected.xpm
%%DATADIR%%/pixmaps/reply.xpm
%%DATADIR%%/pixmaps/rot13.xpm
%%DATADIR%%/pixmaps/score.xpm
%%DATADIR%%/pixmaps/search.xpm
%%DATADIR%%/pixmaps/send.xpm
%%DATADIR%%/pixmaps/send_queue.xpm
%%DATADIR%%/pixmaps/send_queued_art.xpm
%%DATADIR%%/pixmaps/send_queued_mail.xpm
%%DATADIR%%/pixmaps/set_score.xpm
%%DATADIR%%/pixmaps/spoiler_char.xpm
%%DATADIR%%/pixmaps/supersede.xpm
%%DATADIR%%/pixmaps/xpn-icon.png
%%DATADIR%%/pixmaps/xpn-logo-small.png
%%DATADIR%%/pixmaps/xpn.xpm
%%DATADIR%%/xpn.py
%%DATADIR%%/xpn_src/Article.py
%%DATADIR%%/xpn_src/Article_Pane.py
%%DATADIR%%/xpn_src/Charset_List.py
%%DATADIR%%/xpn_src/Config_File.py
%%DATADIR%%/xpn_src/Config_Win.py
%%DATADIR%%/xpn_src/Connections_Handler.py
%%DATADIR%%/xpn_src/Dialogs.py
%%DATADIR%%/xpn_src/Edit_Mail_Win.py
%%DATADIR%%/xpn_src/Edit_Win.py
%%DATADIR%%/xpn_src/Find_Win.py
%%DATADIR%%/xpn_src/Groups_Pane.py
%%DATADIR%%/xpn_src/Groups_Win.py
%%DATADIR%%/xpn_src/Headers_List.py
%%DATADIR%%/xpn_src/KeyBindings.py
%%DATADIR%%/xpn_src/ListThread.py
%%DATADIR%%/xpn_src/Newsrc.py
%%DATADIR%%/xpn_src/Outbox_Manager.py
%%DATADIR%%/xpn_src/Score.py
%%DATADIR%%/xpn_src/Server_Win.py
%%DATADIR%%/xpn_src/Show_Logs.py
%%DATADIR%%/xpn_src/Threads_Pane.py
%%DATADIR%%/xpn_src/UserDir.py
%%DATADIR%%/xpn_src/XFace.py
%%DATADIR%%/xpn_src/__init__.py
%%DATADIR%%/xpn_src/add_tag.py
%%DATADIR%%/xpn_src/nntplib_ssl.py
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%/lang/de/LC_MESSAGES
@dirrm %%DATADIR%%/lang/de
@dirrm %%DATADIR%%/lang/fr/LC_MESSAGES
@dirrm %%DATADIR%%/lang/fr
@dirrm %%DATADIR%%/lang/it/LC_MESSAGES
@dirrm %%DATADIR%%/lang/it
@dirrm %%DATADIR%%/lang
@dirrm %%DATADIR%%/pixmaps
@dirrm %%DATADIR%%/xpn_src
@dirrm %%DATADIR%%