summaryrefslogtreecommitdiff
path: root/audio/gramofile
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/gramofile
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/gramofile')
-rw-r--r--audio/gramofile/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/gramofile/Makefile b/audio/gramofile/Makefile
index a51d69bda36..657ad4319b0 100644
--- a/audio/gramofile/Makefile
+++ b/audio/gramofile/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/04/22 09:22:05 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:32 jlam Exp $
#
DISTNAME= gramofile-1.6
@@ -11,6 +11,7 @@ HOMEPAGE= http://www.opensourcepartners.nl/~costar/gramofile/
COMMENT= Tool for ripping audio from vinyl
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= gramofile makebplay
@@ -19,9 +20,11 @@ USE_TOOLS+= gmake
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gramofile ${PREFIX}/bin/gramofile
- ${INSTALL_PROGRAM} ${WRKSRC}/bplaysrc/bplay ${PREFIX}/bin/bplay_gramo
- cd ${PREFIX}/bin && ${LN} -s bplay_gramo brec_gramo
+ ${INSTALL_PROGRAM} ${WRKSRC}/gramofile \
+ ${DESTDIR}${PREFIX}/bin/gramofile
+ ${INSTALL_PROGRAM} ${WRKSRC}/bplaysrc/bplay \
+ ${DESTDIR}${PREFIX}/bin/bplay_gramo
+ cd ${DESTDIR}${PREFIX}/bin && ${LN} -s bplay_gramo brec_gramo
SUBST_CLASSES+= snd
SUBST_STAGE.snd= post-patch