aboutsummaryrefslogtreecommitdiffstats
path: root/news/mail2nntp
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-02-14 13:09:24 +0800
committerjgh <jgh@FreeBSD.org>2013-02-14 13:09:24 +0800
commit4c2e82da70ffd966d22b2f002f1510d3e2a85dcb (patch)
tree887374334e4a42e7c41316f29a32f5b7989810f3 /news/mail2nntp
parentceb5ab337ee4a8d438b01ac2d3bd9a98e5748b8a (diff)
downloadfreebsd-ports-gnome-4c2e82da70ffd966d22b2f002f1510d3e2a85dcb.tar.gz
freebsd-ports-gnome-4c2e82da70ffd966d22b2f002f1510d3e2a85dcb.tar.zst
freebsd-ports-gnome-4c2e82da70ffd966d22b2f002f1510d3e2a85dcb.zip
add new port: news/mail2nntp
mail2nntp is a bridge from email realm to the newsgroup one. It can be used to replicate a mailing-list on a newsgroup server. It is a generic toot, using NNTP network commands WWW: http://sourceforge.net/projects/mail2nntp/ PR: 176120 Submitted by: gary@hayers.org
Diffstat (limited to 'news/mail2nntp')
-rw-r--r--news/mail2nntp/Makefile32
-rw-r--r--news/mail2nntp/distinfo2
-rw-r--r--news/mail2nntp/pkg-descr5
3 files changed, 39 insertions, 0 deletions
diff --git a/news/mail2nntp/Makefile b/news/mail2nntp/Makefile
new file mode 100644
index 000000000000..cccce3892c0d
--- /dev/null
+++ b/news/mail2nntp/Makefile
@@ -0,0 +1,32 @@
+# Created by: gary@hayers.org
+# $FreeBSD$
+
+PORTNAME= mail2nntp
+PORTVERSION= 1.0
+CATEGORIES= news mail
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Stable%201.0/
+
+MAINTAINER= gary@hayers.org
+COMMENT= Simple mail to news gateway
+
+LICENSE= GPLv2
+
+RUN_DEPENDS= p5-NNTPClient>=0:${PORTSDIR}/news/p5-NNTPClient
+
+USE_PERL5_RUN= yes
+NO_BUILD= yes
+
+PORTDOCS= *
+PLIST_FILES= bin/mail2nntp.pl
+
+.include <bsd.port.options.mk>
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mail2nntp.pl ${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Changelog ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/news/mail2nntp/distinfo b/news/mail2nntp/distinfo
new file mode 100644
index 000000000000..5c7cea353b60
--- /dev/null
+++ b/news/mail2nntp/distinfo
@@ -0,0 +1,2 @@
+SHA256 (mail2nntp-1.0.tar.gz) = 1ba8eacbb0a8ef7d0a1fd1487e4f06c794d56383daa0a481365064e2d2f75346
+SIZE (mail2nntp-1.0.tar.gz) = 9644
diff --git a/news/mail2nntp/pkg-descr b/news/mail2nntp/pkg-descr
new file mode 100644
index 000000000000..8d8d7f4be714
--- /dev/null
+++ b/news/mail2nntp/pkg-descr
@@ -0,0 +1,5 @@
+mail2nntp is a bridge from email realm to the newsgroup one.
+It can be used to replicate a mailing-list on a newsgroup server.
+It is a generic toot, using NNTP network commands
+
+WWW: http://sourceforge.net/projects/mail2nntp/