1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/net/ccxstream/Makefile

41 lines
1.1 KiB
Makefile

# Created by: Michael Handler <handler@grendel.net>
# $FreeBSD$
PORTNAME= ccxstream
PORTVERSION= 1.0.15
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF/xbplayer/XStream%20Servers/ccXStream%20${PORTVERSION}%20for%20Linux
MAINTAINER= ports@FreeBSD.org
COMMENT= Stream media files to XBox Media Center via XBMSP
USES= gmake ncurses readline
USE_RC_SUBR= ccxstream
PLIST_FILES= bin/ccxtest \
sbin/ccxstream
PORTDOCS= README ChangeLog TODO xbmsp-xml.txt xbmsp.txt
OPTIONS_DEFINE= SO_KEEPALIVE TCP_NODELAY DOCS
OPTIONS_DEFAULT=SO_KEEPALIVE
SO_KEEPALIVE_DESC= Build with SO_KEEPALIVE
SO_KEEPALICE_CFLAGS= -DSO_KEEPALIVE
TCP_NODELAY_DESC= Build with TCP_NODELAY
TCP_NODELAY_CFLAGS= -DTCP_NODELAY
post-patch:
@${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ccxstream ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/ccxtest ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>