summaryrefslogtreecommitdiff
path: root/audio/cdd/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 06:10:30 +0000
committerjlam <jlam>2008-03-02 06:10:30 +0000
commit5e208f4c10af866c1787ca2bbb3312ff140e9f8d (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/cdd/Makefile
parent6f66c48cf7c3d142c768614f7fdc4e84ca8a2822 (diff)
downloadpkgsrc-5e208f4c10af866c1787ca2bbb3312ff140e9f8d.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/Makefile')
-rw-r--r--audio/cdd/Makefile8
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"