File:  [cvs.NetBSD.org] / pkgsrc / audio / cmus / Makefile
Revision 1.7: download - view: text, annotated - select for diffs
Thu Feb 22 19:26:05 2007 UTC (17 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, HEAD
Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

# $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>