summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-news/knews/ChangeLog8
-rw-r--r--net-news/knews/files/digest-knews-1.0.1b-r11
-rw-r--r--net-news/knews/files/knews-1.0.1b-r1.patch38
-rw-r--r--net-news/knews/knews-1.0.1b-r1.ebuild52
4 files changed, 99 insertions, 0 deletions
diff --git a/net-news/knews/ChangeLog b/net-news/knews/ChangeLog
new file mode 100644
index 000000000000..9b8f88646ce8
--- /dev/null
+++ b/net-news/knews/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-news/knews
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-news/knews/ChangeLog,v 1.1 2002/04/12 21:38:58 spider Exp $
+
+*knews-1.0.1b-r1 (12 Apr 2002)
+ 12 Apr 2002; Spider <spider@gentoo.org>:
+ Create Changelog
+ new revision with updated libpng dependency
diff --git a/net-news/knews/files/digest-knews-1.0.1b-r1 b/net-news/knews/files/digest-knews-1.0.1b-r1
new file mode 100644
index 000000000000..e1917fe7a9c7
--- /dev/null
+++ b/net-news/knews/files/digest-knews-1.0.1b-r1
@@ -0,0 +1 @@
+MD5 850ebff7772d576314060ebe6ef81b73 knews-1.0b.1.tar.gz 392225
diff --git a/net-news/knews/files/knews-1.0.1b-r1.patch b/net-news/knews/files/knews-1.0.1b-r1.patch
new file mode 100644
index 000000000000..35d3d735044d
--- /dev/null
+++ b/net-news/knews/files/knews-1.0.1b-r1.patch
@@ -0,0 +1,38 @@
+diff -urP knews-1.0b.1.orig/configure.h knews-1.0b.1/configure.h
+--- knews-1.0b.1.orig/configure.h Tue Dec 29 04:47:02 1998
++++ knews-1.0b.1/configure.h Sun Apr 22 19:42:04 2001
+@@ -16,6 +16,7 @@
+ */
+ /* #define MAIL_COMMAND "/usr/sbin/sendmail -t" */
+ /* #define MAIL_COMMAND "/usr/lib/sendmail -t" */
++#define MAIL_COMMAND "/bin/false"
+
+
+
+@@ -84,9 +85,9 @@
+ * libcompface.
+ */
+
+-#define HAVE_JPEG 0
+-#define HAVE_PNG 0
+-#define HAVE_COMPFACE 0
++#define HAVE_JPEG 1
++#define HAVE_PNG 1
++#define HAVE_COMPFACE 1
+
+
+
+diff -urP knews-1.0b.1.orig/knews.tmpl knews-1.0b.1/knews.tmpl
+--- knews-1.0b.1.orig/knews.tmpl Tue Dec 29 05:14:55 1998
++++ knews-1.0b.1/knews.tmpl Sun Apr 22 19:42:04 2001
+@@ -83,4 +83,9 @@
+ * If you need to add include paths for e.g. libjpeg, libpng or libzlib
+ * include files, do it here.
+ */
+-KNEWS_INCLUDES =
++KNEWS_INCLUDES = -I/usr/include
++
++CC = gcc
++CCOPTIONS = -Wall
++CDEBUGFLAGS = -O2
++
diff --git a/net-news/knews/knews-1.0.1b-r1.ebuild b/net-news/knews/knews-1.0.1b-r1.ebuild
new file mode 100644
index 000000000000..9ec3b5822193
--- /dev/null
+++ b/net-news/knews/knews-1.0.1b-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Michael Conrad Tilstra <michael@gentoo.org> <tadpol@tadpol.org>
+# $Header: /var/cvsroot/gentoo-x86/net-news/knews/knews-1.0.1b-r1.ebuild,v 1.1 2002/04/12 21:38:58 spider Exp $
+
+#P=knews-1.0.1b
+A=knews-1.0b.1.tar.gz
+S=${WORKDIR}/knews-1.0b.1
+DESCRIPTION="A threaded newsreader for X."
+SRC_URI="http://www.matematik.su.se/~kjj/${A}"
+HOMEPAGE="http://www.matematik.su.se/~kjj/"
+
+DEPEND=">=x11-base/xfree-4.0
+ >=media-libs/jpeg-6
+ >=media-libs/libpng-1.2.1
+ >=media-libs/compface-1.4"
+
+# If knews used autoconf, we wouldn't need this patch.
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/${P}.patch
+}
+
+src_compile() {
+ try xmkmf
+ try make Makefiles
+ try make clean
+ try make all
+ try pushd util/knewsd
+ try xmkmf
+ try make all
+ try popd
+}
+
+src_install () {
+ #Install knews
+ try make DESTDIR=${D} install
+ try make DESTDIR=${D} DOCHTMLDIR=/usr/share/doc/${P} \
+ MANPATH=/usr/share/man MANSUFFIX=1 install.man
+
+ #Install knewsd
+ try pushd util/knewsd
+ try make DESTDIR=${D} install
+ try make DESTDIR=${D} DOCHTMLDIR=/usr/share/doc/${P} \
+ MANPATH=/usr/share/man MANSUFFIX=1 install.man
+ try popd
+
+ #Other docs.
+ dodoc COPYING COPYRIGHT Changes README
+}
+