aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-05-25 21:00:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-05-25 21:00:57 +0800
commit86ec9aac76396f54a59fd730ecf5b81c5350e785 (patch)
treeff31f9eb7eac59224256fbafe2cb6e2ec54dd5a8 /deskutils
parente4c5caa145cdde2738d525b78e4de8e4eb9b0ca0 (diff)
downloadfreebsd-ports-gnome-86ec9aac76396f54a59fd730ecf5b81c5350e785.tar.gz
freebsd-ports-gnome-86ec9aac76396f54a59fd730ecf5b81c5350e785.tar.zst
freebsd-ports-gnome-86ec9aac76396f54a59fd730ecf5b81c5350e785.zip
- 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
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/surrealtodo/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/deskutils/surrealtodo/Makefile b/deskutils/surrealtodo/Makefile
index 52b5da8f4375..d6ca12f8eadb 100644
--- a/deskutils/surrealtodo/Makefile
+++ b/deskutils/surrealtodo/Makefile
@@ -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 web 2.0 list manager
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}