aboutsummaryrefslogtreecommitdiffstats
path: root/audio/raop_play/Makefile
blob: 257bfaa51c4839902fb73a5d63598b30ed51458f (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
# New ports collection makefile for:    raop_play
# Date created:        8 Dec 2006
# Whom:                sumikawa
#
# $FreeBSD$
#

PORTNAME=   raop_play
PORTVERSION=    0.5.1
PORTREVISION=   4
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= raop-play

MAINTAINER= sumikawa@FreeBSD.org
COMMENT=    A music file player for Apple Airport Express

LIB_DEPENDS=    samplerate.1:${PORTSDIR}/audio/libsamplerate \
        fltk.1:${PORTSDIR}/x11-toolkits/fltk \
        id3tag.0:${PORTSDIR}/audio/libid3tag
RUN_DEPENDS=    mpg321:${PORTSDIR}/audio/mpg321 \
        ogg123:${PORTSDIR}/audio/vorbis-tools \
        faad:${PORTSDIR}/audio/faad \
        flac:${PORTSDIR}/audio/flac

GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE=  yes
USE_GNOME=  glib20

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800000 && ${ARCH} == "amd64"
BROKEN=     incomplete build
.endif

pre-build:
    ${CP} ${FILESDIR}/getline.c ${FILESDIR}/getline.h ${WRKSRC}/rendezvous/

.include <bsd.port.post.mk>