summaryrefslogtreecommitdiff
path: root/audio/cmus/Makefile
blob: 5eff2cd4a5e393b2dd2837ed94454af6c282e89f (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
# $NetBSD: Makefile,v 1.3 2007/01/07 09:13:47 rillig Exp $
#

DISTNAME=		cmus-2.0.3
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

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 "../../devel/ncurses/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/libao/buildlink3.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"