summaryrefslogtreecommitdiff
path: root/editors/mule-ucs
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
commit80c7fb273d8e710ea174cde389ccea199e8a754b (patch)
tree94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/mule-ucs
parent38c8b857b2a15de072b4fa8baf0650634b5be996 (diff)
downloadpkgsrc-80c7fb273d8e710ea174cde389ccea199e8a754b.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'editors/mule-ucs')
-rw-r--r--editors/mule-ucs/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/editors/mule-ucs/Makefile b/editors/mule-ucs/Makefile
index 184414f26c8..a11478b728b 100644
--- a/editors/mule-ucs/Makefile
+++ b/editors/mule-ucs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/05/20 15:49:29 taca Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/03 18:25:52 jlam Exp $
DISTNAME= Mule-UCS-0.84
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
@@ -10,6 +10,8 @@ MAINTAINER= uebayasi@NetBSD.org
#HOMEPAGE=
COMMENT= Another encoding conversion mechanism for Emacs
+PKG_DESTDIR_SUPPORT= user-destdir
+
# Mule 4.1 feature required by Mule-UCS was added to 20.7nb1.
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
BUILDLINK_API_DEPENDS.emacs20+= emacs>=20.7nb1
@@ -25,20 +27,20 @@ do-build:
${EMACS_BIN} -q --no-site-file -batch -l x0213-comp.el
do-install:
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/mule-ucs
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/mule-ucs
cd ${WRKSRC}/lisp && \
for f in ChangeLog README* *.txt *.el *.elc *.txt; do \
- ${INSTALL_DATA} $$f ${EMACS_LISPPREFIX}/mule-ucs; \
+ ${INSTALL_DATA} $$f ${DESTDIR}${EMACS_LISPPREFIX}/mule-ucs; \
done
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/mule-ucs/big5conv
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/mule-ucs/big5conv
${INSTALL_DATA} ${WRKSRC}/lisp/big5conv/* \
- ${EMACS_LISPPREFIX}/mule-ucs/big5conv; \
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/mule-ucs/jisx0213
+ ${DESTDIR}${EMACS_LISPPREFIX}/mule-ucs/big5conv; \
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/mule-ucs/jisx0213
${INSTALL_DATA} ${WRKSRC}/lisp/jisx0213/* \
- ${EMACS_LISPPREFIX}/mule-ucs/jisx0213; \
- ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/mule-ucs/reldata
+ ${DESTDIR}${EMACS_LISPPREFIX}/mule-ucs/jisx0213; \
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/mule-ucs/reldata
${INSTALL_DATA} ${WRKSRC}/lisp/reldata/* \
- ${EMACS_LISPPREFIX}/mule-ucs/reldata
+ ${DESTDIR}${EMACS_LISPPREFIX}/mule-ucs/reldata
.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"