summaryrefslogtreecommitdiff
path: root/audio/dap
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 06:10:30 +0000
committerjlam <jlam>2008-03-02 06:10:30 +0000
commit33be9d571979426caf74e11b4f9a9f2be70808b5 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/dap
parent49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff)
downloadpkgsrc-33be9d571979426caf74e11b4f9a9f2be70808b5.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/dap')
-rw-r--r--audio/dap/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/dap/Makefile b/audio/dap/Makefile
index 13a18c94b0a..621eb388ccf 100644
--- a/audio/dap/Makefile
+++ b/audio/dap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2007/03/24 21:02:18 adam Exp $
+# $NetBSD: Makefile,v 1.34 2008/03/02 06:10:31 jlam Exp $
DISTNAME= dap-2.1.5
CATEGORIES= audio
@@ -9,15 +9,17 @@ MAINTAINER= scw@NetBSD.org
HOMEPAGE= http://www.cee.hw.ac.uk/~richardk/
COMMENT= Digital audio recording and processing package
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
INSTALLATION_DIRS+= share/doc/dap
MAKE_FILE= Makefile.netbsd
MAKE_ENV+= X11PREFIX=${X11PREFIX:Q}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/main/DAP ${PREFIX}/bin/dap
+ ${INSTALL_PROGRAM} ${WRKSRC}/main/DAP ${DESTDIR}${PREFIX}/bin/dap
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/TODO ${WRKSRC}/COPYING \
- ${WRKSRC}/FEATURES ${PREFIX}/share/doc/dap
+ ${WRKSRC}/FEATURES ${DESTDIR}${PREFIX}/share/doc/dap
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"