diff options
author | pawel <pawel@FreeBSD.org> | 2014-03-19 22:57:34 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-03-19 22:57:34 +0800 |
commit | 871d8ebc0801c97944b18651f144358ddefffe86 (patch) | |
tree | 2f8781ca292d7b4eff77efaa1e429e132a1a40db /audio | |
parent | 7160335da2de891cf691cf9624f63f32e8a5dafc (diff) | |
download | freebsd-ports-gnome-871d8ebc0801c97944b18651f144358ddefffe86.tar.gz freebsd-ports-gnome-871d8ebc0801c97944b18651f144358ddefffe86.tar.zst freebsd-ports-gnome-871d8ebc0801c97944b18651f144358ddefffe86.zip |
- Add USES=desktop-file-utils, port installs desktop entry files
- Move options definitions to proper place, use option helper
- Strip library
- Support staging
Diffstat (limited to 'audio')
-rw-r--r-- | audio/py-karaoke/Makefile | 21 |
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> |