# $NetBSD: Makefile,v 1.7 2007/02/22 19:26:05 wiz Exp $
#
DISTNAME= cmus-2.1.0
CATEGORIES= audio
MASTER_SITES= http://onion.dynserv.net/~timo/files/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= webmaster@deepblack24.de
HOMEPAGE= http://onion.dynserv.net/~timo/files/
COMMENT= Cmus is an ncurses based mp3/ogg player with a lot of features
HAS_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= prefix=${PREFIX}
CONFIGURE_ARGS+= CONFIG_ALSA=n
CONFIGURE_ARGS+= CONFIG_ARTS=n
CONFIGURE_ARGS+= CONFIG_OSS=y
CONFIGURE_ARGS+= CONFIG_MAD=y
CONFIGURE_ARGS+= CONFIG_AO=y
CONFIGURE_ARGS+= CONFIG_FLAC=y
CONFIGURE_ARGS+= mandir=${PREFIX}/${PKGMANDIR}/
.if exists(/usr/include/sys/audioio.h)
PLIST_SUBST+= SUN=""
.else
PLIST_SUBST+= SUN="@comment "
.endif
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= CONFIG_SUN=y
.endif
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libao/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libmodplug/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>