Red5 is an Open Source Flash Server written

in Java that supports streaming Audio/Video
(FLV and MP3),Recording Client Streams,
Live Stream Publishing, etc.

WWW: http://www.red5.fr/

PR:		121696
Submitted by:	Wen heping <wenheping@gmail.com>
Approved by:	miwi (mentor)
This commit is contained in:
Pietro Cerutti 2008-03-20 10:00:37 +00:00
parent 9fc1c4fe89
commit a1807bcfe5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209421
5 changed files with 72 additions and 0 deletions

View file

@ -1124,6 +1124,7 @@
SUBDIR += quickie
SUBDIR += quixote
SUBDIR += raqdevil
SUBDIR += red5
SUBDIR += rejik
SUBDIR += reportmagic
SUBDIR += resin2

59
www/red5/Makefile Normal file
View file

@ -0,0 +1,59 @@
# New ports collection makefile for: devel/red5
# Date created: 14 March 2008
# Whom: wenheping@gmail.com
#
# $FreeBSD$
#
PORTNAME= red5
PORTVERSION= 0.7.0
CATEGORIES= www java
MASTER_SITES= http://www.nielsenaa.com/red5-installers/ \
http://www.red5.fr/release/0.7.0/war/
DISTNAME= Red5War_${PORTVERSION}-java5
MAINTAINER= wenheping@gmail.com
COMMENT= Red5 is an Open Source flash server
OPTIONS= TOMCAT4 "Use Tomcat 4.1" OFF \
TOMCAT5 "Use Tomcat 5.5" OFF \
TOMCAT6 "Use Tomcat 6.0" ON
WRKSRC= ${WRKDIR}
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.5
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if (defined(WITH_TOMCAT4) && defined(WITH_TOMCAT5)) || \
(defined(WITH_TOMCAT4) && defined(WITH_TOMCAT6)) || \
(defined(WITH_TOMCAT5) && defined(WITH_TOMCAT6))
IGNORE= please select only one version of Tomcat
.endif
.if defined(WITH_TOMCAT4)
RUN_DEPENDS+= ${LOCALBASE}/apache-tomcat4.1:${PORTSDIR}/www/tomcat41
WEBAPPDIR= ${PREFIX}/apache-tomcat4.1/webapps
.elif defined(WITH_TOMCAT5)
RUN_DEPENDS+= ${LOCALBASE}/tomcat5.5:${PORTSDIR}/www/tomcat55
WEBAPPDIR= ${PREFIX}/tomcat5.5/webapps
.elif defined(WITH_TOMCAT6)
RUN_DEPENDS+= ${LOCALBASE}/apache-tomcat6.0:${PORTSDIR}/www/tomcat6
WEBAPPDIR= ${PREFIX}/apache-tomcat6.0/webapps
.else
IGNORE= please select one version of Tomcat
.endif
PLIST_FILES= ${WEBAPPDIR:S|^${PREFIX}/||}/red5.war
do-install:
@${MKDIR} ${WEBAPPDIR}
@${INSTALL_DATA} ${WRKSRC}/ROOT.war ${WEBAPPDIR}/red5.war
@${CHOWN} ${WWWOWN}:${WWWGRP} ${WEBAPPDIR}/red5.war
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

3
www/red5/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (Red5War_0.7.0-java5.zip) = 88cd86aff8a50f35e8a4d07cb210bd0d
SHA256 (Red5War_0.7.0-java5.zip) = 058d2be8ae20d567cf92be1edd02332532f0ca32b56365b8ae5302f086068946
SIZE (Red5War_0.7.0-java5.zip) = 20335816

6
www/red5/pkg-descr Normal file
View file

@ -0,0 +1,6 @@
Red5 is an Open Source Flash Server written
in Java that supports streaming Audio/Video
(FLV and MP3),Recording Client Streams,
Live Stream Publishing, etc.
WWW: http://www.red5.fr/

3
www/red5/pkg-message Normal file
View file

@ -0,0 +1,3 @@
=====================================
Now start your Tomcat and browse with:
http://your-server-ip:8180/red5/