pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/icecast DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f54b52babbb
branches:  trunk
changeset: 546816:4f54b52babbb
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Sep 08 05:32:26 2008 +0000

description:
DESTDIR support.

diffstat:

 audio/icecast/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 28ca660f869b -r 4f54b52babbb audio/icecast/Makefile
--- a/audio/icecast/Makefile    Mon Sep 08 05:32:24 2008 +0000
+++ b/audio/icecast/Makefile    Mon Sep 08 05:32:26 2008 +0000
@@ -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 @@
 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 @@
                -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"



Home | Main Index | Thread Index | Old Index