| @@ -1,35 +1,36 @@ | | | @@ -1,35 +1,36 @@ |
1 | # $NetBSD: Makefile,v 1.11 2012/05/31 12:12:54 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.12 2012/06/16 03:05:44 taca Exp $ |
2 | | | 2 | |
3 | DISTNAME= moodle-2.1.6 | | 3 | DISTNAME= moodle-2.1.6 |
| | | 4 | PKGREVISION= 1 |
4 | CATEGORIES= www | | 5 | CATEGORIES= www |
5 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=moodle/} | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=moodle/} |
6 | EXTRACT_SUFX= .tgz | | 7 | EXTRACT_SUFX= .tgz |
7 | | | 8 | |
8 | MAINTAINER= wenheping@gmail.com | | 9 | MAINTAINER= wenheping@gmail.com |
9 | HOMEPAGE= http://www.moodle.org/ | | 10 | HOMEPAGE= http://www.moodle.org/ |
10 | COMMENT= Course management system based on social constructionism | | 11 | COMMENT= Course management system based on social constructionism |
11 | LICENSE= gnu-gpl-v3 | | 12 | LICENSE= gnu-gpl-v3 |
12 | | | 13 | |
13 | DEPENDS+= ${PHP_PKG_PREFIX}-gd>=4.3.3:../../graphics/php-gd | | 14 | DEPENDS+= ${PHP_PKG_PREFIX}-gd>=4.3.3:../../graphics/php-gd |
14 | DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv | | 15 | DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv |
15 | DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.2.0:../../converters/php-mbstring | | 16 | DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.2.0:../../converters/php-mbstring |
16 | DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.2.0:../../www/php-curl | | 17 | DEPENDS+= ${PHP_PKG_PREFIX}-curl>=5.2.0:../../www/php-curl |
17 | DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.2.0:../../net/php-xmlrpc | | 18 | DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.2.0:../../net/php-xmlrpc |
18 | DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.2.0:../../archivers/php-zlib | | 19 | DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.2.0:../../archivers/php-zlib |
19 | DEPENDS+= ${PHP_PKG_PREFIX}-dom>=5.2.0:../../textproc/php-dom | | 20 | DEPENDS+= ${PHP_PKG_PREFIX}-dom>=5.2.0:../../textproc/php-dom |
20 | DEPENDS+= ${PHP_PKG_PREFIX}-soap>=5.2.0:../../net/php-soap | | 21 | DEPENDS+= ${PHP_PKG_PREFIX}-soap>=5.2.0:../../net/php-soap |
21 | DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.2.0:../../textproc/php-json | | 22 | DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.2.0:../../textproc/php-json |
22 | DEPENDS+= ${PHP_PKG_PREFIX}-intl>=5.2.0:../../textproc/php-intl | | 23 | DEPENDS+= ${PHP_PKG_PREFIX}-intl>=2.0.0:../../textproc/php-intl |
23 | DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.2.0:../../archivers/php-zip | | 24 | DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.2.0:../../archivers/php-zip |
24 | | | 25 | |
25 | EGDIR= share/examples/moodle | | 26 | EGDIR= share/examples/moodle |
26 | MOODLEDIR= ${PREFIX}/share/moodle | | 27 | MOODLEDIR= ${PREFIX}/share/moodle |
27 | MOODLEDATADIR= ${PREFIX}/moodledata | | 28 | MOODLEDATADIR= ${PREFIX}/moodledata |
28 | | | 29 | |
29 | PKG_DESTDIR_SUPPORT= destdir | | 30 | PKG_DESTDIR_SUPPORT= destdir |
30 | INSTALLATION_DIRS= ${EGDIR} share/moodle | | 31 | INSTALLATION_DIRS= ${EGDIR} share/moodle |
31 | | | 32 | |
32 | .include "../../mk/bsd.prefs.mk" | | 33 | .include "../../mk/bsd.prefs.mk" |
33 | .include "options.mk" | | 34 | .include "options.mk" |
34 | | | 35 | |
35 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | 36 | PKG_INSTALLATION_TYPES= overwrite pkgviews |