summaryrefslogtreecommitdiffstats
path: root/audio/bmp-scrobbler/Makefile
blob: 772e126391d4bb1b17833fa013eec349ad1307a0 (plain)
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
# New ports collection makefile for:	bmp-scrobbler
# Date created:				01-14-2005
# Whom:					Roman Bogorodskiy <bogorodskiy@inbox.ru>
#
# $FreeBSD$

PORTNAME=	bmp-scrobbler
PORTVERSION=	0.3.8.1
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://static.audioscrobbler.com/plugins/ \
		http://www.pipian.com/stuffforchat/
DISTNAME=	xmms-scrobbler-${PORTVERSION}

MAINTAINER=	novel@FreeBSD.org
COMMENT=	BMP plugin for Audioscrobbler.com

LIB_DEPENDS=	musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
		beep.2:${PORTSDIR}/multimedia/beep-media-player \
		curl.3:${PORTSDIR}/ftp/curl

CONFIGURE_ARGS=	--disable-xmms-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"

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

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

PLIST_FILES=	lib/bmp/General/libbmp_scrobbler.so

.include <bsd.port.mk>
OpenPOWER on IntegriCloud