diff options
author | miwi <miwi@FreeBSD.org> | 2013-03-08 00:53:45 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2013-03-08 00:53:45 +0800 |
commit | 01586cc2cd8a893e9fb607884b766059ae2a287d (patch) | |
tree | e492c56fa7379da1ca224d6c3b1e9a31bdf1f7d9 /www/claroline | |
parent | a526e1d7b60fba52822780fd8712e159d1c7b55c (diff) | |
download | freebsd-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/claroline')
-rw-r--r-- | www/claroline/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/www/claroline/Makefile b/www/claroline/Makefile index 5bec06bcdfa4..2eb5210d570e 100644 --- a/www/claroline/Makefile +++ b/www/claroline/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: claroline -# Date created: 29 Feb 2008 -# Whom: Wen heping <wenheping@gmail.com> -# +# Created by: Wen heping <wenheping@gmail.com> # $FreeBSD$ -# PORTNAME= claroline PORTVERSION= 1.10.2 @@ -19,21 +15,20 @@ USE_PHP= mysql WRKSRC= ${WRKDIR}/${DISTNAME} SUB_FILES= pkg-message -OPTIONS= LDAP "Add LDAP authentication functionality" Off \ - GD "Add GD functionality" On \ - OPENSSL "Add OpenSSL functionality" Off +OPTIONS_DEFINE= LDAP GD SSL +OPTIONS_DEFAULT= GD -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_GD) +.if ${PORT_OPTIONS:MGD} USE_PHP+= gd .endif -.if defined(WITH_OPENSSL) +.if ${PORT_OPTIONS:MSSL} USE_PHP+= openssl .endif -.if defined(WITH_LDAP) +.if ${PORT_OPTIONS:MLDAP} USE_PHP+= ldap .endif @@ -48,4 +43,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |