aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--multimedia/pymp/Makefile37
-rw-r--r--multimedia/pymp/distinfo4
-rw-r--r--multimedia/pymp/pkg-descr4
3 files changed, 26 insertions, 19 deletions
diff --git a/multimedia/pymp/Makefile b/multimedia/pymp/Makefile
index 34d2f79c5fc9..176a975407b5 100644
--- a/multimedia/pymp/Makefile
+++ b/multimedia/pymp/Makefile
@@ -1,35 +1,42 @@
-# Created by: nemysis <nemysis@gmx.ch>
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= pymp
PORTVERSION= 1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia python
-MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/
DIST_SUBDIR= python
-MAINTAINER= nemysis@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Lean, flexible frontend to MPlayer written in Python
LICENSE= GPLv2
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
-USE_BZIP2= yes
-USES= shebangfix
-SHEBANG_FILES= ${PORTNAME}
+USE_GITHUB= yes
+GH_ACCOUNT= jdolan
+GH_PROJECT= pymp
+GH_TAGNAME= ${GH_COMMIT}
+GH_COMMIT= bea99d9
+
+USES= shebangfix tar:bzip2
+SHEBANG_FILES= *.py
+python_OLD_CMD?= /usr/bin/env python
+python_CMD?= ${PYTHON_CMD}
USE_PYTHON= yes
USE_GNOME= pygtk2
-PORTDOCS= CHANGELOG README
+PORTDOCS= CHANGELOG README.md
+OPTIONS_DEFINE= DOCS
-DESKTOP_ENTRIES="Pymp" "${COMMENT}" "${PORTNAME}" \
- "${PORTNAME}" "AudioVideo;Player;" false
+DESKTOP_ENTRIES="Pymp" "" "${PORTNAME}" \
+ "${PORTNAME}" "AudioVideo;Player;" ""
post-patch:
- @${REINPLACE_CMD} -e 's|PREFIX/lib/pymp|${DATADIR}|' \
- ${WRKSRC}/${PORTNAME}
- ${RM} -f ${WRKSRC}/build.py
+ @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|; \
+ s|PREFIX/lib/pymp|${DATADIR}|' ${WRKSRC}/${PORTNAME}
+ @${RM} -f ${WRKSRC}/build.py
do-build:
@${PYTHON_CMD} -m compileall ${WRKSRC}
@@ -39,8 +46,8 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
-.for d in *.py *.pyc *.pyo
- ${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DATADIR}
+.for f in *.py *.pyc *.pyo
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
diff --git a/multimedia/pymp/distinfo b/multimedia/pymp/distinfo
index 42597dfbff90..434a1c187159 100644
--- a/multimedia/pymp/distinfo
+++ b/multimedia/pymp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (python/pymp-1.1.tar.bz2) = 924c7d0a40d349f4dfc9a0bae2126a432185dc210f740dfc6ab68fd3ec892cd8
-SIZE (python/pymp-1.1.tar.bz2) = 132710
+SHA256 (python/pymp-1.1.tar.bz2) = 383e32e3df92c884a1a3e91f9fa370ec73fe757ac9cbd1ba63252e5d23cd0472
+SIZE (python/pymp-1.1.tar.bz2) = 132179
diff --git a/multimedia/pymp/pkg-descr b/multimedia/pymp/pkg-descr
index c9b4030041a4..3a43945ab02f 100644
--- a/multimedia/pymp/pkg-descr
+++ b/multimedia/pymp/pkg-descr
@@ -1,6 +1,6 @@
Pymp is a lean, flexible frontend to MPlayer written in Python.
It supports simple playlists, web streams, and anything else that MPlayer does.
Pymp aims to blend in with your desktop environment, not stand out as many
-skinned players do.
+skinned players do.
-WWW: http://web.archive.org/web/20130114224609/http://jdolan.dyndns.org/trac/wiki/Pymp
+WWW: https://github.com/jdolan/pymp