diff options
author | Ulrich Müller <ulm@gentoo.org> | 2014-06-04 19:00:48 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2014-06-04 19:00:48 +0000 |
commit | 5ffda6b33b57705d5fe0a7ff8e8a7643fb087025 (patch) | |
tree | 466b73aaf933462f15e1cbb72994959c11764fed /app-admin/emacs-updater | |
parent | Use our own documentation recipe instead of the Rakefile with deprecated code... (diff) | |
download | gentoo-2-5ffda6b33b57705d5fe0a7ff8e8a7643fb087025.tar.gz gentoo-2-5ffda6b33b57705d5fe0a7ff8e8a7643fb087025.tar.bz2 gentoo-2-5ffda6b33b57705d5fe0a7ff8e8a7643fb087025.zip |
Add missing dependency on app-misc/getopt for BSD.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-admin/emacs-updater')
-rw-r--r-- | app-admin/emacs-updater/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/emacs-updater/emacs-updater-1.13-r1.ebuild | 36 |
2 files changed, 43 insertions, 2 deletions
diff --git a/app-admin/emacs-updater/ChangeLog b/app-admin/emacs-updater/ChangeLog index c8a79c8b6cb8..71facf816be0 100644 --- a/app-admin/emacs-updater/ChangeLog +++ b/app-admin/emacs-updater/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/emacs-updater -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/emacs-updater/ChangeLog,v 1.80 2013/07/14 14:50:54 ulm Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/emacs-updater/ChangeLog,v 1.81 2014/06/04 19:00:48 ulm Exp $ + +*emacs-updater-1.13-r1 (04 Jun 2014) + + 04 Jun 2014; Ulrich Müller <ulm@gentoo.org> +emacs-updater-1.13-r1.ebuild: + Add missing dependency on app-misc/getopt for BSD. 14 Jul 2013; Ulrich Müller <ulm@gentoo.org> emacs-updater-1.13.ebuild: Update HOMEPAGE. diff --git a/app-admin/emacs-updater/emacs-updater-1.13-r1.ebuild b/app-admin/emacs-updater/emacs-updater-1.13-r1.ebuild new file mode 100644 index 000000000000..b9e8de81b60e --- /dev/null +++ b/app-admin/emacs-updater/emacs-updater-1.13-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/emacs-updater/emacs-updater-1.13-r1.ebuild,v 1.1 2014/06/04 19:00:48 ulm Exp $ + +EAPI=5 + +DESCRIPTION="Rebuild Emacs packages" +HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs" +SRC_URI="mirror://gentoo/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" + +DEPEND="|| ( sys-apps/util-linux app-misc/getopt )" +RDEPEND="${DEPEND} + >=app-portage/portage-utils-0.3 + virtual/emacs" + +src_prepare() { + if [[ -n ${EPREFIX} ]]; then + sed -i -e "1s:/:${EPREFIX%/}/:" \ + -e "s:^\(EMACS\|SITELISP\)=:&${EPREFIX%/}:" \ + emacs-updater || die + fi + + if ! has_version sys-apps/util-linux; then + # BSD ships a dumb getopt(1), so use getopt-long instead + sed -i -e 's/\<getopt\>/&-long/' emacs-updater || die + fi +} + +src_install() { + dosbin emacs-updater + doman emacs-updater.8 +} |