aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms2-scrobbler/Makefile
blob: 4e60e3ccfd299203354a146048f5102f4188a79e (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
# Created by: Alexander Botero-Lowry <alex@foxybanana.com>
# $FreeBSD$

PORTNAME=   xmms2-scrobbler
PORTVERSION=    0.4.0
PORTREVISION=   3
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= DOCS

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>