summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2015-11-18 14:06:08 +0300
committerSergey Popov <pinkbyte@gentoo.org>2015-11-18 14:13:03 +0300
commitef57bc87b6e20084ee342b327c28d50626368407 (patch)
tree2dd60387b4a0bbd8272d9ff5964e3d8b591b1aea /app-text
parentdev-libs/libxslt: ia64 stable wrt bug #558822 (diff)
downloadgentoo-ef57bc87b6e20084ee342b327c28d50626368407.tar.gz
gentoo-ef57bc87b6e20084ee342b327c28d50626368407.tar.bz2
gentoo-ef57bc87b6e20084ee342b327c28d50626368407.zip
app-text/uudeview: revision bump
EAPI 5, add support for user patches, do not use deprecated einstall in src_install Package-Manager: portage-2.2.23
Diffstat (limited to 'app-text')
-rw-r--r--app-text/uudeview/files/uudeview-0.5.20-makefile.patch29
-rw-r--r--app-text/uudeview/uudeview-0.5.20-r2.ebuild45
2 files changed, 74 insertions, 0 deletions
diff --git a/app-text/uudeview/files/uudeview-0.5.20-makefile.patch b/app-text/uudeview/files/uudeview-0.5.20-makefile.patch
new file mode 100644
index 000000000000..ed3cdf66374a
--- /dev/null
+++ b/app-text/uudeview/files/uudeview-0.5.20-makefile.patch
@@ -0,0 +1,29 @@
+--- Makefile.in.orig 2015-11-18 13:52:44.173432349 +0300
++++ Makefile.in 2015-11-18 13:53:39.244429093 +0300
+@@ -183,22 +183,22 @@
+
+ install: $(DOINST)
+ -for d in $(MPAGES) ; do \
+- $(INSTALL_DATA) $(srcdir)/man/$$d $(MANDIR)/man1/$$d ; \
++ $(INSTALL_DATA) $(srcdir)/man/$$d $(DESTDIR)$(MANDIR)/man1/$$d ; \
+ done
+
+ install-uudeview: uudeview
+ for d in uudeview uuenview ; do \
+- $(INSTALL_PROGRAM) unix/$$d $(BINDIR)/$$d ; \
++ $(INSTALL_PROGRAM) unix/$$d $(DESTDIR)$(BINDIR)/$$d ; \
+ done
+
+ install-tcl: xdeview
+ for d in xdeview uuwish ; do \
+- $(INSTALL_PROGRAM) tcl/$$d $(BINDIR)/$$d ; \
++ $(INSTALL_PROGRAM) tcl/$$d $(DESTDIR)$(BINDIR)/$$d ; \
+ done
+
+ install-minews: minews
+ for d in minews ; do \
+- $(INSTALL_PROGRAM) inews/$$d $(BINDIR)/$$d ; \
++ $(INSTALL_PROGRAM) inews/$$d $(DESTDIR)$(BINDIR)/$$d ; \
+ done
+
+ links: tcl/config.h unix/config.h uulib/config.h
diff --git a/app-text/uudeview/uudeview-0.5.20-r2.ebuild b/app-text/uudeview/uudeview-0.5.20-r2.ebuild
new file mode 100644
index 000000000000..596469621671
--- /dev/null
+++ b/app-text/uudeview/uudeview-0.5.20-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils autotools
+
+DESCRIPTION="uu, xx, base64, binhex decoder"
+HOMEPAGE="http://www.fpx.de/fp/Software/UUDeview/"
+SRC_URI="http://www.fpx.de/fp/Software/UUDeview/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="tk"
+
+RDEPEND="tk? ( dev-lang/tk:0 )"
+DEPEND="${RDEPEND}"
+
+DOCS=( HISTORY INSTALL README )
+
+PATCHES=(
+ "${FILESDIR}/${P}-bugfixes.patch"
+ "${FILESDIR}/${P}-CVE-2004-2265.patch"
+ "${FILESDIR}/${P}-CVE-2008-2266.patch"
+ "${FILESDIR}/${P}-man.patch"
+ "${FILESDIR}/${P}-rename.patch"
+ "${FILESDIR}/${P}-makefile.patch"
+)
+
+src_prepare() {
+ epatch ${PATCHES[@]}
+
+ mv configure.in configure.ac || die
+
+ epatch_user
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable tk tcl) \
+ $(use_enable tk)
+}