blob: 33ddbe9429fe93a41d7ab58b9d9ddfe87da1cf8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
PORTNAME= dns-ui
PORTREVISION= 1
DISTVERSION= v0.2.7
CATEGORIES= dns
MAINTAINER= zi@FreeBSD.org
COMMENT= LDAP-authenticated PowerDNS user interface by Opera
WWW= https://github.com/operasoftware/dns-ui/
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>
|