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/dap | |
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/dap')
-rw-r--r-- | audio/dap/Makefile | 8 |
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" |