Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 15:03:34 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307680 - in head/multimedia: . pymp
Message-ID:  <201211231503.qANF3Yki036693@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Nov 23 15:03:34 2012
New Revision: 307680
URL: http://svnweb.freebsd.org/changeset/ports/307680

Log:
  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.
  
  WWW: http://jdolan.dyndns.org/trac/wiki/Pymp
  
  PR:		ports/171861
  Submitted by:	nemysis@gmx.ch
  Feature safe:	yes

Added:
  head/multimedia/pymp/
  head/multimedia/pymp/Makefile   (contents, props changed)
  head/multimedia/pymp/distinfo   (contents, props changed)
  head/multimedia/pymp/pkg-descr   (contents, props changed)
  head/multimedia/pymp/pkg-plist   (contents, props changed)
Modified:
  head/multimedia/Makefile

Modified: head/multimedia/Makefile
==============================================================================
--- head/multimedia/Makefile	Fri Nov 23 14:35:43 2012	(r307679)
+++ head/multimedia/Makefile	Fri Nov 23 15:03:34 2012	(r307680)
@@ -278,6 +278,7 @@
     SUBDIR += py-qt4-phonon
     SUBDIR += py-tvnamer
     SUBDIR += pyjama
+    SUBDIR += pymp
     SUBDIR += qdvdauthor
     SUBDIR += qmmp
     SUBDIR += qmmp-plugin-pack

Added: head/multimedia/pymp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/pymp/Makefile	Fri Nov 23 15:03:34 2012	(r307680)
@@ -0,0 +1,53 @@
+# Created by:   nemysis@gmx.ch
+# $FreeBSD$
+
+PORTNAME=	pymp
+PORTVERSION=	1.1
+CATEGORIES=	multimedia python
+MASTER_SITES=	http://jdolan.dyndns.org/files/
+DIST_SUBDIR=	python
+
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	Lean, flexible frontend to MPlayer written in Python
+
+LICENSE=	GPLv2
+
+RUN_DEPENDS=	mplayer:${PORTSDIR}/multimedia/mplayer
+
+USE_BZIP2=	yes
+USE_PYTHON=	yes
+USE_GNOME=	pygtk2
+
+PORTDOCS=	CHANGELOG README
+
+DESKTOP_ENTRIES="Pymp" "${COMMENT}" "${PORTNAME}" \
+		"${PORTNAME}" "Application;AudioVideo;" "false"
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' \
+	-e 's|PREFIX/lib/pymp|${DATADIR}|' \
+		${WRKSRC}/${PORTNAME}
+	${RM} -f ${WRKSRC}/build.py
+
+do-build:
+	@${PYTHON_CMD} -m compileall ${WRKSRC}
+	@${PYTHON_CMD} -O -m compileall ${WRKSRC}
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+
+	${MKDIR} ${DATADIR}
+.for d in *.py *.pyc *.pyo
+	${INSTALL_DATA} ${WRKSRC}/${d} ${DATADIR}
+.endfor
+
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>

Added: head/multimedia/pymp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/pymp/distinfo	Fri Nov 23 15:03:34 2012	(r307680)
@@ -0,0 +1,2 @@
+SHA256 (python/pymp-1.1.tar.bz2) = 924c7d0a40d349f4dfc9a0bae2126a432185dc210f740dfc6ab68fd3ec892cd8
+SIZE (python/pymp-1.1.tar.bz2) = 132710

Added: head/multimedia/pymp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/pymp/pkg-descr	Fri Nov 23 15:03:34 2012	(r307680)
@@ -0,0 +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. 
+
+WWW: http://jdolan.dyndns.org/trac/wiki/Pymp

Added: head/multimedia/pymp/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/pymp/pkg-plist	Fri Nov 23 15:03:34 2012	(r307680)
@@ -0,0 +1,24 @@
+bin/pymp
+share/pixmaps/pymp.png
+%%DATADIR%%/control.py
+%%DATADIR%%/control.pyc
+%%DATADIR%%/control.pyo
+%%DATADIR%%/menu.py
+%%DATADIR%%/menu.pyc
+%%DATADIR%%/menu.pyo
+%%DATADIR%%/mplayer.py
+%%DATADIR%%/mplayer.pyc
+%%DATADIR%%/mplayer.pyo
+%%DATADIR%%/playlist.py
+%%DATADIR%%/playlist.pyc
+%%DATADIR%%/playlist.pyo
+%%DATADIR%%/prefs.py
+%%DATADIR%%/prefs.pyc
+%%DATADIR%%/prefs.pyo
+%%DATADIR%%/pymp.py
+%%DATADIR%%/pymp.pyc
+%%DATADIR%%/pymp.pyo
+%%DATADIR%%/remote.py
+%%DATADIR%%/remote.pyc
+%%DATADIR%%/remote.pyo
+@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211231503.qANF3Yki036693>