1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Use CUT and FIND macros.

This commit is contained in:
Trevor Johnson 2002-05-25 15:28:15 +00:00
parent 88f2ad684a
commit 34aec37881
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59985

View File

@ -41,8 +41,9 @@ pre-extract:
pre-install:
${RM} -f ${PLIST}
cd ${WRKDIR}/manual && find -s . -type f | cut -c3-999 >> ${PLIST} \
&& find * -type d | ${SED} -e 's:^:@dirrm :' >> ${PLIST}
cd ${WRKDIR}/manual && ${FIND} -s . -type f | \
${CUT} -c3-999 >> ${PLIST} \
&& ${FIND} * -type d | ${SED} -e 's:^:@dirrm :' >> ${PLIST}
do-install:
cd ${WRKSRC} && pax -r -w * ${PREFIX}