summaryrefslogtreecommitdiff
path: root/audio/rio
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/rio
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/rio')
-rw-r--r--audio/rio/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/audio/rio/Makefile b/audio/rio/Makefile
index f5879086d19..2ac9ad4d622 100644
--- a/audio/rio/Makefile
+++ b/audio/rio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/06/15 15:13:34 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:34 jlam Exp $
#
DISTNAME= rio007
@@ -13,6 +13,8 @@ COMMENT= Utility to display and manage files on the Diamond Rio PMP300
ONLY_FOR_PLATFORM= NetBSD-*-i386
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/rio107
MAKE_FILE= makefile
USE_LANGUAGES= c++
@@ -26,9 +28,10 @@ do-build:
${SED} ${FILES_SUBST_SED} ${FILESDIR}/find-lpt-port > ${WRKSRC}/find-lpt-port.sh
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rio ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/rio
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/rio
- ${INSTALL_SCRIPT} ${WRKSRC}/find-lpt-port.sh ${PREFIX}/bin/find-lpt-port
+ ${INSTALL_PROGRAM} ${WRKSRC}/rio ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/rio
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/rio
+ ${INSTALL_SCRIPT} ${WRKSRC}/find-lpt-port.sh \
+ ${DESTDIR}${PREFIX}/bin/find-lpt-port
.include "../../mk/bsd.pkg.mk"