Date: Wed, 28 Dec 2016 19:18:04 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429816 - head/www/bareos-webui Message-ID: <201612281918.uBSJI4Iq058406@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> - -.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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612281918.uBSJI4Iq058406>