1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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
This commit is contained in:
Rusmir Dusko 2014-04-27 09:23:32 +00:00
parent 4b6f541e61
commit ef7179c71f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352406
3 changed files with 26 additions and 19 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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