summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /inputmethod
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/ami/Makefile4
-rw-r--r--inputmethod/ami/distinfo4
-rw-r--r--inputmethod/ami/patches/patch-ab15
-rw-r--r--inputmethod/ami/patches/patch-ac16
-rw-r--r--inputmethod/anthy/Makefile17
-rw-r--r--inputmethod/canna/Makefile4
-rw-r--r--inputmethod/fcitx/Makefile4
7 files changed, 53 insertions, 11 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.
diff --git a/inputmethod/anthy/Makefile b/inputmethod/anthy/Makefile
index a00f9bc3a4d..d83b58288cc 100644
--- a/inputmethod/anthy/Makefile
+++ b/inputmethod/anthy/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2007/08/30 20:19:45 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:33 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../inputmethod/anthy/Makefile.common"
@@ -15,12 +17,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= EMACS=no
EGDIR= ${PREFIX}/share/examples/anthy
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
+INSTALLATION_DIRS= share/doc/anthy
CONF_FILES+= ${EGDIR}/anthy-conf ${PKG_SYSCONFDIR}/anthy-conf
PKGCONFIG_OVERRIDE+= anthy.pc.in
.include "options.mk"
+
post-patch:
.if !empty(PKG_OPTIONS:Manthy-2ch-dict)
${CP} ${DISTDIR}/2ch.t ${WRKSRC}/mkworddic
@@ -36,11 +40,10 @@ post-patch:
.endif
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/anthy
- ${INSTALL_DATA} ${WRKSRC}/doc/DICUTIL ${PREFIX}/share/doc/anthy
- ${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${PREFIX}/share/doc/anthy
- ${INSTALL_DATA} ${WRKSRC}/doc/GUIDE.english ${PREFIX}/share/doc/anthy
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/anthy
- ${INSTALL_DATA} ${WRKSRC}/README.en ${PREFIX}/share/doc/anthy
+ ${INSTALL_DATA} ${WRKSRC}/doc/DICUTIL ${DESTDIR}${PREFIX}/share/doc/anthy
+ ${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${DESTDIR}${PREFIX}/share/doc/anthy
+ ${INSTALL_DATA} ${WRKSRC}/doc/GUIDE.english ${DESTDIR}${PREFIX}/share/doc/anthy
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/anthy
+ ${INSTALL_DATA} ${WRKSRC}/README.en ${DESTDIR}${PREFIX}/share/doc/anthy
.include "../../mk/bsd.pkg.mk"
diff --git a/inputmethod/canna/Makefile b/inputmethod/canna/Makefile
index b4c079fc7c6..369136ff680 100644
--- a/inputmethod/canna/Makefile
+++ b/inputmethod/canna/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2007/10/25 22:00:46 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:33 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
diff --git a/inputmethod/fcitx/Makefile b/inputmethod/fcitx/Makefile
index 5392ab0cc4f..c4a4de82f49 100644
--- a/inputmethod/fcitx/Makefile
+++ b/inputmethod/fcitx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/02/15 23:32:32 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:33 joerg Exp $
#
DISTNAME= fcitx-3.1.1
@@ -11,6 +11,8 @@ MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://www.fcitx.org/main/
COMMENT= Free Chinese Input Toy of X
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes