1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/audio/scrobbler/Makefile
2015-08-19 13:29:59 +00:00

47 lines
1.1 KiB
Makefile

# Created by: arved
# $FreeBSD$
PORTNAME?= scrobbler
PORTVERSION= 0.3.8.1
PORTREVISION= 17
CATEGORIES= audio
MASTER_SITES= http://static.audioscrobbler.com/plugins/ \
http://www.pipian.com/stuffforchat/
DISTNAME= xmms-scrobbler-${PORTVERSION}
MAINTAINER?= novel@FreeBSD.org
COMMENT?= XMMS/BMP plugin for Audioscrobbler.com
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
CONFLICTS= xmms-scrobbler-[0-9]*
USES= gmake libtool pkgconfig tar:bzip2
USE_CSTD= gnu89
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
SLAVEDIRS= audio/xmms-scrobbler
OPTIONS_DEFINE= APE XMMS DEBUG ENCODINGS_PATCH
OPTIONS_DEFAULT=XMMS
XMMS_DESC= Enable XMMS support
ENCODINGS_PATCH_DESC= Enable ID3 tags recoding support
XMMS_LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms
XMMS_PLIST_FILES= lib/xmms/General/libxmms_scrobbler.so
XMMS_CONFIGURE_ENABLE= xmms-plugin
CONFIGURE_ARGS+= --disable-bmp-plugin
DEBUG_CONFIGURE_ARGS= debug
APE_CONFIGURE_ENABLE= prefer-ape
ENCODINGS_PATCH_USES= iconv
ENCODINGS_PATCH_EXTRA_PATCHES= ${FILESDIR}/extra-encodings-patch:-p1
.include <bsd.port.mk>