- fix the file permission problem by running the ${FPSETPERM} script

- remove the extra files created by the ${REINPLACE_CMD}

PR:		48555
Submitted by:	Scot W. Hetzel <hetzels@westbend.net>
This commit is contained in:
Yen-Ming Lee 2003-02-24 16:23:50 +00:00
parent c2e4cc1ce9
commit 5500b8d326
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76404
2 changed files with 7 additions and 0 deletions

View File

@ -52,6 +52,9 @@ do-install:
.endfor
.for _FP_LCID in ${FP_LCID}
@${REINPLACE_CMD} -e 's:IMAGESDIR:../images/:g' ${FP_DIR}/admin/${_FP_LCID}/webadmin.css
@if [ -f ${FP_DIR}/admin/${_FP_LCID}/webadmin.css.bak ] ; then \
${RM} ${FP_DIR}/admin/${_FP_LCID}/webadmin.css.bak ; \
fi
@if [ ! -f ${FP_DIR}/help/${_FP_LCID}/wsgindex.htm ]; then \
${CP} ${FP_DIR}/help/${_FP_LCID}/wsgIndex.htm ${FP_DIR}/help/${_FP_LCID}/wsgindex.htm ; \
fi

View File

@ -117,6 +117,9 @@ do-install:
@${ECHO_MSG} "===> Untaring FrontPage Extensions to ${PREFIX}"
@(cd ${PREFIX} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${FRONTPAGE} ${EXTRACT_AFTER_ARGS})
@${REINPLACE_CMD} -e 's:IMAGESDIR:../images/:g' ${PREFIX}/${FPCSS}
@if [ -f ${PREFIX}/${FPCSS} ]; then \
${RM} ${PREFIX}/${FPCSS}.bak ; \
fi
@${RM} ${PREFIX}/${FPHTTPD}/httpd
@${MKDIR} ${MOD_FPDOCDIR}
@${CP} ${PREFIX}/${README} ${MOD_FPDOCDIR}/index.html
@ -125,5 +128,6 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
@${PREFIX}/${FPSETPERM}
.include <bsd.port.post.mk>