summaryrefslogtreecommitdiff
path: root/audio/qtplay
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/qtplay
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/qtplay')
-rw-r--r--audio/qtplay/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/qtplay/Makefile b/audio/qtplay/Makefile
index 9075ac0b1a1..ca3f438abde 100644
--- a/audio/qtplay/Makefile
+++ b/audio/qtplay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/05/13 13:13:41 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/02 06:10:33 jlam Exp $
#
DISTNAME= qtplay1.3.1
@@ -12,6 +12,8 @@ COMMENT= QuickTime command-line player
ONLY_FOR_PLATFORM= Darwin-*-*
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
@@ -24,7 +26,7 @@ do-build:
cc -o ${PKGBASE} -framework Carbon -framework QuickTime ${CFLAGS} ${CPPFLAGS} qtplay.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/qtplay ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/qtplay.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/qtplay ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/qtplay.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"