diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
commit | 76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/cdd | |
parent | 5c458b597ca0742153b3a339088ba80f14b598ef (diff) | |
download | pkgsrc-76ed4a57975c0d7c08dcc86ebda15457c3e83793.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio/cdd')
-rw-r--r-- | audio/cdd/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/cdd/Makefile b/audio/cdd/Makefile index 75e2e95751b..abcc9f6f1da 100644 --- a/audio/cdd/Makefile +++ b/audio/cdd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2006/05/11 10:07:58 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:31 jlam Exp $ DISTNAME= cdd-1.0nb3 CATEGORIES= audio @@ -7,6 +7,8 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} MAINTAINER= thorpej@NetBSD.org COMMENT= Program for reading CD audio from SCSI/ATAPI CD-ROM drives +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../mk/bsd.prefs.mk" .if defined(CDDCPPFLAGS) @@ -16,8 +18,8 @@ MAKE_ENV+= CDDCPPFLAGS=${CDDCPPFLAGS:Q} INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cdd ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/stripzeros ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/cdd ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/stripzeros ${DESTDIR}${PREFIX}/bin .include "../../devel/libscsi/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |