From 17c2f291695dc5ba347670c53378bb5760b56dd5 Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 8 Sep 2008 05:32:26 +0000 Subject: DESTDIR support. --- audio/icecast/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'audio/icecast/Makefile') diff --git a/audio/icecast/Makefile b/audio/icecast/Makefile index 09e1492f9a9..b26e1c34c3f 100644 --- a/audio/icecast/Makefile +++ b/audio/icecast/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2008/08/10 11:09:01 kim Exp $ +# $NetBSD: Makefile,v 1.46 2008/09/08 05:32:26 dholland Exp $ # DISTNAME= icecast-2.3.2 @@ -9,6 +9,8 @@ MAINTAINER= kim@tac.nyc.ny.us HOMEPAGE= http://www.icecast.org/ COMMENT= Live streaming audio server +PKG_DESTDIR_SUPPORT= user-destdir + USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes @@ -48,8 +50,8 @@ post-install: -e "s,@ICECAST_USER@,${ICECAST_USER},g" \ -e "s,@ICECAST_GROUP@,${ICECAST_GROUP},g" \ ${WRKSRC}/conf/icecast.fixme > ${WRKSRC}/conf/icecast.xml - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/conf/icecast.xml ${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/conf/icecast.xml ${DESTDIR}${EGDIR} .include "../../audio/libvorbis/buildlink3.mk" .include "../../audio/speex/buildlink3.mk" -- cgit v1.2.3