Fix "php_doc-fr-20041012 failed on i3865" pkg-plist problem.
Noticed by: pointyhat Approved by: portmgr (marcus@)
This commit is contained in:
parent
5b82e7ed54
commit
378a03b28e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131859
1 changed files with 2 additions and 2 deletions
|
@ -41,13 +41,13 @@ pre-fetch:
|
|||
.endif
|
||||
|
||||
pre-install:
|
||||
${FIND} ${WRKDIR} -type f ! -name '.*' | ${SED} -e "s,${WRKDIR},%%PHPDOCDIR%%," > ${PLIST}
|
||||
${FIND} ${WRKDIR} -type f ! -name '.*' ! -name pkg-plist | ${SED} -e "s,${WRKDIR},%%PHPDOCDIR%%," > ${PLIST}
|
||||
${FIND} ${WRKDIR} -type d | ${SORT} -r | ${SED} -e "s,${WRKDIR},@dirrm %%PHPDOCDIR%%," >> ${PLIST}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PHPDOCDIR}
|
||||
${FIND} ${WRKDIR} -type d | ${SED} -e "s,${WRKDIR},${PHPDOCDIR}/," | ${XARGS} ${MKDIR}
|
||||
for f in `${FIND} ${WRKDIR} -type f ! -name '.*' | ${SED} -e "s,${WRKDIR}/,,"`; do \
|
||||
for f in `${FIND} ${WRKDIR} -type f ! -name '.*' ! -name pkg-plist | ${SED} -e "s,${WRKDIR}/,,"`; do \
|
||||
${INSTALL_DATA} ${WRKDIR}/$$f ${PHPDOCDIR}/$$f; \
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue