summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-nntp/xrn/ChangeLog20
-rw-r--r--net-nntp/xrn/Manifest14
-rw-r--r--net-nntp/xrn/files/digest-xrn-9.021
-rw-r--r--net-nntp/xrn/metadata.xml5
-rw-r--r--net-nntp/xrn/xrn-9.02.ebuild60
5 files changed, 100 insertions, 0 deletions
diff --git a/net-nntp/xrn/ChangeLog b/net-nntp/xrn/ChangeLog
new file mode 100644
index 000000000000..72e851831b3d
--- /dev/null
+++ b/net-nntp/xrn/ChangeLog
@@ -0,0 +1,20 @@
+# ChangeLog for net-news/xrn
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/xrn/ChangeLog,v 1.1 2005/01/17 20:26:53 swegener Exp $
+
+*xrn-9.02 (17 Jan 2005)
+
+ 17 Jan 2005; Sven Wegener <swegener@gentoo.org> +metadata.xml,
+ +xrn-9.02.ebuild:
+ Moved from net-news/xrn to net-nntp/xrn.
+
+ 24 Aug 2004; Sven Wegener <swegener@gentoo.org> xrn-9.02.ebuild:
+ Stable on x86.
+
+*xrn-9.02 (24 Jul 2004)
+
+ 24 Jul 2004; Sven Wegener <swegener@gentoo.org> +metadata.xml,
+ +xrn-9.02.ebuild:
+ Initial import, ebuild submitted by Alastair Murray
+ <alastairmurray@hotmail.com> in bug #56345.
+
diff --git a/net-nntp/xrn/Manifest b/net-nntp/xrn/Manifest
new file mode 100644
index 000000000000..69acd7d9c596
--- /dev/null
+++ b/net-nntp/xrn/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 80e7b8b3f2b8d82566e7fd2535e7236f ChangeLog 495
+MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161
+MD5 c3ec828855c0db8ca27c32db45a8a163 xrn-9.02.ebuild 1490
+MD5 69b946a3172cc8432fb0c88878783797 files/digest-xrn-9.02 57
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.5 (GNU/Linux)
+
+iD8DBQFBKqnhI1lqEGTUzyQRAhW8AJ90MGIqg+IK8jgOtGti2hb8dgQeYQCffGjz
+cic4isYtokjKGI9RYmcWXU4=
+=ljXk
+-----END PGP SIGNATURE-----
diff --git a/net-nntp/xrn/files/digest-xrn-9.02 b/net-nntp/xrn/files/digest-xrn-9.02
new file mode 100644
index 000000000000..b9fdd717f3f6
--- /dev/null
+++ b/net-nntp/xrn/files/digest-xrn-9.02
@@ -0,0 +1 @@
+MD5 2920543df71c29fda8bb384a7c4f208b xrn-9.02.tgz 362615
diff --git a/net-nntp/xrn/metadata.xml b/net-nntp/xrn/metadata.xml
new file mode 100644
index 000000000000..4d0ebe73a55f
--- /dev/null
+++ b/net-nntp/xrn/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-news</herd>
+</pkgmetadata>
diff --git a/net-nntp/xrn/xrn-9.02.ebuild b/net-nntp/xrn/xrn-9.02.ebuild
new file mode 100644
index 000000000000..e1ed1df61336
--- /dev/null
+++ b/net-nntp/xrn/xrn-9.02.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/xrn/xrn-9.02.ebuild,v 1.1 2005/01/17 20:26:53 swegener Exp $
+
+DESCRIPTION="A small and fast news reader for X."
+HOMEPAGE="http://www.mit.edu/people/jik/software/xrn.html"
+SRC_URI="ftp://sipb.mit.edu/pub/${PN}/${P}.tgz"
+LICENSE="BSD"
+SLOT="0"
+
+KEYWORDS="x86"
+IUSE=""
+
+RDEPEND="virtual/x11"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_compile() {
+ # English is the default language, but french and german are also
+ # supported, however only one language may be supported at a time:
+ for lingua in ${LINGUAS} en ; do
+ case "$lingua" in
+ en*)
+ MY_LANG="english"
+ break # Breaks the for loop.
+ ;;
+ fr*)
+ MY_LANG="french"
+ break # Breaks the for loop.
+ ;;
+ de*)
+ MY_LANG="german"
+ break # Breaks the for loop.
+ ;;
+ esac
+ done
+
+ # Bugs to Gentoo bugzilla:
+ sed -i \
+ -e "s,bug-xrn@kamens.brookline.ma.us,http://bugs.gentoo.org/," \
+ -e "s,\(#ifndef CONFIG_H_IS_OK\),#define CONFIG_H_IS_OK\n\1," \
+ config.h
+
+ # Generate Makefile:
+ xmkmf || die "xmkmf failed"
+
+ # Use our own CFLAGS and our desired language:
+ emake CDEBUGFLAGS="${CFLAGS}" LANGUAGE="${MY_LANG}" || die "emake failed"
+}
+
+src_install() {
+ dobin xrn || die "dobin failed"
+ dodoc README README.Linux TODO CREDITS COMMON-PROBLMS || die "dodoc failed"
+
+ # Default settings:
+ insinto /etc/X11/app-defaults
+ newins XRn.ad XRn
+
+ newman xrn.man xrn.1
+}