mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
cb037d3c98
- Bump PORTREVISION for shlib change Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html Differential Revision: https://reviews.freebsd.org/D11172 PR: 219947 Exp-run by: antoine
41 lines
1.1 KiB
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>
|