e5fa1b9d44
- drop maintainership
39 lines
899 B
Makefile
39 lines
899 B
Makefile
# $OpenBSD: Makefile,v 1.12 2009/12/30 10:01:31 kevlo Exp $
|
|
|
|
COMMENT= learning management system
|
|
|
|
DISTNAME= moodle-1.9.7
|
|
CATEGORIES= www education
|
|
|
|
HOMEPAGE= http://www.moodle.org/
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://download.moodle.org/stable19/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
EXTRACT_ONLY=
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
PKG_ARCH= *
|
|
|
|
PREFIX= /var/www
|
|
INSTDIR= ${PREFIX}/moodle
|
|
SUBST_VARS= INSTDIR
|
|
|
|
RUN_DEPENDS= :php5-curl-*:www/php5/extensions,-curl \
|
|
:php5-gd-*:www/php5/extensions,-gd \
|
|
:php5-mbstring-*:www/php5/extensions,-mbstring \
|
|
:php5-xmlrpc-*:www/php5/extensions,-xmlrpc
|
|
RUN_DEPENDS+= :php5-mysql-*|php5-pgsql-*:www/php5/extensions,-mysql
|
|
|
|
do-install:
|
|
@cd ${PREFIX} && tar zxf ${FULLDISTDIR}/${DISTNAME}${EXTRACT_SUFX}
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/*
|
|
|
|
.include <bsd.port.mk>
|