1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/audio/lastfm-desktop/Makefile
William Grzybowski 49b292c4fc audio/lastfm-desktop: link against ffmpeg
- Link against ffmpeg

Approved by:	portmgr (bapt, implicit)
2013-10-27 12:24:39 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= lastfm
PORTVERSION= 2.1.30
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://cdn.last.fm/client/Linux/
PKGNAMESUFFIX= -desktop
DISTNAME= Last.fm-${PORTVERSION}
MAINTAINER= vg@FreeBSD.org
COMMENT= Official Last.fm desktop application suite
LICENSE= GPLv3
LIB_DEPENDS= liblastfm.so:${PORTSDIR}/audio/liblastfm \
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
libgpod.so:${PORTSDIR}/audio/libgpod
USES= pkgconfig
NO_STAGE= yes
USE_BZIP2= yes
USE_QT4= gui linguist_build moc_build network phonon qmake_build \
rcc_build uic_build webkit xml
USE_LDCONFIG= yes
LASTFM= ${PORTNAME}${PKGNAMESUFFIX}
SUB_FILES= ${LASTFM}.sh
WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
do-configure:
cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS}
do-install:
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${LASTFM}.sh ${PREFIX}/bin/${LASTFM}
${INSTALL_PROGRAM} ${WRKSRC}/_bin/Last.fm\ Scrobbler ${DATADIR}/
${INSTALL_LIB} ${WRKSRC}/_bin/lib*.so* ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/app/client/Last.fm\ Scrobbler.css \
${DATADIR}/
.include <bsd.port.mk>