aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ccxstream/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ccxstream/Makefile b/net/ccxstream/Makefile
index bd6e15fed173..76aea3c6635c 100644
--- a/net/ccxstream/Makefile
+++ b/net/ccxstream/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= SF/xbplayer/XStream%20Servers/ccXStream%20${PORTVERSION}%20for%20L
MAINTAINER= ports@FreeBSD.org
COMMENT= Stream media files to XBox Media Center via XBMSP
-USES= gmake readline
+USES= gmake ncurses readline
USE_RC_SUBR= ccxstream
PLIST_FILES= bin/ccxtest \
@@ -24,6 +24,9 @@ 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