1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/crtmpserver/Makefile
Tijl Coosemans c88aaf5c89 Add missing USE_OPENSSL=yes
PR:		195796
2015-01-15 09:05:37 +00:00

43 lines
1.1 KiB
Makefile

# Created by: shiretu
# $FreeBSD$
PORTNAME= crtmpserver
PORTVERSION= 0.811
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://rtmpd.com/assets/sources/
MAINTAINER= support@rtmpd.com
COMMENT= C++ RTSP/RTMP/MPEG-TS Server
LICENSE= GPLv3
LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
USES= cmake:outsource lua
CMAKE_SOURCE_PATH= ${WRKSRC}/builders/cmake
CMAKE_ARGS= -DCRTMPSERVER_INSTALL_PREFIX:STRING=${PREFIX} -DTEMP_FRAMEWORK_VER=${PORTVERSION}
USE_OPENSSL= yes
USERS= crtmpserver
GROUPS= crtmpserver
USE_RC_SUBR= crtmpserver
post-patch:
@${REINPLACE_CMD} -e "s,/usr/local/include/lua51,${LUA_INCDIR},g" \
-e "s,lua$$,lua-${LUA_VER},g" \
${WRKSRC}/builders/cmake/cmake_find_modules/Find_lua.cmake
pre-install:
@${SH} $(WRKSRC)/fixConfFile.sh "${WRKSRC}/builders/cmake/crtmpserver/crtmpserver.lua" "${PREFIX}" "${WRKSRC}"
@${SH} $(WRKSRC)/fixConfFile.sh "${WRKSRC}/builders/cmake/crtmpserver/all.debug.lua" "${PREFIX}" "${WRKSRC}"
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/var/log/crtmpserver
@${MKDIR} ${STAGEDIR}${PREFIX}/var/crtmpserver/media
.include <bsd.port.mk>