aboutsummaryrefslogtreecommitdiffstats
path: root/audio/aqualung/Makefile
blob: b0aa85e78a971a37006290eea89f06e222d14762 (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
52
53
54
55
# New ports collection makefile for:    aqualung
# Date created:     08 October 2006
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   aqualung
DISTVERSION=    0.9beta7
PORTREVISION=   4
CATEGORIES= audio
MASTER_SITES=   SF

MAINTAINER= infofarmer@FreeBSD.org
COMMENT=    Music player with rich features

LIB_DEPENDS=    jack.0:${PORTSDIR}/audio/jack \
        samplerate.1:${PORTSDIR}/audio/libsamplerate \
        sndfile.1:${PORTSDIR}/audio/libsndfile \
        FLAC.7:${PORTSDIR}/audio/flac \
        vorbis.3:${PORTSDIR}/audio/libvorbis \
        oggz.3:${PORTSDIR}/audio/liboggz \
        speex.1:${PORTSDIR}/audio/speex \
        mad.2:${PORTSDIR}/audio/libmad \
        modplug.0:${PORTSDIR}/audio/libmodplug \
        mpcdec.5:${PORTSDIR}/audio/libmpcdec \
        mac.2:${PORTSDIR}/audio/mac \
        tag.5:${PORTSDIR}/audio/taglib \
        lrdf.2:${PORTSDIR}/textproc/liblrdf \
        cdio.7:${PORTSDIR}/sysutils/libcdio \
        mp3lame.0:${PORTSDIR}/audio/lame \
        avcodec.1:${PORTSDIR}/multimedia/ffmpeg-devel \
        strfunc.9:${PORTSDIR}/devel/libstrfunc \
        cddb.4:${PORTSDIR}/audio/libcddb

USE_GETTEXT=    yes
USE_GNOME=  pkgconfig gtk20 libxml2
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --program-transform-name="" --with-alsa=no --with-ifp=no --with-systray=no \
        --with-cdda=no
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS=   -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib -lstrfunc
PORTDOCS=   README manual.lyx manual.pdf
MAN1=       ${PORTNAME}.1

post-patch:
    @${REINPLACE_CMD} -e '/^docdir/s!=.*!= ${DOCSDIR}!' ${WRKSRC}/doc/Makefile.in
#   @${REINPLACE_CMD} -e 's/libcdio_paranoia/libcdda_paranoia/g' ${WRKSRC}/configure
.ifdef NOPORTDOCS
    @${REINPLACE_CMD} -e '/^install-data-am/s!install-docDATA!!' ${WRKSRC}/doc/Makefile.in
.endif

.include <bsd.port.mk>