From b5b569e0bc32ed836ae688f35cdc856556d7e467 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Mon, 3 Nov 2003 16:19:16 +0000 Subject: Add snownews 1.3.3, a text mode RSS newsreader. PR: 58854 Submitted by: Cheng-Lung Sung --- www/snownews/Makefile | 26 ++++++++++++++++++++++++++ www/snownews/distinfo | 1 + www/snownews/files/patch-Makefile | 13 +++++++++++++ www/snownews/files/patch-Makefile.inc | 9 +++++++++ www/snownews/pkg-descr | 23 +++++++++++++++++++++++ www/snownews/pkg-plist | 14 ++++++++++++++ 6 files changed, 86 insertions(+) create mode 100644 www/snownews/Makefile create mode 100644 www/snownews/distinfo create mode 100644 www/snownews/files/patch-Makefile create mode 100644 www/snownews/files/patch-Makefile.inc create mode 100644 www/snownews/pkg-descr create mode 100644 www/snownews/pkg-plist (limited to 'www/snownews') diff --git a/www/snownews/Makefile b/www/snownews/Makefile new file mode 100644 index 000000000000..8331a03cb78e --- /dev/null +++ b/www/snownews/Makefile @@ -0,0 +1,26 @@ +# ex:ts=8 +# New ports collection makefile for: snownews +# Date created: Nov 3 2003 +# Whom: Cheng-Lung Sung +# +# $FreeBSD$ +# + +PORTNAME= snownews +PORTVERSION= 1.3.3 +CATEGORIES= www +MASTER_SITES= http://home.kcore.de/~kiza/software/snownews/download/ + +MAINTAINER= clsung@dragon2.net +COMMENT= A text mode RSS newsreader + +BUILD_DEPENDS= ${LOCALBASE}/bin/xml2-config:${PORTSDIR}/textproc/libxml2 +LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \ + iconv.3:${PORTSDIR}/converters/libiconv + +USE_GMAKE= yes + +MAN1= snownews.1 +MANLANG= "" de nl fr + +.include diff --git a/www/snownews/distinfo b/www/snownews/distinfo new file mode 100644 index 000000000000..05303f33bf17 --- /dev/null +++ b/www/snownews/distinfo @@ -0,0 +1 @@ +MD5 (snownews-1.3.3.tar.gz) = 569ab60f18d1e78a9aa1eec534558bb6 diff --git a/www/snownews/files/patch-Makefile b/www/snownews/files/patch-Makefile new file mode 100644 index 000000000000..2ddc0cefcafb --- /dev/null +++ b/www/snownews/files/patch-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig Mon Nov 3 04:41:22 2003 ++++ Makefile Tue Nov 4 00:00:15 2003 +@@ -1,8 +1,8 @@ + include Makefile.inc + +-LDFLAGS = -lncurses `xml2-config --libs` $(EXTRA_LDFLAGS) ++LDFLAGS = -lncurses `xml2-config --libs` $(EXTRA_LDFLAGS) -lintl -liconv + OBJFILES = main.o netio.o interface.o xmlparse.o updatecheck.o conversions.o dialog.o +-CFLAGS = -Wall -O2 -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS) ++CFLAGS += -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS) + VERSION = `grep VERSION version.h | sed s/\"//g | sed s/\#define\ VERSION\ //` + MAN = doc/man + DISTDIR = snownews-$(VERSION) diff --git a/www/snownews/files/patch-Makefile.inc b/www/snownews/files/patch-Makefile.inc new file mode 100644 index 000000000000..552bc1ef48cb --- /dev/null +++ b/www/snownews/files/patch-Makefile.inc @@ -0,0 +1,9 @@ +--- Makefile.inc.orig Mon Nov 3 04:41:22 2003 ++++ Makefile.inc Tue Nov 4 00:00:24 2003 +@@ -1,5 +1,5 @@ + CC = gcc +-MAKE = make ++MAKE = gmake + PREFIX = /usr/local + LOCALEPATH = $(PREFIX)/share/locale + DISTFILES = AUTHOR COPYING CREDITS Changelog README README.de INSTALL INSTALL.solaris INSTALL.FreeOpenNetBSD TODO opml2snow \ diff --git a/www/snownews/pkg-descr b/www/snownews/pkg-descr new file mode 100644 index 000000000000..0ef784ba3f55 --- /dev/null +++ b/www/snownews/pkg-descr @@ -0,0 +1,23 @@ +Snownews is a text mode RSS/RDF newsreader. It supports RSS 1.0 feeds that +comply with the W3C RDF specification and also supports Radio Userland's +RSS 0.91 and 2.0 versions. + +Features: + + * Runs on Linux, *BSD, OS X (Darwin), Solaris and probably + many more Unices. Yes, even works under Cygwin. + * Fast and very resource friendly. + * Bultin HTTP client will follow server redirects and update feed + URLs that point to permanent redirects (301) automatically. + * Snownews understands "Not-Modified" (304) server replies and handles + gzip/deflate Content-Encoding. + * Local cache for minimal network traffic. + * HTTP proxy support. + * A help menu available throughout the program. + * Automatic update checking (can be deactivated). + * Few dependencies on external libraries; ncurses and libxml2. + * Import feature for OPML subscription lists. + * Fully customizable key bindings of all program functions. + * Type Ahead Find for quick and easy navigation. + +WWW: http://home.kcore.de/~kiza/software/snownews/ diff --git a/www/snownews/pkg-plist b/www/snownews/pkg-plist new file mode 100644 index 000000000000..2e39a1a7ab3c --- /dev/null +++ b/www/snownews/pkg-plist @@ -0,0 +1,14 @@ +bin/opml2snow +bin/snownews +share/locale/de/LC_MESSAGES/snownews.mo +share/locale/fr/LC_MESSAGES/snownews.mo +share/locale/nl/LC_MESSAGES/snownews.mo +share/locale/sl/LC_MESSAGES/snownews.mo +@unexec rmdir %D/man/fr/man1 2>/dev/null || true +@unexec rmdir %D/man/fr 2>/dev/null || true +@unexec rmdir %D/man/de/man1 2>/dev/null || true +@unexec rmdir %D/man/de 2>/dev/null || true +@unexec rmdir %D/man/nl/man1 2>/dev/null || true +@unexec rmdir %D/man/nl 2>/dev/null || true +@unexec rmdir %D/man/sl/man1 2>/dev/null || true +@unexec rmdir %D/man/sl 2>/dev/null || true -- cgit v1.2.3