summaryrefslogtreecommitdiff
path: root/audio/toolame
diff options
context:
space:
mode:
authorheinz <heinz>2007-07-14 19:12:22 +0000
committerheinz <heinz>2007-07-14 19:12:22 +0000
commit670b882b73431ce1cb6326f78391fbf45672ff7c (patch)
tree27434993fa34b3b3bb43bd7c5cecc901b13089b9 /audio/toolame
parentdc7b4e0ed86ec1e8c3abbf1617cbe000ec12e109 (diff)
downloadpkgsrc-670b882b73431ce1cb6326f78391fbf45672ff7c.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'audio/toolame')
-rw-r--r--audio/toolame/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/toolame/Makefile b/audio/toolame/Makefile
index ea2c6409772..d1a038632b9 100644
--- a/audio/toolame/Makefile
+++ b/audio/toolame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/03/04 21:28:58 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2007/07/14 19:12:22 heinz Exp $
#
DISTNAME= toolame-02l
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/toolame/
COMMENT= Optimized MPEG 1/2 layer 2 audio encoder
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
TOOLAME_ARCH?=
@@ -22,9 +24,9 @@ INSTALLATION_DIRS= bin
TOOLAME_HTMLFILES= changes.html default.html psycho.html readme.html vbr.html
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/toolame
- cd ${WRKSRC}/html; ${INSTALL_DATA} ${TOOLAME_HTMLFILES} \
- ${PREFIX}/share/doc/html/toolame
- ${INSTALL_PROGRAM} ${WRKSRC}/toolame ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/share/doc/html/toolame
+ cd ${WRKSRC:Q}/html; ${INSTALL_DATA} ${TOOLAME_HTMLFILES} \
+ ${DESTDIR:Q}${PREFIX:Q}/share/doc/html/toolame
+ ${INSTALL_PROGRAM} ${WRKSRC:Q}/toolame ${DESTDIR:Q}${PREFIX:Q}/bin
.include "../../mk/bsd.pkg.mk"