summaryrefslogtreecommitdiff
path: root/net-nntp/xrn
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-nntp/xrn
reinit the tree, so we can have metadata
Diffstat (limited to 'net-nntp/xrn')
-rw-r--r--net-nntp/xrn/Manifest5
-rw-r--r--net-nntp/xrn/metadata.xml5
-rw-r--r--net-nntp/xrn/xrn-9.02.ebuild69
3 files changed, 79 insertions, 0 deletions
diff --git a/net-nntp/xrn/Manifest b/net-nntp/xrn/Manifest
new file mode 100644
index 000000000000..9ce4668175e0
--- /dev/null
+++ b/net-nntp/xrn/Manifest
@@ -0,0 +1,5 @@
+DIST xrn-9.02.tgz 362615 SHA256 5fc44883bf94538def846669ebabcc95a710e46531f071ac432d0f9cadc56677 SHA512 ea8271b58b374889249686b75926a12ee474a5ed623f4db106bc885a212c8381102d128cc7ebffd12256633a809deb8a66382bea69692c9ba71ccecd481dce2a WHIRLPOOL 7020601c0577a8cece7cf770f2df0c84494612885ccf797347a7f14dd63f2e48b4fbda80ddb5ae73c67d2e8d4056aab6c552d8615b9732751b7a612ddc4e5819
+EBUILD xrn-9.02.ebuild 1559 SHA256 486b7172784eb162acfaf85e5ef97ece41f3026892dc2fb3a589c54c052a85d5 SHA512 8b22bca7d836231205a593c95fe9e4dd6d66c3d6628936b779930a10a299dc3785273e4c85ee6ff504e204b96266ae6bcd28e4c5937ba3832e5fd9c1abdb830e WHIRLPOOL 6ba98d2e4dfd54fa1703429d6c76719fba58c2be36f08210bc9b65aced33e0c8b50aeadf101b5480e6019c1ceffe1b9e0c7799711acf3832d64c7f0a0ae4e1d4
+MISC ChangeLog 2664 SHA256 3caf6791ece0d758f8d475c8687037f0c5d75d7d90d70da89aeba012d93e89fb SHA512 e91f1607ea14ad63b9d028eeb2c97d35cbb8a61edf118218ed16e668b187001bcd3976fbd272e995a795eed82960c596fb6c1682c60f246c03b6dfec99684e21 WHIRLPOOL 0ae6978a2090de876218745cb49b7dc6123a0c61593c5d94450f2a890905dbc72646bfb5a2ac83121b98376386f281638098e6cd56d662279968e3704a82682e
+MISC ChangeLog-2015 1103 SHA256 4ce7e13eccf7da7f9606d08ecdb0ddaab968eb0a7dfc97c6b4dcc2a9eec3c8ab SHA512 020946b2a11b380b23039c9e8d7b5d7e122281df6ca93af1e15d0304276c239a3ebe744027098581eec425fb8d4423de3684b007806cbcc7e980096e62981b31 WHIRLPOOL d48f82c64f876b5789f7dcd81861bb236990ec8070d12a31eee840d95c494cb06160dec7bec048459f5ea7aeb408e73817430ecdec23e52e92af8dbe731dcbc9
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/net-nntp/xrn/metadata.xml b/net-nntp/xrn/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /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>
+<!-- maintainer-needed -->
+</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..9c87e2febf47
--- /dev/null
+++ b/net-nntp/xrn/xrn-9.02.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXp
+ x11-libs/libXpm
+ x11-libs/libXt"
+DEPEND="${RDEPEND}
+ x11-misc/imake
+ >=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:
+ local lingua
+ 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,https://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 -j1 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
+}