Added
Link Here
|
1 |
PORTNAME= angie-module-njs |
2 |
GH_TUPLE= nginx:njs:0.8.0:module |
3 |
|
4 |
COMMENT= Angie NJS dynamic module |
5 |
|
6 |
USES= libedit |
7 |
|
8 |
CONFIGURE_ADD= --add-dynamic-module=${WRKSRC_module}/nginx |
9 |
|
10 |
MASTERDIR= ${.CURDIR}/../../www/angie |
11 |
|
12 |
do-install: |
13 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
14 |
${MKDIR} ${STAGEDIR}${MODDIR} |
15 |
|
16 |
.for i in ngx_http_js_module ngx_stream_js_module |
17 |
${INSTALL_LIB} ${WRKSRC}/objs/${i}.so ${STAGEDIR}${MODDIR} |
18 |
.endfor |
19 |
|
20 |
.for i in CHANGES README |
21 |
${INSTALL_MAN} ${WRKSRC_module}/${i} ${STAGEDIR}${DOCSDIR} |
22 |
.endfor |
23 |
|
24 |
do-install-DEBUG-on: |
25 |
.for i in ngx_http_js_module ngx_stream_js_module |
26 |
${INSTALL} ${COPY} -m ${_SHAREMODE} ${WRKSRC_DEBUG}/objs/${i}.so \ |
27 |
${STAGEDIR}${MODDIR}/${i}-debug.so |
28 |
.endfor |
29 |
|
30 |
.include "${MASTERDIR}/Makefile" |