aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/despotify/Makefile
blob: d96b20e666396b18ce586ef3928f38eb20eab14f (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
# $FreeBSD$

PORTNAME=   despotify
PORTVERSION=    0.0.${SVN_REV}
DISTVERSIONPREFIX=  svn
CATEGORIES= multimedia
MASTER_SITES=   CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    A command-line client for spotify

LIB_DEPENDS=    vorbis:${PORTSDIR}/audio/libvorbis \
        ao:${PORTSDIR}/audio/libao
BUILD_DEPENDS=  libtool:${PORTSDIR}/devel/libtool

USE_GMAKE=  yes
USE_LDCONFIG=   yes

SVN_REV=    521

WRKSRC=     ${WRKDIR}/${PORTNAME}/src

CFLAGS+=    -L${LOCALBASE}/lib -I${LOCALBASE}/include
LDFLAGS+=   -lpthread -lao -L${LOCALBASE}/lib

MAKE_ENV+=  V=1 LDFLAGS="${LDFLAGS}" INSTALL_PREFIX=${PREFIX}

.include <bsd.port.mk>