diff options
author | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
commit | 33be9d571979426caf74e11b4f9a9f2be70808b5 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/gramofile | |
parent | 49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff) | |
download | pkgsrc-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/Makefile | 11 |
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 |