aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-05 12:03:51 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-05 12:03:51 +0000
commitc31ad62155871861b771e7c7805d73990c84477e (patch)
treeefc0f80e142e3b93f0bf3d5531cc48c89fb23e5b /net
parent7929751b52b022cb1b579bfb3aa82626b3a0715b (diff)
downloadports-c31ad62155871861b771e7c7805d73990c84477e.tar.gz
ports-c31ad62155871861b771e7c7805d73990c84477e.zip
Notes
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