blob: 54bd367e63f5f176e34021f5819a5b763d62c13c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
# Created by: Bartlomiej Rutkowski <r@robakdesign.com>
PORTNAME= ilias
PORTVERSION= 5.4.25
DISTVERSIONPREFIX= v
CATEGORIES= www education
MAINTAINER= wen@FreeBSD.org
COMMENT= Powerful, dynamic, PHP and MySQL based e-learning platform
LICENSE= GPLv2
CONFLICTS= ilias6
PORTSCOUT= limit:^5\.
RUN_DEPENDS= zip:archivers/zip \
${UNZIP_CMD}:archivers/unzip \
${LOCALBASE}/share/pear/PEAR.php:devel/pear@${PHP_FLAVOR} \
${LOCALBASE}/share/pear/Auth/Auth.php:security/pear-Auth@${PHP_FLAVOR} \
${LOCALBASE}/share/pear/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} \
${LOCALBASE}/share/pear/HTML/Template/IT.php:devel/pear-HTML_Template_IT@${PHP_FLAVOR}
LIB_DEPENDS= libpng.so:graphics/png
USE_GITHUB= yes
GH_ACCOUNT= ILIAS-eLearning
GH_PROJECT= ILIAS
USES= cpe jpeg magick:6,run php
IGNORE_WITH_PHP= 80 81
NO_BUILD= yes
PLIST= ${WRKDIR}/plist
USE_PHP= pdo_mysql session zlib gd pdf dom xsl pcre simplexml
ILIASDIR= www/ilias
ILIASDATADIR= www/iliasdata
PLIST_SUB= ILIASDATADIR=${ILIASDATADIR}
SUB_FILES= pkg-message
SUB_LIST= ILIASDATADIR=${ILIASDATADIR}
OPTIONS_DEFINE= SCORM2004 CHECKER MAIL
SCORM2004_USE= php=json
CHECKER_RUN_DEPENDS= ${LOCALBASE}/share/pear/HTTP/Request.php:www/pear-HTTP_Request@${PHP_FLAVOR}
MAIL_RUN_DEPENDS= ${LOCALBASE}/share/pear/Mail.php:mail/pear-Mail@${PHP_FLAVOR}
EXTRA_FILES= %%WWWDIR%%/libs/composer/vendor/bin/generate_vcards \
%%WWWDIR%%/libs/composer/vendor/bin/naturalselection \
%%WWWDIR%%/libs/composer/vendor/bin/sabredav \
%%WWWDIR%%/libs/composer/vendor/bin/vobject \
%%WWWDIR%%/libs/composer/vendor/simplesamlphp/simplesamlphp/locales/no \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/_mocha \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/esparse \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/esvalidate \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/flat \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/he \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/js-yaml \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mime \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mkdirp \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/mocha \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/semver \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/uuid \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/.bin/which \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/js-yaml/node_modules/.bin/esparse \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/js-yaml/node_modules/.bin/esvalidate \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/he \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/js-yaml \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/mkdirp \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/mocha/node_modules/.bin/which \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/node-environment-flags/node_modules/.bin/semver \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/send/node_modules/.bin/mime \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/superagent/node_modules/.bin/mime \
%%WWWDIR%%/Modules/Chatroom/chat/node_modules/yargs-unparser/node_modules/.bin/flat
pre-install:
@${ECHO_CMD} "@owner ${WWWOWN}" >> ${PLIST}
@${ECHO_CMD} "@group ${WWWGRP}" >> ${PLIST}
@${ECHO_CMD} "@mode 755" >> ${PLIST}
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${ILIASDIR}?g" >> ${PLIST}
.for i in ${EXTRA_FILES}
@${ECHO_CMD} ${i} >> ${PLIST}
.endfor
@${ECHO} @dir ${ILIASDIR} >> ${PLIST}
@${ECHO} @dir ${ILIASDATADIR} >> ${PLIST}
@${ECHO_CMD} "@mode" >> ${PLIST}
@${ECHO_CMD} "@group" >> ${PLIST}
@${ECHO_CMD} "@owner" >> ${PLIST}
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
@${INSTALL} -d ${STAGEDIR}${PREFIX}/${ILIASDATADIR}
.include <bsd.port.mk>
|