aboutsummaryrefslogtreecommitdiffstats
path: root/www/nibbleblog
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-06 01:07:43 +0800
committermiwi <miwi@FreeBSD.org>2013-03-06 01:07:43 +0800
commitb5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7 (patch)
tree268d74f9d8738f78b0c895672044611aa6343387 /www/nibbleblog
parent4c148339a17778393b116c6e7051a9bc484e786a (diff)
downloadfreebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.tar.gz
freebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.tar.zst
freebsd-ports-gnome-b5e88d7789bddf1e308d47c8c5b81b8d3f0c31d7.zip
- Convert to OptionsNG
- Trim header Reviewed by: beat, bapt, kwm
Diffstat (limited to 'www/nibbleblog')
-rw-r--r--www/nibbleblog/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/www/nibbleblog/Makefile b/www/nibbleblog/Makefile
index 90dc34e42ad1..a520fd7b374b 100644
--- a/www/nibbleblog/Makefile
+++ b/www/nibbleblog/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: nibbleblog
-# Date created: 15 January 2011
-# Whom: Marek Holienka <marekholienka@gmail.com>
-#
+# Created by: Marek Holienka <marekholienka@gmail.com>
# $FreeBSD$
-#
PORTNAME= nibbleblog
PORTVERSION= 3.0.2
@@ -17,8 +13,8 @@ COMMENT= A lightweight blog system for general use
RUN_DEPENDS= pear:${PORTSDIR}/devel/pear
-OPTIONS= APACHE "Enable Apache Support" on \
- LIGHTTPD "Enable Lighttpd Support" off
+OPTIONS_DEFINE= APACHE LIGHTTPD
+OPTIONS_DEFAULT= APACHE
USE_ZIP= yes
NO_BUILD= yes
@@ -28,10 +24,10 @@ SUB_FILES= pkg-message
.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