summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-30 10:19:35 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-30 10:19:35 +0000
commitdf0f1c2d6f40b01515fa6d54e73b3ac4f282c1ef (patch)
tree5da3902ef2c8311236bcb36061927ff2cf8e4b4a /net-nntp
parentAdd another patch to fix poppler for good. (diff)
downloadgentoo-2-df0f1c2d6f40b01515fa6d54e73b3ac4f282c1ef.tar.gz
gentoo-2-df0f1c2d6f40b01515fa6d54e73b3ac4f282c1ef.tar.bz2
gentoo-2-df0f1c2d6f40b01515fa6d54e73b3ac4f282c1ef.zip
Version bump to latest development release (bug #308643). Update to EAPI 4 and add canlock use flag (bug #104245).
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/slrn/ChangeLog9
-rw-r--r--net-nntp/slrn/files/slrn-1.0.0_pre18-make.patch36
-rw-r--r--net-nntp/slrn/metadata.xml2
-rw-r--r--net-nntp/slrn/slrn-1.0.0_pre18.ebuild42
4 files changed, 88 insertions, 1 deletions
diff --git a/net-nntp/slrn/ChangeLog b/net-nntp/slrn/ChangeLog
index 01c1e568ab47..055673fa0fe8 100644
--- a/net-nntp/slrn/ChangeLog
+++ b/net-nntp/slrn/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-nntp/slrn
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/ChangeLog,v 1.23 2011/04/10 03:21:35 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/ChangeLog,v 1.24 2011/09/30 10:19:34 radhermit Exp $
+
+*slrn-1.0.0_pre18 (30 Sep 2011)
+
+ 30 Sep 2011; Tim Harder <radhermit@gentoo.org> +slrn-1.0.0_pre18.ebuild,
+ +files/slrn-1.0.0_pre18-make.patch, metadata.xml:
+ Version bump to latest development release (bug #308643). Update to EAPI 4
+ and add canlock use flag (bug #104245).
10 Apr 2011; Jonathan Callen <abcd@gentoo.org> slrn-0.9.9_p1.ebuild:
Add prefix support, bump EAPI to 3, add prefix keywords
diff --git a/net-nntp/slrn/files/slrn-1.0.0_pre18-make.patch b/net-nntp/slrn/files/slrn-1.0.0_pre18-make.patch
new file mode 100644
index 000000000000..bd3bf682cfe4
--- /dev/null
+++ b/net-nntp/slrn/files/slrn-1.0.0_pre18-make.patch
@@ -0,0 +1,36 @@
+--- slrn/src/Makefile.in.orig
++++ slrn/src/Makefile.in
+@@ -152,7 +152,7 @@
+ $(MKINSDIR) $(DEST_SLRN_LIB_DIR)
+ $(MKINSDIR) $(DEST_SLRN_SLANG_DIR)
+ # $(MKINSDIR) $(DEST_CONFDIR)
+-installdocs:
++installdocs: installdirs
+ @for i in $(MAN_FILES); \
+ do \
+ echo $(INSTALL_DATA) $$i $(DEST_MANDIR)/man1/; \
+@@ -185,7 +185,7 @@
+ exit 1; \
+ fi; \
+ done
+-installslang:
++installslang: installdirs
+ @files=$(CONF_FILES); \
+ for i in $$files; \
+ do \
+@@ -203,11 +203,11 @@
+ exit 1; \
+ fi; \
+ done
+-installlocales:
++installlocales: installdirs
+ cd ../po; $(MAKE) DESTDIR=$(DESTDIR) LOCALEDIR=$(LOCALEDIR) install
+-installbin:
+- $(INSTALL) -m 755 -s $(OBJDIR)/slrn $(DEST_BINDIR)
+- -$(INSTALL) -m 755 -s $(OBJDIR)/slrnpull $(DEST_BINDIR)
++installbin: installdirs
++ $(INSTALL) -m 755 $(OBJDIR)/slrn $(DEST_BINDIR)
++ -$(INSTALL) -m 755 $(OBJDIR)/slrnpull $(DEST_BINDIR)
+ install: all installdirs installbin installdocs installslang installlocales
+
+ # The symlinks target is for my own private use. It simply creates the object
diff --git a/net-nntp/slrn/metadata.xml b/net-nntp/slrn/metadata.xml
index 347ccbe22bd4..948fa2966431 100644
--- a/net-nntp/slrn/metadata.xml
+++ b/net-nntp/slrn/metadata.xml
@@ -5,5 +5,7 @@
<use>
<flag name='uudeview'>Add support for yEnc coding and more using
<pkg>dev-libs/uulib</pkg></flag>
+ <flag name='canlock'>Add support for cancel locks via
+ <pkg>net-libs/canlock</pkg></flag>
</use>
</pkgmetadata>
diff --git a/net-nntp/slrn/slrn-1.0.0_pre18.ebuild b/net-nntp/slrn/slrn-1.0.0_pre18.ebuild
new file mode 100644
index 000000000000..5003583f8145
--- /dev/null
+++ b/net-nntp/slrn/slrn-1.0.0_pre18.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/slrn-1.0.0_pre18.ebuild,v 1.1 2011/09/30 10:19:35 radhermit Exp $
+
+EAPI=4
+
+inherit eutils
+
+MY_P="${PN}-pre${PV/_pre/~}"
+DESCRIPTION="a s-lang based newsreader"
+HOMEPAGE="http://slrn.sourceforge.net/"
+SRC_URI="http://slrn.sourceforge.net/downloads/svn_snapshots/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="canlock nls ssl uudeview"
+
+RDEPEND="virtual/mta
+ app-arch/sharutils
+ >=sys-libs/slang-2.1.3
+ canlock? ( net-libs/canlock )
+ ssl? ( dev-libs/openssl )
+ uudeview? ( dev-libs/uulib )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-make.patch
+}
+
+src_configure() {
+ econf \
+ --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --with-slrnpull \
+ $(use_with canlock) \
+ $(use_with uudeview uu) \
+ $(use_enable nls) \
+ $(use_with ssl)
+}