aboutsummaryrefslogtreecommitdiff
path: root/audio/herrie/Makefile
blob: 71b40a179081cfb338fd3e6bc64988992f3e35fe (plain) (blame)
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
43
44
45
46
47
48
49
# Created by: Ed Schouten <ed@FreeBSD.org>
# $FreeBSD$

PORTNAME=	herrie
PORTVERSION=	2.2
PORTREVISION=	10
CATEGORIES=	audio
MASTER_SITES=	http://herrie.info/distfiles/ \
		http://www.stack.nl/~ed/projects/herrie/distfiles/

MAINTAINER=	ed@FreeBSD.org
COMMENT=	Small command line interface music player

HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=verbose
CONFIGURE_ENV+=	PREFIX=${PREFIX}

USES=		tar:bzip2
USE_GNOME=	glib20

OPTIONS_DEFINE=	MAD VORBIS SNDFILE MODPLUG HTTP LIBAO XCURSES XSPF NLS
OPTIONS_DEFAULT=	MAD VORBIS HTTP XSPF
OPTIONS_SUB=	yes

HTTP_DESC=	HTTP streams and AudioScrobbler support
LIBAO_DESC=	LibAO support (breaks chroot)
XCURSES_DESC=	Build XCurses version

MAD_LIB_DEPENDS=	libmad.so:${PORTSDIR}/audio/mad \
			libid3tag.so:${PORTSDIR}/audio/libid3tag
MAD_CONFIGURE_OFF=no_mp3
VORBIS_LIB_DEPENDS=	libvorbis.so:${PORTSDIR}/audio/libvorbis
VORBIS_CONFIGURE_OFF=no_vorbis
SNDFILE_LIB_DEPENDS=	libsndfile.so:${PORTSDIR}/audio/libsndfile
SNDFILE_CONFIGURE_OFF=no_sndfile
MODPLUG_LIB_DEPENDS=	libmodplug.so:${PORTSDIR}/audio/libmodplug
MODPLUG_CONFIGURE_OFF=no_modplug
HTTP_LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
HTTP_CONFIGURE_OFF=no_http no_scrobbler
LIBAO_LIB_DEPENDS=	libao.so:${PORTSDIR}/audio/libao
LIBAO_CONFIGURE_ON=ao
XCURSES_LIB_DEPENDS=	libXCurses.so:${PORTSDIR}/devel/pdcurses
XCURSES_CONFIGURE_ON=xcurses
XSPF_LIB_DEPENDS=	libxspf.so:${PORTSDIR}/multimedia/libxspf
XSPF_CONFIGURE_OFF=no_xspf
NLS_USES=	gettext
NLS_CONFIGURE_OFF=no_nls

.include <bsd.port.mk>