summaryrefslogtreecommitdiffstats
path: root/audio/harp/Makefile
blob: fdf4cee79136055170612023c27ccb0c4d9e7e20 (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
43
44
45
46
47
48
49
50
51
# $FreeBSD$

PORTNAME=	harp
PORTVERSION=	0.5.2
PORTREVISION=	5
CATEGORIES=	audio
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	heckendorfc@gmail.com
COMMENT=	Minimalist audio player

LICENSE=	GPLv3

USES=		libtool
GNU_CONFIGURE=	yes

USE_SQLITE=	yes

USE_LDCONFIG=	yes

OPTIONS_DEFINE=	AAC FLAC MP3 SHOUTCAST VORBIS JACK DOCS
OPTIONS_DEFAULT=	AAC FLAC MP3 SHOUTCAST VORBIS
OPTIONS_SUB=	yes

PORTDOCS=	README

INSTALL_TARGET=	install-strip

AAC_LIB_DEPENDS=	libfaad.so:${PORTSDIR}/audio/faad
AAC_CONFIGURE_WITH=	aac

FLAC_LIB_DEPENDS=	libFLAC.so:${PORTSDIR}/audio/flac
FLAC_CONFIGURE_WITH=	flac

MP3_LIB_DEPENDS+=	libmpg123.so:${PORTSDIR}/audio/mpg123
MP3_CONFIGURE_WITH=	mp3

SHOUTCAST_CONFIGURE_WITH=	stream

VORBIS_LIB_DEPENDS=	libvorbisfile.so:${PORTSDIR}/audio/libvorbis
VORBIS_CONFIGURE_WITH=	vorbis

JACK_CONFIGURE_WITH=	jack
JACK_LIB_DEPENDS=	libjack.so:${PORTSDIR}/audio/jack

post-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud