aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/pymp
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-30 09:42:26 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-30 09:42:26 +0800
commitc2f59a1bc44c9ca67b81c58586a917003d284e82 (patch)
tree6c2acb22fa43d1633a03ba0746a2905953fb88e8 /multimedia/pymp
parentbaf64a21cb7366fb8635564d9cc9edc6b00464a4 (diff)
downloadfreebsd-ports-gnome-c2f59a1bc44c9ca67b81c58586a917003d284e82.tar.gz
freebsd-ports-gnome-c2f59a1bc44c9ca67b81c58586a917003d284e82.tar.zst
freebsd-ports-gnome-c2f59a1bc44c9ca67b81c58586a917003d284e82.zip
- Add LICENSE_FILE
- Add NO_ARCH - Switch to options helpers
Diffstat (limited to 'multimedia/pymp')
-rw-r--r--multimedia/pymp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/pymp/Makefile b/multimedia/pymp/Makefile
index 67463ee8308e..d6fe4b9b23d9 100644
--- a/multimedia/pymp/Makefile
+++ b/multimedia/pymp/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Lean, flexible frontend to MPlayer written in Python
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
@@ -21,13 +22,15 @@ GH_TAGNAME= bea99d9
USES= shebangfix python tar:bzip2
SHEBANG_FILES= *.py
USE_GNOME= pygtk2
+NO_ARCH= yes
PORTDOCS= CHANGELOG README.md
-OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Pymp" "" "${PORTNAME}" \
"${PORTNAME}" "AudioVideo;Player;" ""
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|; \
s|PREFIX/lib/pymp|${DATADIR}|' ${WRKSRC}/${PORTNAME}
@@ -48,6 +51,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}