diff options
author | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
commit | c2f2c30967ebdcd9120a391abfb655a190302a51 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/bbcim | |
parent | e86a3ba39061980160972e0fd2948b67acb7f5af (diff) | |
download | pkgsrc-c2f2c30967ebdcd9120a391abfb655a190302a51.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/bbcim')
-rw-r--r-- | converters/bbcim/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/converters/bbcim/Makefile b/converters/bbcim/Makefile index 7e441f41d97..d90b83a8b82 100644 --- a/converters/bbcim/Makefile +++ b/converters/bbcim/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/02/22 19:26:14 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2008/03/03 05:51:07 jlam Exp $ # DISTNAME= bbcim095-5 @@ -11,6 +11,8 @@ EXTRACT_SUFX= .zip MAINTAINER= skrll@NetBSD.org COMMENT= File and diskimage conversion utility for BBC Micro software +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/bbcim MAN_PAGE= ${FILESDIR}/bbcim.1 @@ -20,7 +22,7 @@ do-build: (cd ${WRKSRC} && ${WRKSRC}/mkbbcim) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bbcim ${PREFIX}/bin/ - ${INSTALL_MAN} ${MAN_PAGE} ${PREFIX}/${PKGMANDIR}/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/bbcim ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${MAN_PAGE} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |