aboutsummaryrefslogtreecommitdiff
path: root/www/b2evolution/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-07 16:53:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-07 16:53:45 +0000
commitb7df0651651ef059fd4db24d7b77113e72ad6c15 (patch)
treee492c56fa7379da1ca224d6c3b1e9a31bdf1f7d9 /www/b2evolution/Makefile
parentf391ca611e4a642fc3b0e7df30f4a60b63f60b71 (diff)
downloadports-b7df0651651ef059fd4db24d7b77113e72ad6c15.tar.gz
ports-b7df0651651ef059fd4db24d7b77113e72ad6c15.zip
- Convert to OptionsNG
- Trim header Reviewed by: bapt
Notes
Notes: svn path=/head/; revision=313599
Diffstat (limited to 'www/b2evolution/Makefile')
-rw-r--r--www/b2evolution/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/b2evolution/Makefile b/www/b2evolution/Makefile
index 5936dd9a5390..376663008470 100644
--- a/www/b2evolution/Makefile
+++ b/www/b2evolution/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: b2evolution
-# Date created: 2005-04-16
-# Whom: chinsan <chinsan@mail20000.com.tw>
-#
+# Created by: chinsan <chinsan@mail20000.com.tw>
# $FreeBSD$
-#
PORTNAME= b2evolution
PORTVERSION= 4.0.5
@@ -31,11 +27,12 @@ B2EVO_DIR?= www/${B2EVO_URL}
PLIST= ${WRKDIR}/pkg-plist
WARNING= ${PKGDIR}/pkg-warning
-OPTIONS= LOCAL_DB_SERVER "Want to use local MySQL server?" on
+OPTIONS_DEFINE= MYSQL
+OPTIONS_DEFAULT= MYSQL
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_LOCAL_DB_SERVER)
+.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= server
.endif
@@ -61,4 +58,4 @@ post-install:
-e 's|%%B2EVO_DIR%%|${B2EVO_DIR}|; s|%%B2EVO_URL%%|${B2EVO_URL}|' \
${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>