aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-14 19:20:54 +0800
committermiwi <miwi@FreeBSD.org>2013-03-14 19:20:54 +0800
commit4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa (patch)
treea9204b90cc101be547e527fde78de45217b69fc4 /databases
parentce6e9471b02499cdef50832e574c8f5c838a7c00 (diff)
downloadfreebsd-ports-gnome-4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa.tar.gz
freebsd-ports-gnome-4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa.tar.zst
freebsd-ports-gnome-4eb1612eadc8e2a5fdb343edda1418aa56e0d9aa.zip
- Convert to Optionsng
- While here trim header
Diffstat (limited to 'databases')
-rw-r--r--databases/mysqldumper/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/databases/mysqldumper/Makefile b/databases/mysqldumper/Makefile
index cf417e9d6e16..f1bd9f055a38 100644
--- a/databases/mysqldumper/Makefile
+++ b/databases/mysqldumper/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mysqldumper
-# Date created: 8 January 2011
-# Whom: Marek Holienka <marekholienka@gmail.com>
-#
+# Created by: Marek Holienka <marekholienka@gmail.com>
# $FreeBSD$
-#
PORTNAME= mysqldumper
PORTVERSION= 1.24.2
@@ -17,8 +13,8 @@ COMMENT= MySQLDumper is tool for backing up MySQL databases
RUN_DEPENDS= p5-DBI>=1.48:${PORTSDIR}/databases/p5-DBI \
-OPTIONS= APACHE "Enable Apache Support" on \
- LIGHTTPD "Enable Lighttpd Support" off
+OPTIONS_DEFINE= APACHE LIGHTTPD
+OPTIONS_DEFAULT= APACHE
USE_ZIP= yes
NO_BUILD= yes
@@ -31,10 +27,10 @@ WWWGRP= ${WWWOWN}
.include <bsd.port.options.mk>
-.if defined(WITH_APACHE)
+.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE_RUN= 22+
.endif
-.if defined(WITH_LIGHTTPD)
+.if ${PORT_OPTIONS:MLIGHTTPD}
RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
.endif