aboutsummaryrefslogtreecommitdiff
path: root/audio/raop_play/Makefile
blob: a5d3757db21c50c1e41dbb339d20f40d3bda25bf (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
# Created by: sumikawa
# $FreeBSD$

PORTNAME=	raop_play
PORTVERSION=	0.5.1
PORTREVISION=	10
CATEGORIES=	audio
MASTER_SITES=	SF/raop-play/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Music file player for Apple Airport Express

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN_SSL=	openssl-devel
BROKEN_SSL_REASON_openssl-devel=	bin/raop_play:No such file or directory

LIB_DEPENDS=	libsamplerate.so:audio/libsamplerate \
		libfltk.so:x11-toolkits/fltk \
		libid3tag.so:audio/libid3tag
RUN_DEPENDS=	mpg321:audio/mpg321 \
		ogg123:audio/vorbis-tools \
		faad:audio/faad \
		flac:audio/flac

GNU_CONFIGURE=	yes
CFLAGS+=	-D_WITH_GETLINE
LDFLAGS+=	`fltk-config --ldflags`
USES=		gmake ssl
USE_GNOME=	glib20

post-patch:
	@${REINPLACE_CMD} 's/-lssl/-lcrypto/' \
		${WRKSRC}/configure ${WRKSRC}/raop_play/Makefile.in

.include <bsd.port.mk>