From 76ed4a57975c0d7c08dcc86ebda15457c3e83793 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 2 Mar 2008 06:10:30 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- audio/liveice/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'audio/liveice') 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" -- cgit v1.2.3