From owner-svn-ports-head@freebsd.org Wed May 25 13:00:58 2016 Return-Path: Delivered-To: svn-ports-head@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 A96FCB4934F; Wed, 25 May 2016 13:00:58 +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 74728194D; Wed, 25 May 2016 13:00:58 +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 u4PD0vQi024948; Wed, 25 May 2016 13:00:57 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4PD0vXD024947; Wed, 25 May 2016 13:00:57 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201605251300.u4PD0vXD024947@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 25 May 2016 13:00:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415829 - head/deskutils/surrealtodo X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2016 13:00:58 -0000 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 - -.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}