aboutsummaryrefslogtreecommitdiff
path: root/databases/mysqldumper
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-14 11:20:54 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-14 11:20:54 +0000
commit5f7fb24f401e3ed3fbe6bac932faf28d80b3dc36 (patch)
treea9204b90cc101be547e527fde78de45217b69fc4 /databases/mysqldumper
parenta01f6eaec9ff2a3b4ec649be375cba93c43e1646 (diff)
downloadports-5f7fb24f401e3ed3fbe6bac932faf28d80b3dc36.tar.gz
ports-5f7fb24f401e3ed3fbe6bac932faf28d80b3dc36.zip
- Convert to Optionsng
- While here trim header
Notes
Notes: svn path=/head/; revision=314144
Diffstat (limited to 'databases/mysqldumper')
-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