aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-10-24 20:37:41 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-10-24 20:37:41 +0800
commit028869c567b8d70e3f9a2a0f4827724474b3dade (patch)
tree1ec5541f9b793e548afb2c386909a59104d00e8a /net
parent26896663aef9192a0e30a9dd07654f92a50653ec (diff)
downloadfreebsd-ports-gnome-028869c567b8d70e3f9a2a0f4827724474b3dade.tar.gz
freebsd-ports-gnome-028869c567b8d70e3f9a2a0f4827724474b3dade.tar.zst
freebsd-ports-gnome-028869c567b8d70e3f9a2a0f4827724474b3dade.zip
- Oops, move multicat to correct category
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/multicat/Makefile39
-rw-r--r--net/multicat/distinfo3
-rw-r--r--net/multicat/pkg-descr16
4 files changed, 59 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 5bab72f5f415..981323f35a6a 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -424,6 +424,7 @@
SUBDIR += msend
SUBDIR += mtr
SUBDIR += mtr-nox11
+ SUBDIR += multicat
SUBDIR += nakenchat
SUBDIR += nanomsg
SUBDIR += nast
diff --git a/net/multicat/Makefile b/net/multicat/Makefile
new file mode 100644
index 000000000000..ae7b98689388
--- /dev/null
+++ b/net/multicat/Makefile
@@ -0,0 +1,39 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= multicat
+PORTVERSION= git20161007
+CATEGORIES= net multimedia
+
+MAINTAINER= amdmi3@FreeBSD.org
+COMMENT= Simple and efficient multicast and transport stream manipulation
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${LOCALBASE}/include/bitstream/mpeg/ts.h:multimedia/bitstream
+
+USE_GITHUB= yes # XXX: FreeBSD fixes not upstreamed yet
+GH_ACCOUNT= AMDmi3
+GH_TAGNAME= b551ed4
+
+USES= localbase
+ALL_TARGET= ${PORTNAME}
+
+PORTDOCS= AUTHORS Changelog NEWS README
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/${PORTNAME}.1.gz
+
+OPTIONS_DEFINE= DOCS
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
+.endfor
+
+.include <bsd.port.mk>
diff --git a/net/multicat/distinfo b/net/multicat/distinfo
new file mode 100644
index 000000000000..94974f93c802
--- /dev/null
+++ b/net/multicat/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475850828
+SHA256 (AMDmi3-multicat-git20161007-b551ed4_GH0.tar.gz) = 41a501a654490f6ec3c860ef28d882196bacf485fe04a4da162605c9329e41b3
+SIZE (AMDmi3-multicat-git20161007-b551ed4_GH0.tar.gz) = 42902
diff --git a/net/multicat/pkg-descr b/net/multicat/pkg-descr
new file mode 100644
index 000000000000..f5207753d3c8
--- /dev/null
+++ b/net/multicat/pkg-descr
@@ -0,0 +1,16 @@
+multicat is a 1 input/1 output application. Inputs and outputs can
+be network streams (unicast and multicast), files, directories,
+character devices or FIFOs. It is thought to be a multicast equivalent
+of the popular netcat tool. Typical applications are recording live
+transport streams, or playing out TS files without modification.
+Also it is able to record a continuous stream into a directory,
+rotate the files periodically, and make seamless extracts from it.
+
+Multicat tries to rebuild the internal clock of the input stream;
+but it wants to remain agnostic of what is transported, so in case
+of files the said clock is stored to an auxiliary file (example.aux
+accompanies example.ts) while recording. Other inputs are considered
+"live", and the input clock is simply derived from the reception
+time of the packets.
+
+WWW: http://www.videolan.org/projects/multicat.html