Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2018 18:30:11 +0000 (UTC)
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482613 - head/net-mgmt/klg
Message-ID:  <201810201830.w9KIUB7c040554@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mfechner
Date: Sat Oct 20 18:30:11 2018
New Revision: 482613
URL: https://svnweb.freebsd.org/changeset/ports/482613

Log:
  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)

Modified:
  head/net-mgmt/klg/Makefile

Modified: head/net-mgmt/klg/Makefile
==============================================================================
--- head/net-mgmt/klg/Makefile	Sat Oct 20 18:17:09 2018	(r482612)
+++ head/net-mgmt/klg/Makefile	Sat Oct 20 18:30:11 2018	(r482613)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810201830.w9KIUB7c040554>