diff --git a/www/Makefile b/www/Makefile index 1dab0aa27334..263e3a5a2449 100644 --- a/www/Makefile +++ b/www/Makefile @@ -44,6 +44,7 @@ SUBDIR += angie-module-perl SUBDIR += angie-module-postgres SUBDIR += angie-module-redis2 + SUBDIR += angie-module-rtmp SUBDIR += angie-module-xslt SUBDIR += anyremote2html SUBDIR += apache-mode.el diff --git a/www/angie-module-rtmp/Makefile b/www/angie-module-rtmp/Makefile new file mode 100644 index 000000000000..1baca0453d21 --- /dev/null +++ b/www/angie-module-rtmp/Makefile @@ -0,0 +1,22 @@ +PORTNAME= angie-module-rtmp +GH_TUPLE= arut:nginx-rtmp-module:v1.2.2:module + +COMMENT= Angie RTMP dynamic module + +MASTERDIR= ${.CURDIR}/../../www/angie + +do-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${MODDIR} + + ${INSTALL_LIB} ${WRKSRC}/objs/ngx_rtmp_module.so \ + ${STAGEDIR}${MODDIR} + + ${INSTALL_MAN} ${WRKSRC_module}/README.md ${STAGEDIR}${DOCSDIR} + +do-install-DEBUG-on: + ${INSTALL} ${COPY} -m ${_SHAREMODE} \ + ${WRKSRC_DEBUG}/objs/ngx_rtmp_module.so \ + ${STAGEDIR}${MODDIR}/ngx_rtmp_module-debug.so + +.include "${MASTERDIR}/Makefile" diff --git a/www/angie-module-rtmp/files/pkg-message.in b/www/angie-module-rtmp/files/pkg-message.in new file mode 100644 index 000000000000..48595d217317 --- /dev/null +++ b/www/angie-module-rtmp/files/pkg-message.in @@ -0,0 +1,15 @@ +[ +{ type: install + message: <