From owner-svn-ports-all@freebsd.org Wed Dec 28 19:18:05 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB8D7C95311; Wed, 28 Dec 2016 19:18:05 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A0F89125E; Wed, 28 Dec 2016 19:18:05 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBSJI4sc058407; Wed, 28 Dec 2016 19:18:04 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBSJI4Iq058406; Wed, 28 Dec 2016 19:18:04 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201612281918.uBSJI4Iq058406@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 28 Dec 2016 19:18:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429816 - head/www/bareos-webui X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2016 19:18:06 -0000 Author: amdmi3 Date: Wed Dec 28 19:18:04 2016 New Revision: 429816 URL: https://svnweb.freebsd.org/changeset/ports/429816 Log: - Pet portlint - Fix LICENSE - Remove bogus (in presence of USE_GITHUB) USES=tar* - Switch to options helpers Approved by: portmgr blanket Modified: head/www/bareos-webui/Makefile Modified: head/www/bareos-webui/Makefile ============================================================================== --- head/www/bareos-webui/Makefile Wed Dec 28 19:09:06 2016 (r429815) +++ head/www/bareos-webui/Makefile Wed Dec 28 19:18:04 2016 (r429816) @@ -2,22 +2,21 @@ # $FreeBSD$ PORTNAME= bareos-webui +PORTVERSION= 16.2.4 DISTVERSIONPREFIX= Release/ -DISTVERSION= 16.2.4 -PORTREVISION= 0 CATEGORIES= www sysutils MAINTAINER= acm@FreeBSD.org -COMMENT= A PHP-Frontend to manage Bareos over the web +COMMENT= PHP-Frontend to manage Bareos over the web -LICENSE= AGPLv3 # or later +LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= bareos GH_PROJECT= bareos-webui -USES= tar:tgz +USES= php USE_PHP= openssl NO_BUILD= yes NO_ARCH= yes @@ -32,19 +31,9 @@ OPTIONS_DEFINE= MYSQL PGSQL ZENDFRAMEWO OPTIONS_DEFAULT= PGSQL ZENDFRAMEWORK_DESC= Install zend framework -.include - -.if ${PORT_OPTIONS:MMYSQL} -USE_PHP+= pdo_mysql -.endif - -.if ${PORT_OPTIONS:MPGSQL} -USE_PHP+= pdo_pgsql -.endif - -.if ${PORT_OPTIONS:MZENDFRAMEWORK} -RUN_DEPENDS= ${LOCALBASE}/share/ZendFramework/bin/classmap_generator.php:www/zend-framework -.endif +MYSQL_USE= PHP=pdo_mysql +PGSQL_USE= PHP=pdo_pgsql +ZENDFRAMEWORK_RUN_DEPENDS= ${LOCALBASE}/share/ZendFramework/bin/classmap_generator.php:www/zend-framework post-extract: ${RM} ${WRKSRC}/config/autoload/.gitignore @@ -56,9 +45,9 @@ post-patch: do-install: @${ECHO} "Installing in ${BAREOSWEB_HOME}" - ${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console - ${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile - ${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME} + @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console + @${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile + @${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME} cd ${WRKSRC} && ${COPYTREE_SHARE} "config data module public vendor" \ ${STAGEDIR}${BAREOSWEB_HOME} ${INSTALL_DATA} ${WRKSRC}/*.php ${STAGEDIR}${BAREOSWEB_HOME}