diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-04-27 17:23:32 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-04-27 17:23:32 +0800 |
commit | aced3b9c042f6449c486b304c85fecf00aec8eb8 (patch) | |
tree | 331252015d8e15a5ee36ea93f5ac064c17128f4e /multimedia | |
parent | e235c61beb825bbbbfe38b93586c3ad73b14a906 (diff) | |
download | freebsd-ports-gnome-aced3b9c042f6449c486b304c85fecf00aec8eb8.tar.gz freebsd-ports-gnome-aced3b9c042f6449c486b304c85fecf00aec8eb8.tar.zst freebsd-ports-gnome-aced3b9c042f6449c486b304c85fecf00aec8eb8.zip |
- Change Makefile header, use my name and @FreeBSD.org email
- Bump PORTREVISION for MAINTAINER change
- Reset maintainer to ports@
- Remove master sites, use GitHub=yes
- USES tar:bzip2 instead of USE_BZIP2=yes
- Fix the usage of 'python' to get rid of the implicit lang/python dependency
- Change DOCS and add Option
- Change desktop entry
- Change REINPLACE, use /bin/sh instead of /bin/bash
- Mute RM
- Change pkg-descr, remove not needed whitespace and change WWW
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/pymp/Makefile | 37 | ||||
-rw-r--r-- | multimedia/pymp/distinfo | 4 | ||||
-rw-r--r-- | multimedia/pymp/pkg-descr | 4 |
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 |