diff options
author | mfechner <mfechner@FreeBSD.org> | 2018-10-21 02:30:11 +0800 |
---|---|---|
committer | mfechner <mfechner@FreeBSD.org> | 2018-10-21 02:30:11 +0800 |
commit | 754ebc9e7ac2a6327fa1bb51f97058d26959d7cc (patch) | |
tree | a06312b633d3cf33daf185d32fcaa1f8578ad855 /net-mgmt | |
parent | df0be329c948664ca04107ffb1e96f24df8466e6 (diff) | |
download | freebsd-ports-gnome-754ebc9e7ac2a6327fa1bb51f97058d26959d7cc.tar.gz freebsd-ports-gnome-754ebc9e7ac2a6327fa1bb51f97058d26959d7cc.tar.zst freebsd-ports-gnome-754ebc9e7ac2a6327fa1bb51f97058d26959d7cc.zip |
Fix build on PHP 7+.
Also fix dependancies on PHP 5.6 (mysqli not mysql for all PHP versions now).
Update Makefile to remove all portlint warnings.
Add flavour support.
PR: 227375
Submitted by: freebsd-ports@dan.me.uk
Reported by: freebsd-ports@dan.me.uk
Reviewed by: mfechner@FreeBSD.org
Approved by: mentors (implicit)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/klg/Makefile | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/net-mgmt/klg/Makefile b/net-mgmt/klg/Makefile index 120eb51caadd..7daf3840bb46 100644 --- a/net-mgmt/klg/Makefile +++ b/net-mgmt/klg/Makefile @@ -2,30 +2,31 @@ PORTNAME= klg PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= net-mgmt www MASTER_SITES= SF \ ftp://ftpmirror.uk/freebsd-ports/klg/ +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= freebsd-ports@dan.me.uk COMMENT= PHP-based looking glass for Cisco, Juniper and Quagga/Zebra routers LICENSE= BSD3CLAUSE -IGNORE_WITH_PHP= 70 71 72 73 +USES= tar:txz php:web,flavors mysql:client +USE_PHP= mysqli pcre sockets xml -USES= mysql tar:txz php:web -USE_PHP= mysql pcre sockets xml NO_ARCH= yes NO_BUILD= yes -PLIST_FILES= %%DATADIR%%/CREDITS \ - %%DATADIR%%/ChangeLog \ - %%DATADIR%%/klg_README.txt \ - %%DATADIR%%/klg_schema.sql \ - %%WWWDIR%%/klg.php \ - "@sample %%WWWDIR%%/klg_config.php.sample" \ - "@sample %%WWWDIR%%/klg_template.html.sample" \ - %%WWWDIR%%/klg_router_functions.php +PLIST_FILES= ${DATADIR}/CREDITS \ + ${DATADIR}/ChangeLog \ + ${DATADIR}/klg_README.txt \ + ${DATADIR}/klg_schema.sql \ + ${WWWDIR}/klg.php \ + "@sample ${WWWDIR}/klg_config.php.sample" \ + "@sample ${WWWDIR}/klg_template.html.sample" \ + ${WWWDIR}/klg_router_functions.php SUB_FILES+= pkg-message OPTIONS_DEFINE= SSH2 |