summaryrefslogtreecommitdiff
path: root/audio/qsynth
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
commit76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/qsynth
parent5c458b597ca0742153b3a339088ba80f14b598ef (diff)
downloadpkgsrc-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/qsynth')
-rw-r--r--audio/qsynth/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/audio/qsynth/Makefile b/audio/qsynth/Makefile
index 63774bda95e..56439ab063d 100644
--- a/audio/qsynth/Makefile
+++ b/audio/qsynth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/05/28 11:56:04 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/02 06:10:33 jlam Exp $
DISTNAME= qsynth-0.2.4
PKGREVISION= 4
@@ -10,6 +10,7 @@ HOMEPAGE= http://qsynth.sourceforge.net/
COMMENT= Qt GUI Interface to FluidSynth
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
@@ -24,10 +25,13 @@ SUBST_MESSAGE.hints= Fix includehints.
SUBST_FILES.hints= src/*.ui
SUBST_FILTER_CMD.hints= ${GREP} -v includehint
+INSTALLATION_DIRS= bin
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/qsynth ${PREFIX}/bin/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/
- ${INSTALL_DATA} ${WRKSRC}/icons/qsynth.png ${PREFIX}/share/icons/
+ ${INSTALL_PROGRAM} ${WRKSRC}/qsynth ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icons
+ ${INSTALL_DATA} ${WRKSRC}/icons/qsynth.png \
+ ${DESTDIR}${PREFIX}/share/icons
.include "../../audio/fluidsynth/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"