mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
b7a2d32333
PR: ports/158886 Submitted by: Jin-Sih Lin <linpct@gmail.com> Approved by: C++ RTMP Server Support (Andrei) <support@rtmpd.com> (maintainer)
46 lines
1011 B
Makefile
46 lines
1011 B
Makefile
# New ports collection makefile for: crtmpserver
|
|
# Date created: 5 December 1994
|
|
# Whom: shiretu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= crtmpserver
|
|
PORTVERSION= 0.545
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://rtmpd.com/assets/sources/
|
|
|
|
MAINTAINER= support@rtmpd.com
|
|
COMMENT= C++ RTSP/RTMP/MPEG-TS Server
|
|
|
|
LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo
|
|
|
|
WRKSRC= ${WRKDIR}/crtmpserver-545
|
|
|
|
USE_CMAKE= yes
|
|
CMAKE_ENV= "COMPILE_STATIC=1"
|
|
CMAKE_OUTSOURCE= yes
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}/builders/cmake
|
|
CMAKE_BUILD_TYPE= Release
|
|
CMAKE_ARGS= -DCRTMPSERVER_INSTALL_PREFIX:STRING=${CMAKE_INSTALL_PREFIX} -DTEMP_FRAMEWORK_VER=0.545
|
|
|
|
USERS= crtmpserver
|
|
GROUPS= crtmpserver
|
|
|
|
USE_RC_SUBR= crtmpserver
|
|
|
|
MAN1= crtmpserver.1
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/etc/crtmpserver.lua ]; then \
|
|
${CP} -p ${PREFIX}/etc/crtmpserver.lua.sample ${PREFIX}/etc/crtmpserver.lua ; \
|
|
fi
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= Does not compile on sparc64
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|