Lines 3-8
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= mahara |
4 |
PORTNAME= mahara |
5 |
PORTVERSION= 15.04.0 |
5 |
PORTVERSION= 15.04.0 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= www |
7 |
CATEGORIES= www |
7 |
MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/ |
8 |
MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/ |
8 |
|
9 |
|
Lines 10-15
Link Here
|
10 |
COMMENT= Open source ePortfolio system |
11 |
COMMENT= Open source ePortfolio system |
11 |
|
12 |
|
12 |
LICENSE= GPLv3 |
13 |
LICENSE= GPLv3 |
|
|
14 |
LICENSE_FILE= ${WRKSRC}/../COPYING |
13 |
|
15 |
|
14 |
USES= cpe tar:bzip2 |
16 |
USES= cpe tar:bzip2 |
15 |
USE_PHP= session json curl xml xmlrpc openssl simplexml |
17 |
USE_PHP= session json curl xml xmlrpc openssl simplexml |
Lines 30-45
Link Here
|
30 |
MAHARADATADIR?= www/maharadata |
32 |
MAHARADATADIR?= www/maharadata |
31 |
|
33 |
|
32 |
pre-install: |
34 |
pre-install: |
33 |
@${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST} |
|
|
34 |
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MAHARADIR}?g" >> ${PLIST} |
35 |
@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${MAHARADIR}?g" >> ${PLIST} |
35 |
@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${MAHARADIR}?g" >> ${PLIST} |
36 |
@${ECHO_CMD} "@dir(${WWWOWN},${WWWGRP},755) ${MAHARADATADIR}" >> ${PLIST} |
36 |
@${ECHO} @dir ${MAHARADATADIR} >> ${PLIST} |
|
|
37 |
@${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST} |
38 |
|
37 |
|
39 |
do-install: |
38 |
do-install: |
40 |
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} |
39 |
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} |
41 |
@${INSTALL} -d ${STAGEDIR}${PREFIX}/${MAHARADATADIR} |
40 |
@${MKDIR} ${STAGEDIR}${PREFIX}/${MAHARADATADIR} |
42 |
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} |
|
|
43 |
@${CHMOD} -R a+w ${STAGEDIR}${PREFIX}/${MAHARADATADIR} |
44 |
|
41 |
|
45 |
.include <bsd.port.mk> |
42 |
.include <bsd.port.mk> |