1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/www/angie-module-perl/Makefile
Oleg A. Mamontov 98173bcdc0 www/angie-module-perl: Angie Perl dynamic module
Module is used to implement location and variable handlers in Perl and insert
Perl calls into SSI.

PR:		272999
2023-08-09 15:01:17 +02:00

33 lines
890 B
Makefile

PORTNAME= angie-module-perl
COMMENT= Angie Perl dynamic module
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= perl5
CONFIGURE_ADD= --with-http_perl_module=dynamic
CFLAGS+= -Wno-compound-token-split-by-macro
MASTERDIR= ${.CURDIR}/../../www/angie
do-install:
${MKDIR} ${STAGEDIR}${MODDIR}
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx
${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_perl_module.so \
${STAGEDIR}${MODDIR}
${INSTALL_LIB} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so \
${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/nginx
${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \
${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
do-install-DEBUG-on:
${INSTALL} ${COPY} -m ${_SHAREMODE} \
${WRKSRC_DEBUG}/objs/ngx_http_perl_module.so \
${STAGEDIR}${MODDIR}/ngx_http_perl_module-debug.so
.include "${MASTERDIR}/Makefile"