summaryrefslogtreecommitdiff
path: root/audio/cmus/Makefile
blob: 1549e85b182bf831afbf426dc1ee8644b0e9e40b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $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"