diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
commit | 41aa6da5cb9b0a946c208eb3858b4455ac8462d1 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/ack | |
parent | 4183b9ede0b9da530e4bad07b6e52bf91b8c2d66 (diff) | |
download | pkgsrc-41aa6da5cb9b0a946c208eb3858b4455ac8462d1.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/ack')
-rw-r--r-- | converters/ack/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/converters/ack/Makefile b/converters/ack/Makefile index 81ee50fdea6..9dbb05349d4 100644 --- a/converters/ack/Makefile +++ b/converters/ack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/01/07 09:13:49 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/03 05:51:07 jlam Exp $ DISTNAME= ack139 PKGNAME= ack-1.39 @@ -8,12 +8,14 @@ MASTER_SITES= ftp://ftp.tohoku.ac.jp/pub/unix/ack/ MAINTAINER= kei_sun@ba2.so-net.ne.jp COMMENT= Japanese code converter +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= ack INSTALLATION_DIRS= bin ${PKGMANDIR}/ja_JP.EUC/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ack ${PREFIX}/bin/ack - ${INSTALL_DATA} ${WRKSRC}/ack.1 ${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man1/ack.1 + ${INSTALL_PROGRAM} ${WRKSRC}/ack ${DESTDIR}${PREFIX}/bin/ack + ${INSTALL_DATA} ${WRKSRC}/ack.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man1/ack.1 .include "../../mk/bsd.pkg.mk" |