freebsd-ports/dns/dns-ui/Makefile
2021-10-11 11:47:19 -04:00

42 lines
913 B
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
PORTNAME= dns-ui
DISTVERSION= v0.2.7
CATEGORIES= dns
MAINTAINER= zi@FreeBSD.org
COMMENT= LDAP-authenticated PowerDNS user interface by Opera
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= pgsql php:mod,cli
SUB_FILES= pkg-message
NO_BUILD= yes
USE_PHP= curl json intl ldap mbstring pdo_pgsql
USE_GITHUB= yes
GH_ACCOUNT= operasoftware
OPTIONS_DEFINE= APACHE PGSQLSRV
OPTIONS_DEFAULT= APACHE PGSQLSRV
APACHE_DESC= Use apache as webserver
PGSQLSRV_DESC= Use local postgres instance
APACHE_USES= apache:run,2.2+
APACHE_RUN_DEPENDS= mod_php74>0:www/mod_php74
PGSQLSRV_VARS= WANT_PGSQL=server
.include <bsd.port.options.mk>
post-extract:
${MV} ${WRKSRC}/config/config-sample.ini \
${WRKSRC}/config/config.ini.sample
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>