2011-02-28 14:57:38 +01:00
|
|
|
# New ports collection makefile for: crtmpserver
|
|
|
|
# Date created: 5 December 1994
|
|
|
|
# Whom: shiretu
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= crtmpserver
|
2011-07-30 17:49:07 +02:00
|
|
|
PORTVERSION= 0.545
|
2011-02-28 14:57:38 +01:00
|
|
|
CATEGORIES= net
|
2011-07-30 17:49:07 +02:00
|
|
|
MASTER_SITES= http://rtmpd.com/assets/sources/
|
2011-02-28 14:57:38 +01:00
|
|
|
|
|
|
|
MAINTAINER= support@rtmpd.com
|
|
|
|
COMMENT= C++ RTSP/RTMP/MPEG-TS Server
|
|
|
|
|
|
|
|
LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
|
|
|
|
|
2011-07-30 17:49:07 +02:00
|
|
|
WRKSRC= ${WRKDIR}/crtmpserver-545
|
|
|
|
|
2011-02-28 14:57:38 +01:00
|
|
|
USE_CMAKE= yes
|
2011-07-30 17:49:07 +02:00
|
|
|
CMAKE_ENV= "COMPILE_STATIC=1"
|
2011-02-28 14:57:38 +01:00
|
|
|
CMAKE_OUTSOURCE= yes
|
|
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}/builders/cmake
|
2011-07-30 17:49:07 +02:00
|
|
|
CMAKE_BUILD_TYPE= Release
|
|
|
|
CMAKE_ARGS= -DCRTMPSERVER_INSTALL_PREFIX:STRING=${CMAKE_INSTALL_PREFIX} -DTEMP_FRAMEWORK_VER=0.545
|
2011-02-28 14:57:38 +01:00
|
|
|
|
|
|
|
USERS= crtmpserver
|
|
|
|
GROUPS= crtmpserver
|
|
|
|
|
|
|
|
USE_RC_SUBR= crtmpserver
|
|
|
|
|
|
|
|
MAN1= crtmpserver.1
|
|
|
|
|
|
|
|
post-install:
|
2011-07-30 17:49:07 +02:00
|
|
|
@if [ ! -f ${PREFIX}/etc/crtmpserver.lua ]; then \
|
|
|
|
${CP} -p ${PREFIX}/etc/crtmpserver.lua.sample ${PREFIX}/etc/crtmpserver.lua ; \
|
|
|
|
fi
|
2011-02-28 14:57:38 +01:00
|
|
|
|
2011-07-16 07:40:24 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on sparc64
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|