aboutsummaryrefslogtreecommitdiff
path: root/multimedia/pymp
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-30 01:42:26 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-30 01:42:26 +0000
commitcd8d7e7797b1a44be1ef3403466babf9f7df80eb (patch)
tree6c2acb22fa43d1633a03ba0746a2905953fb88e8 /multimedia/pymp
parentecdb413246f9e6cfc36285295e9476eebfcc95da (diff)
downloadports-cd8d7e7797b1a44be1ef3403466babf9f7df80eb.tar.gz
ports-cd8d7e7797b1a44be1ef3403466babf9f7df80eb.zip
Notes
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}