summaryrefslogtreecommitdiff
path: root/audio/liveice/Makefile
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/liveice/Makefile
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/liveice/Makefile')
-rw-r--r--audio/liveice/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/liveice/Makefile b/audio/liveice/Makefile
index fded23b135e..c99a5702cf3 100644
--- a/audio/liveice/Makefile
+++ b/audio/liveice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/06/17 10:46:45 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:33 jlam Exp $
#
DISTNAME= liveice
@@ -15,6 +15,8 @@ DEPENDS+= mpg123-0.5*:../../audio/mpg123
DEPENDS+= lame-3.*:../../audio/lame
DEPENDS+= tk>=8.0:../../x11/tk
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
DIST_SUBDIR= liveice-0.20001121
LIBS+= ${LIBOSSAUDIO}
@@ -27,12 +29,12 @@ REPLACE.wish.new= ${LOCALBASE}/bin/wish
REPLACE_FILES.wish= liveiceconfigure.tk
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/liveice ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/liveiceconfigure.tk ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/liveice
+ ${INSTALL_PROGRAM} ${WRKSRC}/liveice ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/liveiceconfigure.tk ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/liveice
.for f in README.frontend README.liveice README.quickstart \
README.xingmp3enc README_new_mixer.txt
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/liveice
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/liveice
.endfor
.include "../../mk/oss.buildlink3.mk"