From f35b39863aef0ecfeaacc983cca41d91ebd53170 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 9 Feb 2009 17:48:17 +0000 Subject: Minimalistic cmdline tool to fetch RSS news from HTTP or local files and convert them into plain text, formatted html, or token-separated strings. This tool can be easily integrated into shellscripts, cron tasks, motd's, etc. WWW: http://nopcode.org/blog/rss2html.html PR: ports/131266 Submitted by: Dennis Herrmann --- textproc/rss2html/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ textproc/rss2html/distinfo | 3 +++ textproc/rss2html/pkg-descr | 6 ++++++ 3 files changed, 47 insertions(+) create mode 100644 textproc/rss2html/Makefile create mode 100644 textproc/rss2html/distinfo create mode 100644 textproc/rss2html/pkg-descr (limited to 'textproc/rss2html') diff --git a/textproc/rss2html/Makefile b/textproc/rss2html/Makefile new file mode 100644 index 000000000000..d11177b41ea4 --- /dev/null +++ b/textproc/rss2html/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: rss2html +# Date created: 2009-02-01 +# Whom: Dennis Herrmann +# +# $FreeBSD$ +# + +PORTNAME= rss2html +PORTVERSION= 0.8.2 +CATEGORIES= textproc +MASTER_SITES= http://mirror.mcx2.org/ \ + ftp://ftp.nopcode.org/prj/rss2html/ + +MAINTAINER= adox@mcx2.org +COMMENT= RSS to HTML converter + +LIB_DEPENDS+= curl.5:${PORTSDIR}/ftp/curl + +GNU_CONFIGURE= yes +CFLAGS+= "-I${LOCALBASE}/include" "-L${LOCALBASE}/lib" + +MAN1= rss2html.1 +MANCOMPRESSED= no + +PLIST_FILES= bin/rss2html +PORTDOCS= rss2html.links usage.example rss2html.template + +post-patch: + @${REINPLACE_CMD} -e '16,20d' ${WRKSRC}/Makefile.acr + +post-install: +.if !defined(NOPORTDOCS) + @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/ +.endif + +.include diff --git a/textproc/rss2html/distinfo b/textproc/rss2html/distinfo new file mode 100644 index 000000000000..42e1d098f580 --- /dev/null +++ b/textproc/rss2html/distinfo @@ -0,0 +1,3 @@ +MD5 (rss2html-0.8.2.tar.gz) = ad23d8fe53827f0e069d75c12ee64ae4 +SHA256 (rss2html-0.8.2.tar.gz) = f646ff9629b141a22b8493522cb86e8000dbbd33f9baf9997f2228060493d66b +SIZE (rss2html-0.8.2.tar.gz) = 26582 diff --git a/textproc/rss2html/pkg-descr b/textproc/rss2html/pkg-descr new file mode 100644 index 000000000000..b47cb56083ca --- /dev/null +++ b/textproc/rss2html/pkg-descr @@ -0,0 +1,6 @@ +Minimalistic cmdline tool to fetch RSS news from HTTP or local files and +convert them into plain text, formatted html, or token-separated strings. +This tool can be easily integrated into shellscripts, cron tasks, motd's, +etc. + +WWW: http://nopcode.org/blog/rss2html.html -- cgit v1.2.3