mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
This is an upstream module that allows Angie to communicate directly with PostgreSQL database. PR: Angie postgres dynamic module
24 lines
596 B
Makefile
24 lines
596 B
Makefile
PORTNAME= angie-module-postgres
|
|
GH_TUPLE= FRiCKLE:ngx_postgres:1.0rc7:module
|
|
|
|
COMMENT= Angie postgres dynamic module
|
|
|
|
USES= pgsql
|
|
|
|
MASTERDIR= ${.CURDIR}/../../www/angie
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${MKDIR} ${STAGEDIR}${MODDIR}
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/objs/ngx_postgres_module.so \
|
|
${STAGEDIR}${MODDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC_module}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
do-install-DEBUG-on:
|
|
${INSTALL} ${COPY} -m ${_SHAREMODE} \
|
|
${WRKSRC_DEBUG}/objs/ngx_postgres_module.so \
|
|
${STAGEDIR}${MODDIR}/ngx_postgres_module-debug.so
|
|
|
|
.include "${MASTERDIR}/Makefile"
|