mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
2e175d02e8
- Switch to GH account used by Debian - Update patch-cplay to remove upstreamed changes and add mpv support - Add off-by-default dependency options for supported audio players - Change to USES=python:-2.7; runtime testing with python3 failed - shebangfix added to remove need for ${LOCALBASE}/bin/python symlink - Add patch-po_fr.po to fix build error fr.po:78: 'msgid' and 'msgstr' entries do not both end with '\n' Reviewed by: adamw Approved by: koobs, mat (mentors) Relnotes: https://github.com/hukka/cplay/blob/v1.50/ChangeLog Differential Revision: https://reviews.freebsd.org/D7200
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# Created by: Jochem Kossen <j.kossen@home.nl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cplay
|
|
PORTVERSION= 1.50
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= audio
|
|
|
|
MAINTAINER= woodsb02@FreeBSD.org
|
|
COMMENT= Curses-based front-end for various audio players
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= hukka
|
|
|
|
USES= gettext gmake python:-2.7 shebangfix
|
|
SHEBANG_FILES= ${WRKSRC}/cplay
|
|
|
|
MAKE_ARGS= PREFIX="${STAGEDIR}${PREFIX}"
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
OPTIONS_GROUP= PLAYERS
|
|
OPTIONS_GROUP_PLAYERS= MADPLAY MIKMOD MPG123 MPG321 MPLAYER MPV OGG123 SOX SPEEX SPLAY XMP
|
|
|
|
MADPLAY_DESC= MPEG audio playback support via madplay
|
|
MPG321_DESC= MP3 decoding support via mpg321
|
|
MPV_DESC= mpv media player support
|
|
OGG123_DESC= Ogg Vorbis audio decoding support via ogg123
|
|
SOX_DESC= Audio playback support via SOund eXchange
|
|
SPLAY_DESC= MPEG and WAV playback support via Splay
|
|
XMP_DESC= Audio playback support via the Extended Module Player
|
|
|
|
MADPLAY_RUN_DEPENDS= madplay:audio/madplay
|
|
MIKMOD_RUN_DEPENDS= mikmod:audio/mikmod
|
|
MPG123_RUN_DEPENDS= mpg123:audio/mpg123
|
|
MPG321_RUN_DEPENDS= mpg321:audio/mpg321
|
|
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
|
|
MPV_RUN_DEPENDS= mpv:multimedia/mpv
|
|
OGG123_RUN_DEPENDS= ogg123:audio/vorbis-tools
|
|
SOX_RUN_DEPENDS= play:audio/sox
|
|
SPEEX_RUN_DEPENDS= speexdec:audio/speex
|
|
SPLAY_RUN_DEPENDS= splay:audio/splay
|
|
XMP_RUN_DEPENDS= xmp:audio/xmp
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|