blob: c101bbebca108a80f2def7e0431949b3f6f5aa9b (
plain) (
tree)
|
|
PORTNAME= angie-module-njs
GH_TUPLE= nginx:njs:0.8.2:module
COMMENT= Angie NJS dynamic module
LIB_DEPENDS= libxslt.so:textproc/libxslt
USES= libedit
CONFIGURE_ADD= --add-dynamic-module=${WRKSRC_module}/nginx
MASTERDIR= ${.CURDIR}/../../www/angie
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${MODDIR}
.for i in ngx_http_js_module ngx_stream_js_module
${INSTALL_LIB} ${WRKSRC}/objs/${i}.so ${STAGEDIR}${MODDIR}
.endfor
.for i in CHANGES README
${INSTALL_MAN} ${WRKSRC_module}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
do-install-DEBUG-on:
.for i in ngx_http_js_module ngx_stream_js_module
${INSTALL} ${COPY} -m ${_SHAREMODE} ${WRKSRC_DEBUG}/objs/${i}.so \
${STAGEDIR}${MODDIR}/${i}-debug.so
.endfor
.include "${MASTERDIR}/Makefile"
|