Lines 35-41
SUB_LIST= ILIASDATADIR=${ILIASDATADIR}
Link Here
|
35 |
|
35 |
|
36 |
OPTIONS_DEFINE= SCORM2004 Checker Mail Docs |
36 |
OPTIONS_DEFINE= SCORM2004 Checker Mail Docs |
37 |
|
37 |
|
38 |
NO_STAGE= yes |
|
|
39 |
.include <bsd.port.options.mk> |
38 |
.include <bsd.port.options.mk> |
40 |
|
39 |
|
41 |
.if ${PORT_OPTIONS:MSCORM2004} |
40 |
.if ${PORT_OPTIONS:MSCORM2004} |
Lines 59-70
post-extract:
Link Here
|
59 |
@cd ${WRKSRC} && ${MV} docs ${WRKDIR} |
58 |
@cd ${WRKSRC} && ${MV} docs ${WRKDIR} |
60 |
|
59 |
|
61 |
do-install: |
60 |
do-install: |
62 |
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} |
61 |
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} |
63 |
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} |
62 |
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} |
64 |
@${CHMOD} -R 755 ${WWWDIR} |
63 |
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} |
65 |
@${INSTALL} -d ${PREFIX}/${ILIASDATADIR} |
64 |
@${INSTALL} -d ${STAGEDIR}${PREFIX}/${ILIASDATADIR} |
66 |
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ILIASDATADIR} |
65 |
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${ILIASDATADIR} |
67 |
@${CHMOD} -R 755 ${PREFIX}/${ILIASDATADIR} |
66 |
@${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${ILIASDATADIR} |
68 |
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ |
67 |
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ |
69 |
>> ${TMPPLIST} |
68 |
>> ${TMPPLIST} |
70 |
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >>${TMPPLIST} |
69 |
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >>${TMPPLIST} |
Lines 73-79
do-install:
Link Here
|
73 |
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${PREFIX}/${ILIASDATADIR}' >>${TMPPLIST} |
72 |
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${PREFIX}/${ILIASDATADIR}' >>${TMPPLIST} |
74 |
|
73 |
|
75 |
.if ${PORT_OPTIONS:MDOCS} |
74 |
.if ${PORT_OPTIONS:MDOCS} |
76 |
@cd ${WRKDIR}/docs && ${COPYTREE_SHARE} . ${DOCSDIR} |
75 |
@cd ${WRKDIR}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} |
77 |
.endif |
76 |
.endif |
78 |
|
77 |
|
79 |
@${CAT} ${PKGMESSAGE} |
78 |
@${CAT} ${PKGMESSAGE} |