aboutsummaryrefslogtreecommitdiffstats
path: root/www/dokeos
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-03-22 19:53:34 +0800
committerbapt <bapt@FreeBSD.org>2013-03-22 19:53:34 +0800
commit82e57a3744d34ece60a8c97f28978fadfb124a32 (patch)
tree5f0dbe9212a3377e7182c77ac610d48050fcb2b0 /www/dokeos
parent27efa52ca9049f13bc2a8a42e8992c99f16402a1 (diff)
downloadfreebsd-ports-gnome-82e57a3744d34ece60a8c97f28978fadfb124a32.tar.gz
freebsd-ports-gnome-82e57a3744d34ece60a8c97f28978fadfb124a32.tar.zst
freebsd-ports-gnome-82e57a3744d34ece60a8c97f28978fadfb124a32.zip
Convert a bunch of www ports to new options framework
Diffstat (limited to 'www/dokeos')
-rw-r--r--www/dokeos/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/www/dokeos/Makefile b/www/dokeos/Makefile
index ef38eea548ac..79d8b0ef5cd7 100644
--- a/www/dokeos/Makefile
+++ b/www/dokeos/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dokeos
-# Date created: 21 January 2006
-# Whom: Filipe Rocha <filiperocha@gmail.com>
-#
+# Created by: Filipe Rocha <filiperocha@gmail.com>
# $FreeBSD$
-#
PORTNAME= dokeos
PORTVERSION= 1.8.6
@@ -16,9 +12,11 @@ COMMENT= Dokeos is an elearning and course management web application
USE_PHP= mysql session gd pcre zlib
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-OPTIONS= LDAP "Use LDAP" off
+OPTIONS_DEFINE= LDAP
-.if defined(WITH_LDAP)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MLDAP}
USE_PHP+= ldap
.endif