summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-09-05 07:48:29 +0000
committerJustin Lecher <jlec@gentoo.org>2012-09-05 07:48:29 +0000
commitb478572fac034d13faee298e9baf1c1e0dde735f (patch)
treed49e8ca7650e29f3ed6091f346ea5755a15649f1 /dev-util/redet
parentUse domenu instead insinto + doins to install .desktop files (diff)
downloadgentoo-2-b478572fac034d13faee298e9baf1c1e0dde735f.tar.gz
gentoo-2-b478572fac034d13faee298e9baf1c1e0dde735f.tar.bz2
gentoo-2-b478572fac034d13faee298e9baf1c1e0dde735f.zip
Use domenu instead insinto + doins to install .desktop files
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/redet')
-rw-r--r--dev-util/redet/ChangeLog6
-rw-r--r--dev-util/redet/redet-8.26.ebuild25
2 files changed, 20 insertions, 11 deletions
diff --git a/dev-util/redet/ChangeLog b/dev-util/redet/ChangeLog
index 97a7c3951515..02c3e944bdee 100644
--- a/dev-util/redet/ChangeLog
+++ b/dev-util/redet/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/redet
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/redet/ChangeLog,v 1.10 2012/05/10 16:09:10 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/redet/ChangeLog,v 1.11 2012/09/05 07:48:29 jlec Exp $
+
+ 05 Sep 2012; Justin Lecher <jlec@gentoo.org> redet-8.26.ebuild:
+ Use domenu instead insinto + doins to install .desktop files
10 May 2012; Agostino Sarubbo <ago@gentoo.org> -redet-8.9.ebuild:
Remove old
@@ -42,4 +45,3 @@
22 Jan 2006; Josh Glover <jmglov@gentoo.org> +metadata.xml,
+redet-8.4.ebuild:
This package was submitted by Josh Glover in bug #84404
-
diff --git a/dev-util/redet/redet-8.26.ebuild b/dev-util/redet/redet-8.26.ebuild
index d7f6caec22ec..9da5d84d838e 100644
--- a/dev-util/redet/redet-8.26.ebuild
+++ b/dev-util/redet/redet-8.26.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/redet/redet-8.26.ebuild,v 1.1 2010/09/01 23:39:00 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/redet/redet-8.26.ebuild,v 1.2 2012/09/05 07:48:29 jlec Exp $
+
+EAPI=4
+
+inherit eutils
DESCRIPTION="A regular expression development and execution tool"
HOMEPAGE="http://www.billposer.org/Software/redet.html"
@@ -12,10 +16,11 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=dev-lang/tcl-8.3
- >=dev-lang/tk-8.3
+DEPEND="
+ dev-lang/tk
dev-tcltk/itk
dev-tcltk/iwidgets"
+RDEPEND="${DEPEND}"
src_compile() {
einfo "Nothing to compile"
@@ -24,16 +29,18 @@ src_compile() {
src_install() {
local MANUAL_PN=`echo ${PN} | cut -c 1 | tr [:lower:] [:upper:]``echo ${PN} | cut -c 2-`
- newbin ${PN}.tcl ${PN} || die
+ newbin ${PN}.tcl ${PN}
- insinto /usr/share/applications
- doins ${PN}.desktop || die
+ sed \
+ -e "/Encoding/d" \
+ -i ${PN}.desktop || die
+ domenu ${PN}.desktop
doman ${PN}.1 || die
dodoc AUTHORS CREDITS README-General README-MacOSX \
SampleClasses.utf8 \
SampleCustomCharacterWidgetDefinition_Armenian \
SampleCustomCharacterWidgetDefinition_Greek \
- SampleNewStyleDotRedetRC_Elaborate SampleNewStyleDotRedetRC_Simple || die
- dosym doc/${P}/html /usr/share/${MANUAL_PN} || die
+ SampleNewStyleDotRedetRC_Elaborate SampleNewStyleDotRedetRC_Simple
+ dosym doc/${P}/html /usr/share/${MANUAL_PN}
}