1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Update to 2.6.3

PR:		154894
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer)
This commit is contained in:
Martin Wilke 2011-02-27 13:44:21 +00:00
parent 6d7279b3bd
commit c1290093bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269905
4 changed files with 1043 additions and 131 deletions

View File

@ -1,4 +1,4 @@
## New ports collection makefile for: erlyvideo
# New ports collection makefile for: erlyvideo
# Date created: 14 January 2011
# Whom: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
#
@ -6,10 +6,9 @@
#
PORTNAME= erlyvideo
PORTVERSION= 2.5.11
PORTVERSION= 2.6.3
CATEGORIES= net
MASTER_SITES= http://host5.webstroy.ru/
DISTNAME= ${PORTNAME}-${PORTNAME}-v${PORTVERSION}-0-g${GITVERSION}
MAINTAINER= cvs-src@yandex.ru
COMMENT= RTMP flash streaming server written in erlang
@ -26,15 +25,13 @@ USE_GMAKE= yes
ERLANGDIR= ${PREFIX}/lib/erlang
ERLYDIR= ${ERLANGDIR}/lib/${PORTNAME}-${PORTVERSION}
ERLYVIDEO= ebin src include lib Emakefile
GITVERSION= 25cf0c2
FETCH_ARGS= -pRr
DEPSLIST= amf log4erl erlydtl erlmedia mpegts rtmp rtp rtsp
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTNAME}-1cf9504
DEPSLIST= amf log4erl erlydtl erlmedia mpegts rtmp rtp rtsp ibrowse
PLIST_SUB= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's#/etc/#${PREFIX}/etc/#g' \
${WRKSRC}/src/${PORTNAME}.erl ${WRKSRC}/contrib/erlyctl
${WRKSRC}/src/${PORTNAME}.erl ${WRKSRC}/contrib/erlyctl \
${WRKSRC}/deps/erlmedia/src/ems_log.erl
@${REINPLACE_CMD} -e 's#"wwwroot"#"${PREFIX}/www/${PORTNAME}/wwwroot"#g' \
${WRKSRC}/priv/${PORTNAME}.conf.sample
@${REINPLACE_CMD} -e 's#"movies"#"/var/lib/${PORTNAME}/movies"#g' \
@ -59,9 +56,8 @@ do-install:
${CP} ${WRKSRC}/priv/${PORTNAME}.conf.sample ${ETCDIR}/${PORTNAME}.conf.sample
${CP} ${WRKSRC}/priv/log4erl.conf.debian ${ETCDIR}/log4erl.conf.sample
${CP} ${WRKSRC}/priv/production.config.debian ${ETCDIR}/production.config.sample
(cd ${WRKSRC} && ${COPYTREE_SHARE} snmp /var/lib/${PORTNAME})
.for dep in ${DEPSLIST}
cd ${WRKSRC}/deps/${dep} && make DESTROOT= ERLANG_ROOT=${ERLANGDIR} \
cd ${WRKSRC}/deps/${dep} && ${GMAKE} DESTROOT= ERLANG_ROOT=${ERLANGDIR} \
VERSION=${PORTVERSION} install
.endfor
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (erlyvideo-erlyvideo-v2.5.11-0-g25cf0c2.tar.gz) = 3b0a34cd77574eee5e307077674fa368b8cde6336f944356d489d3dc7ca3ecb1
SIZE (erlyvideo-erlyvideo-v2.5.11-0-g25cf0c2.tar.gz) = 2462396
SHA256 (erlyvideo-2.6.3.tar.gz) = 6a3d154f3b64675e87488d0512fffb99989b1e373438efe2e3a9e5eaaa01c368
SIZE (erlyvideo-2.6.3.tar.gz) = 2093789

View File

@ -1,21 +1,13 @@
--- Makefile.orig 2010-12-16 00:51:55.000000000 +0300
+++ Makefile 2011-01-15 15:03:11.000000000 +0300
@@ -19,7 +19,6 @@
deps/amf: update_deps
update_deps: rebar.config
- [ -d wwwroot/player ] || git clone git://github.com/erlyvideo/erlyplayer wwwroot/player
./rebar get-deps
@@ -32,8 +31,8 @@
--- Makefile.orig 2011-02-14 09:13:24.000000000 +0300
+++ Makefile 2011-02-14 20:40:40.000000000 +0300
@@ -21,8 +21,8 @@
compile: ebin/mmap.so
ERL_LIBS=$(ERL_LIBS) erl -make
- (cd deps/ibrowse && make)
- (cd deps/erlydtl && make)
- (cd deps/mpegts && make)
+ (cd deps/ibrowse && gmake)
+ (cd deps/erlydtl && gmake)
+ (cd deps/mpegts && gmake)
ebin/mmap.so: src/core/mmap.c
$(NIF_FLAGS) -o $@ $< -I $(NIFDIR) || touch $@

File diff suppressed because it is too large Load Diff