summaryrefslogtreecommitdiff
path: root/www/angie-module-auth-totp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/angie-module-auth-totp/Makefile')
-rw-r--r--www/angie-module-auth-totp/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/angie-module-auth-totp/Makefile b/www/angie-module-auth-totp/Makefile
new file mode 100644
index 000000000000..702a9ba40684
--- /dev/null
+++ b/www/angie-module-auth-totp/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= angie-module-auth-totp
+GH_TUPLE= 61131:nginx-http-auth-totp:1.1.0:module
+
+COMMENT= Angie auth-totp dynamic module
+
+MASTERDIR= ${.CURDIR}/../../www/angie
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${MODDIR}
+
+ ${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_auth_totp_module.so \
+ ${STAGEDIR}${MODDIR}
+
+ ${INSTALL_MAN} ${WRKSRC_module}/README.md ${STAGEDIR}${DOCSDIR}
+
+do-install-DEBUG-on:
+ ${INSTALL} ${COPY} -m ${_SHAREMODE} \
+ ${WRKSRC_DEBUG}/objs/ngx_http_auth_totp_module.so \
+ ${STAGEDIR}${MODDIR}/ngx_http_auth_totp_module-debug.so
+
+.include "${MASTERDIR}/Makefile"