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 | 43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/cbmconvert | |
parent | 3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff) | |
download | pkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.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/cbmconvert')
-rw-r--r-- | converters/cbmconvert/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/converters/cbmconvert/Makefile b/converters/cbmconvert/Makefile index 8d2759417c3..09874905a1d 100644 --- a/converters/cbmconvert/Makefile +++ b/converters/cbmconvert/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/09/09 02:41:55 obache Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/03 05:51:07 jlam Exp $ DISTNAME= cbmconvert-2.1.2 CATEGORIES= converters archivers @@ -7,15 +7,18 @@ MASTER_SITES= ftp://ftp.zimmers.net/pub/cbm/crossplatform/converters/unix/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Converts files to and from various C64/C128/CBM formats +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_FILE= Makefile.unix MAKE_FLAGS+= CFLAGS=${CFLAGS:M*:Q} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/cbmconvert do-install: .for f in cbmconvert disk2zip zip2disk - ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${PREFIX}/${PKGMANDIR}/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .endfor - ${INSTALL_DATA} ${WRKSRC}/cbmconvert.html ${PREFIX}/share/doc/cbmconvert/ + ${INSTALL_DATA} ${WRKSRC}/cbmconvert.html \ + ${DESTDIR}${PREFIX}/share/doc/cbmconvert .include "../../mk/bsd.pkg.mk" |