Date: Wed, 25 May 2016 13:00:57 +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: r415829 - head/deskutils/surrealtodo Message-ID: <201605251300.u4PD0vXD024947@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed May 25 13:00:57 2016 New Revision: 415829 URL: https://svnweb.freebsd.org/changeset/ports/415829 Log: - Switch to options helpers - Drop USE_MYSQL - this only needs php mysql module, not mysql client library - Fix option name (PGSQL vs. POSTGRE) - Add NO_ARCH Modified: head/deskutils/surrealtodo/Makefile Modified: head/deskutils/surrealtodo/Makefile ============================================================================== --- head/deskutils/surrealtodo/Makefile Wed May 25 12:06:06 2016 (r415828) +++ head/deskutils/surrealtodo/Makefile Wed May 25 13:00:57 2016 (r415829) @@ -3,6 +3,7 @@ PORTNAME= surrealtodo PORTVERSION= 0.6.1.2 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= SF/surrealtodo/Surreal%20ToDo/ DISTNAME= surrealtodo_v${PORTVERSION} @@ -13,12 +14,13 @@ COMMENT= Surreal ToDo is an AJAX enabled BROKEN_powerpc64= Does not build USES= zip -USE_PHP+= mysql -USE_MYSQL= yes +USE_PHP= mysql +IGNORE_WITH_PHP= 70 NO_BUILD= yes +NO_ARCH= yes + WWWOWN= www WWWGRP= ${WWWOWN} -IGNORE_WITH_PHP= 70 PKGMESSAGE= ${WRKDIR}/${PORTNAME}/pkg-message SUB_FILES= pkg-message @@ -28,17 +30,9 @@ OPTIONS_DEFINE= PGSQL APACHE LIGHTTPD OPTIONS_DEFAULT= APACHE LIGHTTPD_DESC= Use Lighttpd webserver -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MPOSTGRE} -USE_PHP+= pgsql -.endif -.if ${PORT_OPTIONS:MAPACHE} -USE_APACHE_RUN= 22 -.endif -.if ${PORT_OPTIONS:MLIGHTTPD} -RUN_DEPENDS+= lighttpd:www/lighttpd -.endif +PGSQL_USE= PHP=pgsql +APACHE_USE= APACHE_RUN=22 +LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd do-install: @${MKDIR} ${STAGEDIR}${WWWDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605251300.u4PD0vXD024947>