aboutsummaryrefslogtreecommitdiff
path: root/audio/last.fm/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-03-24 00:35:23 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-03-24 00:35:23 +0000
commitf9bc8ada53d352900b81417a1d9e55ead2d654ef (patch)
tree9cef714e2a48747c9a1624061010d3da1bd61da6 /audio/last.fm/Makefile
parent03a40f14d656c80310f6027186e7183189eec284 (diff)
downloadports-f9bc8ada53d352900b81417a1d9e55ead2d654ef.tar.gz
ports-f9bc8ada53d352900b81417a1d9e55ead2d654ef.zip
Notes
Diffstat (limited to 'audio/last.fm/Makefile')
-rw-r--r--audio/last.fm/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/audio/last.fm/Makefile b/audio/last.fm/Makefile
index e51902225bf9..0d6a84432f9c 100644
--- a/audio/last.fm/Makefile
+++ b/audio/last.fm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= last.fm
PORTVERSION= 1.3.2.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio net
MASTER_SITES= http://cdn.last.fm/client/src/
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@@ -37,17 +37,16 @@ post-patch:
-E -e 's|(.*"CONFIG-=debug")|\1 ${QMAKEFLAGS}|g' \
-e 's|function header|header()|g' \
-e 's|function middle|middle()|g' \
+ -e 's|-pthread|-pthread -R/usr/local/share/last.fm|g' \
${WRKSRC}/configure
${REINPLACE_CMD} -e 's|linux\*|unix|g' ${WRKSRC}/src/src.pro
post-build:
cd ${WRKSRC}/src/output/RtAudio && \
${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} && make
- ${REINPLACE_CMD} -e 's|`dirname $$0`|${DATADIR}|g' \
- ${WRKSRC}/bin/last.fm
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/last.fm ${PREFIX}/bin/last.fm
+ ${INSTALL_SCRIPT} ${FILESDIR}/last.fm ${PREFIX}/bin/last.fm
${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/services
${INSTALL_DATA} ${FILESDIR}/last.fm.desktop ${PREFIX}/share/applications
${INSTALL_DATA} ${FILESDIR}/lastfm.protocol ${PREFIX}/share/services