1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/audio/scrobbler/Makefile
Tijl Coosemans 2ffbea1568 Convert multimedia/xmms to USES=libtool. Bump PORTREVISION on all
dependent ports and convert them to USES=libtool too.

audio/scrobbler:
- USES=tar:bzip2.
- Don't link with libstdc++.

audio/xmms-bonk:
- Don't link with libstdc++.

audio/xmms-flac:
- Remove unneeded dependencies.
- Remove $FreeBSD$ from patches.

audio/xmms-scrobbler:
- Use OPTIONS_SLAVE.

audio/xmms-timidity:
- USES=tar:bzip2.
- Install the library instead of the source code file.

audio/xmms-volnorm:
- Remove do-install.
2014-05-04 18:48:54 +00:00

53 lines
1.2 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_PLIST_DIRS= lib/xmms/General lib/xmms
XMMS_CONFIGURE_ENABLE= xmms-plugin
CONFIGURE_ARGS+= --disable-bmp-plugin
DEBUG_CONFIGURE_ARGS= debug
APE_CONFIGURE_ENABLE= prefer-ape
ENCODINGS_PATCH_USES= iconv
.include <bsd.port.options.mk>
post-patch::
.if ${PORT_OPTIONS:MENCODINGS_PATCH}
@${PATCH} ${PATCH_ARGS} -p1 < ${FILESDIR}/extra-encodings-patch
.endif
.include <bsd.port.mk>