summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/visual-regexp/files/visualregexp.desktop4
-rw-r--r--dev-util/visual-regexp/visual-regexp-3.0.ebuild21
2 files changed, 10 insertions, 15 deletions
diff --git a/dev-util/visual-regexp/files/visualregexp.desktop b/dev-util/visual-regexp/files/visualregexp.desktop
index a3da22fb964f..f985491f1493 100644
--- a/dev-util/visual-regexp/files/visualregexp.desktop
+++ b/dev-util/visual-regexp/files/visualregexp.desktop
@@ -1,9 +1,7 @@
[Desktop Entry]
-Encoding=UTF-8
-Version=1.0
Type=Application
Exec=visualregexp
Icon=/usr/share/pixmaps/visualregexp/visualregexp-icon.png
Name=Visual Regexp
Comment=An interactive regular expression editor
-Categories=Application;Development
+Categories=Development;
diff --git a/dev-util/visual-regexp/visual-regexp-3.0.ebuild b/dev-util/visual-regexp/visual-regexp-3.0.ebuild
index 9511820b9268..6062f9710b56 100644
--- a/dev-util/visual-regexp/visual-regexp-3.0.ebuild
+++ b/dev-util/visual-regexp/visual-regexp-3.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/visual-regexp/visual-regexp-3.0.ebuild,v 1.6 2004/10/10 13:27:06 slarti Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/visual-regexp/visual-regexp-3.0.ebuild,v 1.7 2009/10/12 08:08:13 ssuominen Exp $
inherit eutils
@@ -10,32 +10,29 @@ SRC_URI="http://laurent.riesterer.free.fr/regexp/visual_regexp-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~amd64"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND=">=dev-lang/tcl-8.3
>=dev-lang/tk-8.3"
-S="${WORKDIR}/visual_regexp-${PV}"
+S=${WORKDIR}/visual_regexp-${PV}
src_unpack() {
unpack ${A}
- cd ${S}
-
- epatch ${FILESDIR}/wish-fix.diff
+ cd "${S}"
+ epatch "${FILESDIR}"/wish-fix.diff
}
src_install() {
dodoc README
- exeinto /usr/bin
- newexe visual_regexp.tcl visualregexp
+ newbin visual_regexp.tcl visualregexp
dosym /usr/bin/visualregexp /usr/bin/tkregexp
insinto /usr/share/pixmaps/visualregexp
- doins ${FILESDIR}/visualregexp-icon.png
+ doins "${FILESDIR}"/visualregexp-icon.png
- insinto /usr/share/applications
- doins ${FILESDIR}/visualregexp.desktop
+ domenu "${FILESDIR}"/visualregexp.desktop
}