aboutsummaryrefslogtreecommitdiffstats
path: root/www/b2evolution
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-08 00:53:45 +0800
committermiwi <miwi@FreeBSD.org>2013-03-08 00:53:45 +0800
commit01586cc2cd8a893e9fb607884b766059ae2a287d (patch)
treee492c56fa7379da1ca224d6c3b1e9a31bdf1f7d9 /www/b2evolution
parenta526e1d7b60fba52822780fd8712e159d1c7b55c (diff)
downloadfreebsd-ports-gnome-01586cc2cd8a893e9fb607884b766059ae2a287d.tar.gz
freebsd-ports-gnome-01586cc2cd8a893e9fb607884b766059ae2a287d.tar.zst
freebsd-ports-gnome-01586cc2cd8a893e9fb607884b766059ae2a287d.zip
- Convert to OptionsNG
- Trim header Reviewed by: bapt
Diffstat (limited to 'www/b2evolution')
-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>