aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/spotify-websocket-api
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2014-01-13 07:24:30 +0800
committerrene <rene@FreeBSD.org>2014-01-13 07:24:30 +0800
commit8b1965eafd368ab628a0e2cb0a4d8d1b783ec9bf (patch)
tree36082bfb5c2e14d5cfd89a8acc0aabf32ba73b70 /multimedia/spotify-websocket-api
parent92ef68c1167365010a4da13c3bbf5acd549248ff (diff)
downloadfreebsd-ports-gnome-8b1965eafd368ab628a0e2cb0a4d8d1b783ec9bf.tar.gz
freebsd-ports-gnome-8b1965eafd368ab628a0e2cb0a4d8d1b783ec9bf.tar.zst
freebsd-ports-gnome-8b1965eafd368ab628a0e2cb0a4d8d1b783ec9bf.zip
- Also apply shebangfix to files installed in PREFIX/bin
- Bump PORTREVISION Submitted by: antoine
Diffstat (limited to 'multimedia/spotify-websocket-api')
-rw-r--r--multimedia/spotify-websocket-api/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/multimedia/spotify-websocket-api/Makefile b/multimedia/spotify-websocket-api/Makefile
index 084859319406..7b5aaca4c081 100644
--- a/multimedia/spotify-websocket-api/Makefile
+++ b/multimedia/spotify-websocket-api/Makefile
@@ -3,7 +3,7 @@
PORTNAME= SpotifyWebsocketAPI
PORTVERSION= 0.2
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= multimedia python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,7 +19,7 @@ GH_PROJECT= spotify-websocket-api
GH_TAGNAME= ${GH_COMMIT}
USES= shebangfix
-SHEBANG_FILES= spotify_web/spotify.py
+SHEBANG_FILES= spotify_web/spotify.py ${CLIENTFILES}
USE_PYTHON= yes # tested with 2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
@@ -30,7 +30,8 @@ OPTIONS_DEFINE= EXAMPLES
PORTEXAMPLES= blocking.py nonblocking.py decode_mercury.py play.py \
serve.py ctype.py gstreamer.py
-CLIENTFILES= respotify.py respotify-helper.py
+CLIENTFILES= clients/respotify/respotify.py \
+ clients/respotify/respotify-helper.py
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.1.0:${PORTSDIR}/www/py-requests \
${PYTHON_PKGNAMEPREFIX}ws4py>=0.2.4:${PORTSDIR}/www/py-ws4py \
@@ -51,7 +52,7 @@ post-patch:
post-install:
.for f in ${CLIENTFILES}
- @${INSTALL_SCRIPT} ${WRKSRC}/clients/respotify/${f} ${STAGEDIR}${PREFIX}/bin
+ @${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
@${LN} -s ${PREFIX}/bin/respotify.py ${STAGEDIR}${PREFIX}/bin/respotify