summaryrefslogtreecommitdiff
path: root/audio/spiralsynth
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/spiralsynth
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/spiralsynth')
-rw-r--r--audio/spiralsynth/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/spiralsynth/Makefile b/audio/spiralsynth/Makefile
index 778511ffd3d..9478167ef7a 100644
--- a/audio/spiralsynth/Makefile
+++ b/audio/spiralsynth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2006/12/15 14:34:19 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2008/03/02 06:10:34 jlam Exp $
#
DISTNAME= SpiralSynth-2.0.0
@@ -16,6 +16,8 @@ ONLY_FOR_PLATFORM= *-*-alpha *-*-arc *-*-cobalt *-*-dreamcast \
*-*-hpcmips *-*-hpcsh *-*-i386 *-*-pc532 *-*-pmax \
*-*-vax
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
@@ -25,10 +27,10 @@ CXXFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/spiralsynth
+ ${INSTALL_PROGRAM} ${WRKSRC}/SpiralSynth ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/spiralsynth
${INSTALL_DATA} ${WRKSRC}/.SpiralPatches.bank \
- ${WRKSRC}/.Spiralrc ${PREFIX}/share/spiralsynth
+ ${WRKSRC}/.Spiralrc ${DESTDIR}${PREFIX}/share/spiralsynth
.include "../../x11/fltk/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"