summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-04-23 12:25:34 +0000
committerMamoru Komachi <usata@gentoo.org>2005-04-23 12:25:34 +0000
commit2f7eaba53553baa9d7da9cc9931317477547ddc8 (patch)
treec9429774d25d758b9b2c8e15de771fff2c63feaa /app-i18n/skktools
parentStable on x86. (diff)
downloadgentoo-2-2f7eaba53553baa9d7da9cc9931317477547ddc8.tar.gz
gentoo-2-2f7eaba53553baa9d7da9cc9931317477547ddc8.tar.bz2
gentoo-2-2f7eaba53553baa9d7da9cc9931317477547ddc8.zip
Added a patch to support DESTDIR; bug #72175.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-i18n/skktools')
-rw-r--r--app-i18n/skktools/ChangeLog6
-rw-r--r--app-i18n/skktools/files/skktools-1.1-gentoo.diff28
-rw-r--r--app-i18n/skktools/skktools-1.1.ebuild12
3 files changed, 42 insertions, 4 deletions
diff --git a/app-i18n/skktools/ChangeLog b/app-i18n/skktools/ChangeLog
index fe1d8b8b20d0..0a7143a4ac0c 100644
--- a/app-i18n/skktools/ChangeLog
+++ b/app-i18n/skktools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-i18n/skktools
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/skktools/ChangeLog,v 1.5 2005/01/01 14:42:03 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/skktools/ChangeLog,v 1.6 2005/04/23 12:25:34 usata Exp $
+
+ 23 Apr 2005; <usata@gentoo.org> +files/skktools-1.1-gentoo.diff,
+ skktools-1.1.ebuild:
+ Added a patch to support DESTDIR; bug #72175.
22 Jun 2004; Mamoru KOMACHI <usata@gentoo.org> skktools-1.1.ebuild:
Marked as stable.
diff --git a/app-i18n/skktools/files/skktools-1.1-gentoo.diff b/app-i18n/skktools/files/skktools-1.1-gentoo.diff
new file mode 100644
index 000000000000..4aad1bc9059e
--- /dev/null
+++ b/app-i18n/skktools/files/skktools-1.1-gentoo.diff
@@ -0,0 +1,28 @@
+--- Makefile.in.orig 2003-08-17 17:32:15.000000000 +0900
++++ Makefile.in 2005-04-23 21:20:37.000000000 +0900
+@@ -97,11 +97,11 @@
+ ./config.status --recheck
+
+ install: $(TARGETS)
+- $(srcdir)/mkinstalldirs $(bindir)
++ $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
+ @list="$(TARGETS)"; for p in $$list; do \
+ if test -f $$p; then \
+- echo " $(INSTALL_PROGRAM) $$p $(bindir)/"; \
+- $(INSTALL_PROGRAM) $$p $(bindir)/; \
++ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/"; \
++ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/; \
+ else :; fi; \
+ done
+
+@@ -110,8 +110,8 @@
+
+ uninstall:
+ @list="$(TARGETS)"; for p in $$list; do \
+- echo " rm -f $(bindir)/$$p"; \
+- rm -f $(bindir)/$$p; \
++ echo " rm -f $(DESTDIR)$(bindir)/$$p"; \
++ rm -f $(DESTDIR)$(bindir)/$$p; \
+ done
+
+ clean:
diff --git a/app-i18n/skktools/skktools-1.1.ebuild b/app-i18n/skktools/skktools-1.1.ebuild
index 9c11a15a4b50..411ae52ab706 100644
--- a/app-i18n/skktools/skktools-1.1.ebuild
+++ b/app-i18n/skktools/skktools-1.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/skktools/skktools-1.1.ebuild,v 1.6 2005/01/01 14:42:03 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/skktools/skktools-1.1.ebuild,v 1.7 2005/04/23 12:25:34 usata Exp $
-inherit elisp-common
+inherit elisp-common eutils
DESCRIPTION="SKK utilities to manage dictionaries"
HOMEPAGE="http://openlab.jp/skk/"
@@ -16,8 +16,14 @@ IUSE="ruby emacs"
DEPEND="virtual/libc
>=dev-libs/glib-2"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
src_install() {
- einstall || die
+ make DESTDIR=${D} install || die
use ruby && dobin saihenkan.rb
use emacs && elisp-site-file-install skk-xml.el