commit:     3e19c6e8db04f9cd7fd0533e25359ac509ba2574
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 19 16:15:14 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Nov 19 16:15:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3e19c6e8

dev-util/dialog: sync

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
Package-Manager: Portage-2.3.40.3-prefix, Repoman-2.3.9

 dev-util/dialog/Manifest                   |  2 +-
 dev-util/dialog/dialog-1.1.20120215.ebuild | 77 ------------------------------
 dev-util/dialog/dialog-1.3.20181022.ebuild | 60 +++++++++++++++++++++++
 3 files changed, 61 insertions(+), 78 deletions(-)

diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest
index 5cf5e51ff5..0d0aed2ec5 100644
--- a/dev-util/dialog/Manifest
+++ b/dev-util/dialog/Manifest
@@ -1,2 +1,2 @@
-DIST dialog-1.1-20120215.tgz 441234 BLAKE2B 
7ed1c91a8ec204c7171df89299bb6d8cd460d35794f5469c75a005afacd13ef337d7dcb17965516336fc6b369215307d4d543bac062bab64057ea944e5d36ee7
 SHA512 
3405e4767050c08d6148e348d9b7ee8e72a4170da11f8b4e21e0c656dcdcbb18d81e920da4cea094e84d692938b47de3852b9e055f5e2b8cc0b3fffb828b542a
 DIST dialog-1.1-20120706.tgz 444554 BLAKE2B 
d1863ce51fee8e2ab36664b322386a1368b5c30cf11bddd49a7aec5c1760d14cfef2b515c27231b4353e60dfa758d5ab9890ae0114c0c2308e330b58de04af0e
 SHA512 
90000dbdd33226767a45a66a60af25c0e743e78d938b329c980c929c18bcdc5e88031ef7f19ca8ab0471060ff2011aa7d52366cb094537d08ea64f5ef2e0b97d
+DIST dialog-1.3-20181022.tgz 531815 BLAKE2B 
c6a34010eb991683356338009998964fde60bcae4181d8b07e6d5b9f0d0e9a61d3f0b112fad02c151b1774380e18b87f93f43fdfe35e0fba86914c029eaa274c
 SHA512 
5d7891086ab6d2f4a815538513b09754a56368bbb0ec3bd107346fd2ed6ae10fa858173447fa609cce28a91e234ed8067d9439efeb973593fff2df1e811a8925

diff --git a/dev-util/dialog/dialog-1.1.20120215.ebuild 
b/dev-util/dialog/dialog-1.1.20120215.ebuild
deleted file mode 100644
index 6dcf43539c..0000000000
--- a/dev-util/dialog/dialog-1.1.20120215.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/dev-util/dialog/dialog-1.1.20120215.ebuild,v 1.10 
2012/07/08 15:09:28 armin76 Exp $
-
-EAPI="4"
-
-inherit multilib
-
-MY_PV="${PV/1.1./1.1-}"
-S=${WORKDIR}/${PN}-${MY_PV}
-DESCRIPTION="tool to display dialog boxes from a shell"
-HOMEPAGE="http://invisible-island.net/dialog/dialog.html";
-SRC_URI="ftp://invisible-island.net/${PN}/${PN}-${MY_PV}.tgz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="examples minimal nls static-libs unicode"
-
-RDEPEND="
-       >=app-shells/bash-2.04-r3
-       !unicode? ( >=sys-libs/ncurses-5.2-r5 )
-       unicode? ( >=sys-libs/ncurses-5.2-r5[unicode] )
-"
-DEPEND="
-       ${RDEPEND}
-       nls? ( sys-devel/gettext )
-       !minimal? ( sys-devel/libtool )
-       !<=sys-freebsd/freebsd-contrib-8.9999
-"
-
-src_prepare() {
-       sed -i configure -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' || die
-       # configure searches all over the world for some things...
-       sed -i configure \
-               -e 's:^test -d "\(/usr\|$prefix\|/usr/local\|/opt\|$HOME\):test 
-d "XnoX:' || die
-}
-
-src_configure() {
-       local ncursesw
-       use unicode && ncursesw="w"
-       # doing this libtool stuff through configure
-       # (--with-libtool=/path/to/libtool) strangely breaks the build
-       local glibtool="libtool"
-       [[ ${CHOST} == *-darwin* ]] && glibtool="glibtool"
-       export ac_cv_path_LIBTOOL="$(type -P ${glibtool})"
-       econf \
-               --disable-rpath-hack \
-               $(use_enable nls) \
-               $(use_with !minimal libtool) \
-               --with-ncurses${ncursesw}
-}
-
-src_install() {
-       if use minimal; then
-               emake DESTDIR="${D}" install
-       else
-               emake DESTDIR="${D}" install-full
-       fi
-
-       dodoc CHANGES README VERSION
-
-       if use examples; then
-               docinto samples
-               dodoc $( find samples -maxdepth 1 -type f )
-               docinto samples/copifuncs
-               dodoc $( find samples/copifuncs -maxdepth 1 -type f )
-               docinto samples/install
-               dodoc $( find samples/install -type f )
-       fi
-
-       if ! use static-libs; then
-               rm -f \
-                       "${ED}"usr/$(get_libdir)/libdialog.a \
-                       "${ED}"usr/$(get_libdir)/libdialog.la
-       fi
-}

diff --git a/dev-util/dialog/dialog-1.3.20181022.ebuild 
b/dev-util/dialog/dialog-1.3.20181022.ebuild
new file mode 100644
index 0000000000..7768430b52
--- /dev/null
+++ b/dev-util/dialog/dialog-1.3.20181022.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils multilib versionator
+
+DIA_P="${PN}-$(replace_version_separator 2 '-')"
+DESCRIPTION="tool to display dialog boxes from a shell"
+HOMEPAGE="https://invisible-island.net/dialog/";
+SRC_URI="https://dev.gentoo.org/~jer/${DIA_P}.tgz";
+
+LICENSE="GPL-2"
+SLOT="0/15"
+KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="examples minimal nls static-libs unicode"
+
+RDEPEND="
+       >=sys-libs/ncurses-5.2-r5:=[unicode?]
+"
+DEPEND="
+       ${RDEPEND}
+       nls? ( sys-devel/gettext )
+       !minimal? ( sys-devel/libtool )
+       !<=sys-freebsd/freebsd-contrib-8.9999
+"
+S=${WORKDIR}/${DIA_P}
+
+src_prepare() {
+       default
+       sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die
+       sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die
+       # configure searches all over the world for some things...
+       sed -i configure \
+               -e 's:^test -d "\(/usr\|$prefix\|/usr/local\|/opt\|$HOME\):test 
-d "XnoX:' || die
+}
+
+src_configure() {
+       # doing this libtool stuff through configure
+       # (--with-libtool=/path/to/libtool) strangely breaks the build
+       local glibtool="libtool"
+       [[ ${CHOST} == *-darwin* ]] && glibtool="glibtool"
+       export ac_cv_path_LIBTOOL="$(type -P ${glibtool})"
+
+       econf \
+               --disable-rpath-hack \
+               $(use_enable nls) \
+               $(use_with !minimal libtool) \
+               --with-libtool-opts=$(usex static-libs '' '-shared') \
+               --with-ncurses$(usex unicode w '')
+}
+
+src_install() {
+       use minimal && default || emake DESTDIR="${D}" install-full
+
+       use examples && dodoc -r samples
+
+       dodoc CHANGES README
+
+       prune_libtool_files
+}

Reply via email to