mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
42 lines
910 B
Makefile
42 lines
910 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
|
|
PORTNAME= dns-ui
|
|
PORTREVISION= 1
|
|
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:cli
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= operasoftware
|
|
USE_PHP= curl intl json ldap mbstring pdo_pgsql
|
|
|
|
NO_BUILD= yes
|
|
SUB_FILES= pkg-message
|
|
|
|
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+ php:mod
|
|
APACHE_USES_OFF= php:web
|
|
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>
|