Lines 21-39
EFRONT_DIRS= libraries PEAR \
Link Here
|
21 |
NO_BUILD= yes |
21 |
NO_BUILD= yes |
22 |
SUB_FILES= pkg-message |
22 |
SUB_FILES= pkg-message |
23 |
|
23 |
|
24 |
NO_STAGE= yes |
|
|
25 |
.include <bsd.port.pre.mk> |
24 |
.include <bsd.port.pre.mk> |
26 |
do-install: |
25 |
do-install: |
27 |
@if [ ! -f ${WWWDIR} ]; then \ |
26 |
${MKDIR} ${STAGEDIR}${WWWDIR} |
28 |
${MKDIR} ${WWWDIR} ; fi |
|
|
29 |
.for i in ${EFRONT_FILES} |
27 |
.for i in ${EFRONT_FILES} |
30 |
@cd ${WRKDIR} && ${CP} ${i} ${WWWDIR} |
28 |
@cd ${WRKDIR} && ${CP} ${i} ${STAGEDIR}${WWWDIR} |
31 |
.endfor |
29 |
.endfor |
32 |
.for i in ${EFRONT_DIRS} |
30 |
.for i in ${EFRONT_DIRS} |
33 |
@cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${WWWDIR} |
31 |
@cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR} |
34 |
.endfor |
32 |
.endfor |
35 |
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} |
33 |
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} |
36 |
@${CHMOD} -R 755 ${WWWDIR} |
34 |
@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} |
37 |
|
35 |
|
38 |
post-install: |
36 |
post-install: |
39 |
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ |
37 |
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ |