summaryrefslogtreecommitdiff
path: root/audio/icecast/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/icecast/Makefile')
-rw-r--r--audio/icecast/Makefile8
1 files changed, 5 insertions, 3 deletions
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"