summaryrefslogtreecommitdiff
path: root/audio/harp/Makefile
blob: f98be520d336f7634192ae6023d2da4258e06dd6 (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
50
51
# $FreeBSD$

PORTNAME=	harp
PORTVERSION=	0.5.2
PORTREVISION=	3
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
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_ARGS=	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>