diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-01 00:40:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-01 00:40:32 +0000 |
commit | 2a77136ae4b4ca9d98104786eed2e8670fb5e053 (patch) | |
tree | cd53e0a0fc5b92a48b0d4c18f73ef1f23ba410f7 /audio/mstream | |
parent | 37efdda35d7b6e24dfbadb8add289b985c75353b (diff) | |
download | pkgsrc-2a77136ae4b4ca9d98104786eed2e8670fb5e053.tar.gz |
DESTDIR support
Diffstat (limited to 'audio/mstream')
-rw-r--r-- | audio/mstream/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/audio/mstream/Makefile b/audio/mstream/Makefile index 719fd426939..6eca4312ad1 100644 --- a/audio/mstream/Makefile +++ b/audio/mstream/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2009/05/24 15:53:19 zafer Exp $ +# $NetBSD: Makefile,v 1.14 2010/02/01 00:40:32 joerg Exp $ # DISTNAME= mstream-1.3 @@ -9,18 +9,24 @@ MAINTAINER= kim@tac.nyc.ny.us HOMEPAGE= http://kimmo.suominen.com/gwradio/ COMMENT= Mserv player package to queue tracks to IceS +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= ices-mp3>=0.3:../../audio/ices-mp3 DEPENDS+= p5-MP3-Info>=1.0:../../audio/p5-MP3-Info NO_CONFIGURE= yes USE_TOOLS+= perl:run -DATADIR= ${LOCALBASE}/share/mstream -MODDIR= ${LOCALBASE}/share/ices-mp3 +DATADIR= ${PREFIX}/share/mstream +MODDIR= ${PREFIX}/share/ices-mp3 -MAKE_FLAGS+= PREFIX=${PREFIX:Q} -MAKE_FLAGS+= DATADIR=${DATADIR:Q} -MAKE_FLAGS+= MODDIR=${MODDIR:Q} +MAKE_FLAGS+= PREFIX=${PREFIX} +MAKE_FLAGS+= DATADIR=${DATADIR} +MAKE_FLAGS+= MODDIR=${MODDIR} MAKE_FLAGS+= PERL=${PERL5:Q} +INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} +INSTALL_MAKE_FLAGS+= DATADIR=${DESTDIR}${DATADIR} +INSTALL_MAKE_FLAGS+= MODDIR=${DESTDIR}${MODDIR} + .include "../../mk/bsd.pkg.mk" |