apache22 and apache25 had been removed a long time ago however the apache.mk file has never been refactored and is out of sync from the file Mk/bsd.default-versions.mk. These changes refactors the removals of the older versions. In addition: - Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN from SANITY_DEPRECATED to SANITY_UNSUPPORTED - Remove apache versions from ports Makefiles as currently there is only one available version in the tree. However the version checks are still valid and should work flawlessly whenever a new version is added. For example USES=apache:2.2+ are simply replaced with USES=apache. As currently there are no other versions available for test this could not be checked on it's own ground. - Update FOO_USE=APACHE=yes to FOO_USES=apache - Remove trailing whitespaces Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D38113
40 lines
905 B
Makefile
40 lines
905 B
Makefile
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 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>
|