aboutsummaryrefslogtreecommitdiff
path: root/audio/py-karaoke
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-03-19 14:57:34 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-03-19 14:57:34 +0000
commit5f9faf4b4d7b3139b35178df7e730d1cf2916b88 (patch)
tree2f8781ca292d7b4eff77efaa1e429e132a1a40db /audio/py-karaoke
parent7f9e5ef2223bd2a9add4c71a39978671f8869d7c (diff)
downloadports-5f9faf4b4d7b3139b35178df7e730d1cf2916b88.tar.gz
ports-5f9faf4b4d7b3139b35178df7e730d1cf2916b88.zip
Notes
Diffstat (limited to 'audio/py-karaoke')
-rw-r--r--audio/py-karaoke/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/audio/py-karaoke/Makefile b/audio/py-karaoke/Makefile
index d0ce7af0de62..169ce181c94c 100644
--- a/audio/py-karaoke/Makefile
+++ b/audio/py-karaoke/Makefile
@@ -3,7 +3,7 @@
PORTNAME= karaoke
PORTVERSION= 0.7.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio python
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,11 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}game>0:${PORTSDIR}/devel/py-game \
dejavu>0:${PORTSDIR}/x11-fonts/dejavu \
${PYNUMPY}
-OPTIONS_DEFINE= MUTAGEN
-MUTAGEN_DESC= Enable Mutagen support
-
-USES= iconv zip
-NO_STAGE= yes
+USES= desktop-file-utils iconv zip
USE_SDL= sdl
USE_XORG= x11 xau xcb xdmcp
USE_WX= 2.6+
@@ -37,11 +33,10 @@ PYDISTUTILS_PKGNAME= py${PORTNAME}
DATADIR= ${PREFIX}/share/py${PORTNAME}
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= MUTAGEN
-.if ${PORT_OPTIONS:MMUTAGEN}
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mutagen>0:${PORTSDIR}/audio/py-mutagen
-.endif
+MUTAGEN_DESC= Mutagen support
+MUTAGEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:${PORTSDIR}/audio/py-mutagen
post-patch:
@${REINPLACE_CMD} -e \
@@ -57,9 +52,11 @@ post-patch:
.endfor
post-install:
- @${MKDIR} ${DATADIR}/fonts
+ @${MKDIR} ${STAGEDIR}${DATADIR}/fonts
.for i in DejaVuSans.ttf DejaVuSansCondensed-Bold.ttf DejaVuSansCondensed.ttf
- @${LN} -sf ${LOCALBASE}/lib/X11/fonts/dejavu/${i} ${DATADIR}/fonts
+ @${LN} -sf ${LOCALBASE}/lib/X11/fonts/dejavu/${i} \
+ ${STAGEDIR}${DATADIR}/fonts
.endfor
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pycdgAux.so
.include <bsd.port.mk>