aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-scrobbler/Makefile
blob: a8ce6523892c8d23ffaa504216e8d582ba3d0fdf (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
# New ports collection makefile for:    xmms-scrobbler
# Date created:                         2004-12-06
# Whom:                                 arved
#
# $FreeBSD$

PORTNAME=   xmms-scrobbler
PORTVERSION=    0.3.8.1
CATEGORIES= audio
MASTER_SITES=   http://static.audioscrobbler.com/plugins/ \
        http://www.pipian.com/stuffforchat/

MAINTAINER= ports@FreeBSD.org
COMMENT=    XMMS plugin for Audioscrobbler.com

LIB_DEPENDS=    musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
        xmms.4:${PORTSDIR}/multimedia/xmms \
        curl.3:${PORTSDIR}/ftp/curl

CONFIGURE_ARGS= --disable-bmp-plugin
USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_LIBTOOL_VER=15
USE_GMAKE=  yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"

PLIST_FILES=    lib/xmms/General/libxmms_scrobbler.so

.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=    --enable-debug
.endif

.if defined(WITH_APE)
CONFIGURE_ARGS+=    --enable-prefer-ape
.endif

.include <bsd.port.mk>