summaryrefslogtreecommitdiff
path: root/net-nntp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-02 15:59:12 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-02 15:59:12 +0000
commit06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (patch)
tree8d58c1f4b049da677b33209b072f2b3057268fe0 /net-nntp
parent99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (diff)
gentoo resync : 02.03.2018
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/Manifest.gzbin2698 -> 2692 bytes
-rw-r--r--net-nntp/xrn/Manifest1
-rw-r--r--net-nntp/xrn/xrn-9.02-r1.ebuild72
3 files changed, 73 insertions, 0 deletions
diff --git a/net-nntp/Manifest.gz b/net-nntp/Manifest.gz
index f6749258bef3..9b2f11488590 100644
--- a/net-nntp/Manifest.gz
+++ b/net-nntp/Manifest.gz
Binary files differ
diff --git a/net-nntp/xrn/Manifest b/net-nntp/xrn/Manifest
index b2af868dbae8..e9080dc425c7 100644
--- a/net-nntp/xrn/Manifest
+++ b/net-nntp/xrn/Manifest
@@ -1,3 +1,4 @@
DIST xrn-9.02.tgz 362615 BLAKE2B 710a378a8265a39e5910fbca7ea4778a7fb5282b6529664f7c49bf6d37b8c78535fadfd8eedbbd5150b29c4325e9eb94704adc57e0e3c9be9df749472f5a0d10 SHA512 ea8271b58b374889249686b75926a12ee474a5ed623f4db106bc885a212c8381102d128cc7ebffd12256633a809deb8a66382bea69692c9ba71ccecd481dce2a
+EBUILD xrn-9.02-r1.ebuild 1479 BLAKE2B e90fec97df3da9caef5fe822a02b141c388dca5ee1db55d2c4c3365a25b27d831a5a5fc269614a06ecc7926491cc34eb18f1b350c165833eebc570b551677775 SHA512 12c15a0ec9a677bf3b8a25de96975b004d0255652abe4dea2b041f362de2270a9de1be4b5fc65d5a07456a5486727df8b600293dda788bf492a6e887f0a5d863
EBUILD xrn-9.02.ebuild 1559 BLAKE2B 59caf945f60a544390f8c006ea4d4ca825f9807ffda9e7bcad267ebf90524abd29ab9cd00cfde50d51a6251c9019496800eeb43972c909714fe3a47103916c96 SHA512 8b22bca7d836231205a593c95fe9e4dd6d66c3d6628936b779930a10a299dc3785273e4c85ee6ff504e204b96266ae6bcd28e4c5937ba3832e5fd9c1abdb830e
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/net-nntp/xrn/xrn-9.02-r1.ebuild b/net-nntp/xrn/xrn-9.02-r1.ebuild
new file mode 100644
index 000000000000..ab7ef9309d9c
--- /dev/null
+++ b/net-nntp/xrn/xrn-9.02-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXext
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+"
+DEPEND="${RDEPEND}
+ x11-misc/imake
+"
+
+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}"
+}
+
+src_install() {
+ dobin xrn
+ dodoc README README.Linux TODO CREDITS COMMON-PROBLMS
+
+ # Default settings:
+ insinto /etc/X11/app-defaults
+ newins XRn.ad XRn
+
+ newman xrn.man xrn.1
+}