Lines 16-22
LICENSE= GPLv2
Link Here
|
16 |
CONFLICTS= phpbb-tw-[0-9]* phpbb-devel-[0-9]* \ |
16 |
CONFLICTS= phpbb-tw-[0-9]* phpbb-devel-[0-9]* \ |
17 |
phpbb-[0-2]* |
17 |
phpbb-[0-2]* |
18 |
|
18 |
|
19 |
USE_BZIP2= yes |
19 |
USES= tar:bzip2 |
20 |
USE_PHP= yes |
20 |
USE_PHP= yes |
21 |
|
21 |
|
22 |
# The phpBB3 port supports a number of variables that may be tweaked at build |
22 |
# The phpBB3 port supports a number of variables that may be tweaked at build |
Lines 35-41
SUB_LIST= PHPBBURL="${PHPBBURL}" \
Link Here
|
35 |
|
35 |
|
36 |
PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} |
36 |
PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} |
37 |
|
37 |
|
38 |
NO_STAGE= yes |
|
|
39 |
# Set custom variables: |
38 |
# Set custom variables: |
40 |
# |
39 |
# |
41 |
PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL} |
40 |
PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL} |
Lines 55-75
pre-everything::
Link Here
|
55 |
.endif |
54 |
.endif |
56 |
|
55 |
|
57 |
do-install: |
56 |
do-install: |
58 |
@ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${PREFIX}/${PHPBBDIR} "! -name config.php" |
57 |
@ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PHPBBDIR} "! -name config.php" |
59 |
@ [ -f ${PREFIX}/${PHPBBDIR}/config.php ] || ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php |
58 |
@ ${TOUCH} ${STAGEDIR}${PREFIX}/${PHPBBDIR}/config.php.sample |
60 |
@ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR} |
59 |
@ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PHPBBDIR} |
61 |
@ ${CHMOD} -R 0755 ${PREFIX}/${PHPBBDIR} |
60 |
@ ${CHMOD} -R 0755 ${STAGEDIR}${PREFIX}/${PHPBBDIR} |
62 |
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \ |
61 |
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \ |
63 |
${PHPBBDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST} |
62 |
${PHPBBDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST} |
64 |
|
63 |
|
65 |
post-install: |
64 |
post-install: |
66 |
.if !defined(NOPORTDOCS) |
65 |
@ ${MKDIR} ${STAGEDIR}${DOCSDIR} |
67 |
@ ${MKDIR} ${DOCSDIR} |
66 |
@ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} |
68 |
@ cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR} |
|
|
69 |
|
70 |
.if !defined(BATCH) |
71 |
@ ${CAT} ${PKGMESSAGE} |
72 |
.endif |
73 |
.endif |
74 |
|
67 |
|
75 |
.include <bsd.port.mk> |
68 |
.include <bsd.port.mk> |