New port onion-fec version 1.0.3: Java Forward Error Correction

(FEC) library from OnionNetworks
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2006-04-05 03:49:52 +00:00
parent 77e1e58771
commit 739be181cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158822
4 changed files with 74 additions and 0 deletions

View File

@ -353,6 +353,7 @@
SUBDIR += ohphone
SUBDIR += olsrd
SUBDIR += onenetd
SUBDIR += onion-fec
SUBDIR += openam
SUBDIR += openbgpd
SUBDIR += openbgpd-devel

58
net/onion-fec/Makefile Normal file
View File

@ -0,0 +1,58 @@
# New ports collection makefile for: Java OnionNetworks FEC
# Date created: Wed Apr 5 03:10:31 UTC 2006
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fec
PORTVERSION= 1.0.3
CATEGORIES= net java
MASTER_SITES= http://onionnetworks.com/downloads/
PKGNAMEPREFIX= onion-
MAINTAINER= lioux@FreeBSD.org
COMMENT= Java Forward Error Correction (FEC) library from OnionNetworks
BUILD_DEPENDS= \
${JAVALIBDIR}/log4j.jar:${PORTSDIR}/devel/log4j
USE_ZIP= yes
USE_ANT= yes
JAVA_BUILD= jdk
USE_JAVA= 1.4+
JAVA_OS= native
ALL_TARGET= jars
.ifndef(NOPORTDOCS)
ALL_TARGET+= javadoc
PORTDOCS+= javadoc
.endif
# override DEFAULT
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
JAVADOC_WRKSRC= ${WRKSRC}/javadoc
# jars
JAR_FILES+= \
onion-common.jar \
onion-fec.jar
PLIST_FILES+= ${JAR_FILES:S,^,%%JAVAJARDIR%%/,}
pre-build:
@${LN} -sf ${JAVALIBDIR}/log4j.jar ${WRKSRC}/lib
do-install:
.ifndef(NOPORTDOCS)
# line taken from textproc/xerces-j maintained by hq@FreeBSD.org
@cd ${JAVADOC_WRKSRC} && \
${FIND} . -type d -exec ${MKDIR} "${DOCSDIR}/javadoc/{}" \; && \
${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/javadoc/{}" \;
.endif
.for jar in ${JAR_FILES}
@${INSTALL_DATA} ${WRKSRC}/lib/${jar} ${JAVAJARDIR}
.endfor
.include <bsd.port.mk>

3
net/onion-fec/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (fec-1.0.3.zip) = 484f8629cca2db44a3cfd6adfc543c2e
SHA256 (fec-1.0.3.zip) = 2b23956854800b85a0d2eec11ab0940daec44e4c828b78782686efe8511a7d12
SIZE (fec-1.0.3.zip) = 745195

12
net/onion-fec/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
[ excerpt from developer's web site with modifications ]
Forward Error Correction (FEC) is an essential building block of
any satellite or IP multicast based content distribution system.
Our library is the fastest and most mature Java FEC library available.
It features:
o Fast multi-threaded I/O routines for encoding and decoding files
o FEC codec plugin interface
o Cryptograhic hashes can be used for checking file integrity
WWW: http://onionnetworks.com/developers/