aboutsummaryrefslogtreecommitdiff
path: root/news/mail2nntp
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-02-14 05:09:24 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-02-14 05:09:24 +0000
commit79dfd4e1564f5fcd0d250f8d3abb963717c48c2d (patch)
tree887374334e4a42e7c41316f29a32f5b7989810f3 /news/mail2nntp
parentcf79dec297a0d785746246f532df0552a4e84b46 (diff)
downloadports-79dfd4e1564f5fcd0d250f8d3abb963717c48c2d.tar.gz
ports-79dfd4e1564f5fcd0d250f8d3abb963717c48c2d.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
Notes
Notes: svn path=/head/; revision=312191
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/