Added
Link Here
|
1 |
PORTNAME= angie-module-perl |
2 |
|
3 |
COMMENT= Angie Perl dynamic module |
4 |
|
5 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
6 |
|
7 |
USES= perl5 |
8 |
|
9 |
CONFIGURE_ADD= --with-http_perl_module=dynamic |
10 |
|
11 |
CFLAGS+= -Wno-compound-token-split-by-macro |
12 |
|
13 |
MASTERDIR= ${.CURDIR}/../../www/angie |
14 |
|
15 |
do-install: |
16 |
${MKDIR} ${STAGEDIR}${MODDIR} |
17 |
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx |
18 |
|
19 |
${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_perl_module.so \ |
20 |
${STAGEDIR}${MODDIR} |
21 |
|
22 |
${INSTALL_LIB} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \ |
23 |
${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx |
24 |
${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \ |
25 |
${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} |
26 |
|
27 |
do-install-DEBUG-on: |
28 |
${INSTALL} ${COPY} -m ${_SHAREMODE} \ |
29 |
${WRKSRC_DEBUG}/objs/ngx_http_perl_module.so \ |
30 |
${STAGEDIR}${MODDIR}/ngx_http_perl_module-debug.so |
31 |
|
32 |
.include "${MASTERDIR}/Makefile" |