diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:55:13 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:55:13 +0000 |
commit | 56b6af428423c4de57e42b39c712b29a75b2dfda (patch) | |
tree | dbf82d88f69c900ca1397ba85bdd84959b71d3d9 /inputmethod/sj3-dict | |
parent | 33cef9b4f51b52a3b30d8d656a62d2a1ad952487 (diff) | |
download | pkgsrc-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/sj3-dict')
-rw-r--r-- | inputmethod/sj3-dict/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/inputmethod/sj3-dict/Makefile b/inputmethod/sj3-dict/Makefile index 3b9984e03b3..d5f4dc87805 100644 --- a/inputmethod/sj3-dict/Makefile +++ b/inputmethod/sj3-dict/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/07/05 04:55:23 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/04 15:55:14 jlam Exp $ # DISTNAME= sj3-2.0.1.20 @@ -17,6 +17,8 @@ FILESDIR= ${.CURDIR}/../sj3-lib/files DISTINFO_FILE= ${.CURDIR}/../sj3-lib/distinfo PATCHDIR= ${.CURDIR}/../sj3-lib/patches +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/bsd.prefs.mk" USE_TOOLS+= itools @@ -41,6 +43,7 @@ pre-configure: > ${WRKSRC}/dict/dict/Imakefile do-install: - ${INSTALL_DATA} ${WRKSRC}/dict/dict/sj3main.dic ${PREFIX}/libdata + ${INSTALL_DATA} ${WRKSRC}/dict/dict/sj3main.dic \ + ${DESTDIR}${PREFIX}/libdata .include "../../mk/bsd.pkg.mk" |