summaryrefslogtreecommitdiff
path: root/inputmethod/anthy-elisp
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 15:55:13 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 15:55:13 +0000
commit56b6af428423c4de57e42b39c712b29a75b2dfda (patch)
treedbf82d88f69c900ca1397ba85bdd84959b71d3d9 /inputmethod/anthy-elisp
parent33cef9b4f51b52a3b30d8d656a62d2a1ad952487 (diff)
downloadpkgsrc-56b6af428423c4de57e42b39c712b29a75b2dfda.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'inputmethod/anthy-elisp')
-rw-r--r--inputmethod/anthy-elisp/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/inputmethod/anthy-elisp/Makefile b/inputmethod/anthy-elisp/Makefile
index 0f2d55c9b41..8583b40c14c 100644
--- a/inputmethod/anthy-elisp/Makefile
+++ b/inputmethod/anthy-elisp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/03/20 05:28:37 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/04 15:55:13 jlam Exp $
.include "../../inputmethod/anthy/Makefile.common"
PKGNAME= ${EMACS_PKGNAME_PREFIX}anthy-elisp-${ANTHY_VERSION}
@@ -10,6 +10,8 @@ COMMENT= Emacs lisp files for inputmethod/anthy
DEPENDS+= anthy>=${ANTHY_VERSION}:../../inputmethod/anthy
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ENV+= EMACS=${EMACS_BIN:Q}
EMACS_MODULES+= base leim
@@ -20,8 +22,8 @@ do-build:
cd ${WRKSRC}/src-util && ${MAKE} elc-stamp
do-install:
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/anthy
- ${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${EMACS_LISPPREFIX}/anthy
- ${INSTALL_DATA} ${WRKSRC}/src-util/*.elc ${EMACS_LISPPREFIX}/anthy
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/anthy
+ ${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${DESTDIR}${EMACS_LISPPREFIX}/anthy
+ ${INSTALL_DATA} ${WRKSRC}/src-util/*.elc ${DESTDIR}${EMACS_LISPPREFIX}/anthy
.include "../../mk/bsd.pkg.mk"