mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# Created by: Michael Vasilenko <acid@stu.cn.ua>
|
|
|
|
PORTNAME= mp3blaster
|
|
PORTVERSION= 3.2.6
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
COMMENT= MP3 console ncurses-based player
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gmake localbase:ldflags ncurses
|
|
GNU_CONFIGURE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS LIRC NAS SDL SIDPLAY VORBIS
|
|
OPTIONS_DEFAULT= SIDPLAY VORBIS
|
|
SIDPLAY_DESC= Sidplayer support
|
|
|
|
PORTDOCS= AUTHORS CREDITS ChangeLog FAQ README TODO
|
|
|
|
LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc
|
|
LIRC_CONFIGURE_WITH= lirc
|
|
|
|
SIDPLAY_LIB_DEPENDS= libsidplay.so:audio/libsidplay
|
|
SIDPLAY_CONFIGURE_WITH= sidplay
|
|
|
|
VORBIS_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
|
|
VORBIS_CONFIGURE_WITH= oggvorbis
|
|
|
|
SDL_CONFIGURE_WITH= sdl
|
|
SDL_USES= sdl
|
|
SDL_USE= SDL=sdl
|
|
|
|
NAS_CONFIGURE_WITH= nas
|
|
NAS_LIB_DEPENDS= libaudio.so:audio/nas
|
|
NAS_LDFLAGS= -laudio
|
|
NAS_USES= xorg
|
|
NAS_USE= XORG=x11,xt,ice,sm
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local/share/mp3blaster/win2koi.tbl|${DATADIR}/charmap/win2koi.tbl|' \
|
|
${WRKSRC}/doc/sample.mp3blasterrc
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|