diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /inputmethod/ami | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'inputmethod/ami')
-rw-r--r-- | inputmethod/ami/Makefile | 4 | ||||
-rw-r--r-- | inputmethod/ami/distinfo | 4 | ||||
-rw-r--r-- | inputmethod/ami/patches/patch-ab | 15 | ||||
-rw-r--r-- | inputmethod/ami/patches/patch-ac | 16 |
4 files changed, 37 insertions, 2 deletions
diff --git a/inputmethod/ami/Makefile b/inputmethod/ami/Makefile index e8548a90cf4..ad6277886ec 100644 --- a/inputmethod/ami/Makefile +++ b/inputmethod/ami/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/10/04 21:45:16 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/06/12 02:14:33 joerg Exp $ # DISTNAME= ami-1.0.11 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://kldp.net/projects/ami COMMENT= Korean input method +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES .include "../../graphics/gdk-pixbuf/buildlink3.mk" diff --git a/inputmethod/ami/distinfo b/inputmethod/ami/distinfo index 98c7354a1c8..b0d960dd68e 100644 --- a/inputmethod/ami/distinfo +++ b/inputmethod/ami/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 21:00:34 agc Exp $ +$NetBSD: distinfo,v 1.4 2008/06/12 02:14:33 joerg Exp $ SHA1 (ami-1.0.11.tar.gz) = 3caf11b08b61b22d7d7f947198e2b18e35eb9fff RMD160 (ami-1.0.11.tar.gz) = 41fcda411b76d4b58ec7d38354097fa0e3186621 Size (ami-1.0.11.tar.gz) = 296596 bytes SHA1 (patch-aa) = 7f337fa358819e9ae6327602703353ea2a9ba6a8 +SHA1 (patch-ab) = 08e25131ea5c099fcf46193ea925fb1d9d0a6fdb +SHA1 (patch-ac) = b07887aceb8041de3e4675338ea133ad28169d90 diff --git a/inputmethod/ami/patches/patch-ab b/inputmethod/ami/patches/patch-ab new file mode 100644 index 00000000000..04e93f845b9 --- /dev/null +++ b/inputmethod/ami/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1 2008/06/12 02:14:33 joerg Exp $ + +--- Makefile.in.orig 2008-06-10 14:40:28.000000000 +0000 ++++ Makefile.in +@@ -454,8 +454,8 @@ distclean-generic clean-generic maintain + mostlyclean distclean maintainer-clean + + install-data-local: +- -mkdir -p $(datadir)/ami/pix +- cp -r $(top_srcdir)/pix/* $(datadir)/ami/pix ++ -mkdir -p ${DESTDIR}$(datadir)/ami/pix ++ cp -r $(top_srcdir)/pix/* ${DESTDIR}$(datadir)/ami/pix + uninstall-local: + chmod -R a+w $(datadir)/ami + rm -rf $(datadir)/ami/pix diff --git a/inputmethod/ami/patches/patch-ac b/inputmethod/ami/patches/patch-ac new file mode 100644 index 00000000000..9e6d9154095 --- /dev/null +++ b/inputmethod/ami/patches/patch-ac @@ -0,0 +1,16 @@ +$NetBSD: patch-ac,v 1.1 2008/06/12 02:14:33 joerg Exp $ + +--- src/Makefile.in.orig 2008-06-10 14:50:28.000000000 +0000 ++++ src/Makefile.in +@@ -350,9 +350,9 @@ mostlyclean distclean maintainer-clean + + + @GNOMEAPPLET_TRUE@install-exec-hook: +-@GNOMEAPPLET_TRUE@ (cd $(bindir); ln -sf ami ami_applet; ln -sf ami wmami) ++@GNOMEAPPLET_TRUE@ (cd ${DESTDIR}$(bindir); ln -sf ami ami_applet; ln -sf ami wmami) + @GNOMEAPPLET_FALSE@install-exec-hook: +-@GNOMEAPPLET_FALSE@ (cd $(bindir); ln -sf ami wmami) ++@GNOMEAPPLET_FALSE@ (cd ${DESTDIR}$(bindir); ln -sf ami wmami) + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. |