e9bef0ebb9
in case it breaks compatibility with alternative services. PR: 220992 Submitted by: Eugene Zheganin Approved by: az (mentor)
40 lines
903 B
Makefile
40 lines
903 B
Makefile
# Created by: Alexander Botero-Lowry <alex@foxybanana.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xmms2-scrobbler
|
|
PORTVERSION= 0.4.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ftp://ftp.code-monkey.de/pub/${PORTNAME}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Last.fm submission client for XMMS2
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libxmmsclient.so:audio/xmms2 \
|
|
libcurl.so:ftp/curl
|
|
|
|
USES= gmake pkgconfig
|
|
LDFLAGS+= -lpthread
|
|
|
|
PLIST_FILES= bin/xmms2-scrobbler
|
|
PORTDOCS= README
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= APIFIX DOCS
|
|
OPTIONS_DEFAULT= APIFIX DOCS
|
|
|
|
APIFIX_DESC= Apply fix for Last.fm API 1.x
|
|
APIFIX_EXTRA_PATCHES_ON= ${FILESDIR}/extra-patch-xmms2-scrobbler.c
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xmms2-scrobbler
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|