1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

- All web applications should be now installed into ${PREFIX}/www/appname.

This commit is contained in:
Cheng-Lung Sung 2006-07-07 07:39:16 +00:00
parent b740a34f2a
commit 5132621067
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167120

View File

@ -25,7 +25,7 @@ USE_ZIP= YES
USE_PHP= ctype mysql pcre session xml USE_PHP= ctype mysql pcre session xml
NO_BUILD= YES NO_BUILD= YES
WANT_PHP_WEB= YES WANT_PHP_WEB= YES
WWWDOCROOT?= www/data WWWDOCROOT?= www
PLOGURL?= lifetype PLOGURL?= lifetype
WWWOWN?= www WWWOWN?= www
WWWGRP?= www WWWGRP?= www
@ -71,8 +71,7 @@ pre-install:
&& ${ECHO_CMD} "@unexec ${RM} -fr %D/${PLOGDIR}/tmp/* 2>/dev/null || ${TRUE}" >> ${PLIST} \ && ${ECHO_CMD} "@unexec ${RM} -fr %D/${PLOGDIR}/tmp/* 2>/dev/null || ${TRUE}" >> ${PLIST} \
&& ${FIND} -d * -type d | \ && ${FIND} -d * -type d | \
${SED} -e 's|^|@dirrm ${PLOGDIR}/|' >> ${PLIST} \ ${SED} -e 's|^|@dirrm ${PLOGDIR}/|' >> ${PLIST} \
&& ${ECHO_CMD} @dirrm ${PLOGDIR} >> ${PLIST} \ && ${ECHO_CMD} @dirrm ${PLOGDIR} >> ${PLIST}
&& ${ECHO_CMD} @dirrmtry ${WWWDOCROOT} >> ${PLIST}
do-install: do-install:
@${MKDIR} ${PREFIX}/${PLOGDIR} @${MKDIR} ${PREFIX}/${PLOGDIR}