pkgsrc/www/moodle/options.mk
gls a82f5a82cf Update www/moodle to version 2.0.2
Mainly taken from PR pkg/44195 from maintainer Wen Heping.
Ok'd by maintainer.

pkgsrc changes:
- fix a couple hardcoded paths.

Upstream changes:

Many, many changes, too many to list here.
Includes a bunch of security fixes.

Please check:
http://docs.moodle.org/en/Moodle_1.9.10_release_notes
http://docs.moodle.org/en/Moodle_1.9.11_release_notes
http://docs.moodle.org/en/Moodle_2.0_release_notes
http://docs.moodle.org/en/Moodle_2.0.1_release_notes
http://docs.moodle.org/en/Moodle_2.0.2_release_notes

for the full list of changes.
2011-03-07 21:32:47 +00:00

18 lines
478 B
Makefile

# $NetBSD: options.mk,v 1.2 2011/03/07 21:32:47 gls Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.moodle
PKG_OPTIONS_REQUIRED_GROUPS= db
PKG_OPTIONS_GROUP.db= mysql pgsql
PKG_SUGGESTED_OPTIONS= mysql
.include "../../mk/bsd.options.mk"
###
### Use mysql or postgresql backend
###
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.2.14:../../databases/php-mysqli
.elif !empty(PKG_OPTIONS:Mpgsql)
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5:../../databases/php-pgsql
.endif