summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2008-09-08 05:32:26 +0000
committerdholland <dholland@pkgsrc.org>2008-09-08 05:32:26 +0000
commit17c2f291695dc5ba347670c53378bb5760b56dd5 (patch)
tree6bdd2933624c69476907a5935f0ee0bec413e048 /audio
parent792f9e551a4e6f2caa4e09c52a0a82454bf5c3ce (diff)
downloadpkgsrc-17c2f291695dc5ba347670c53378bb5760b56dd5.tar.gz
DESTDIR support.
Diffstat (limited to 'audio')
-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"