1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Install data files using FIND | INSTALL_DATA

Submitted by:	Sam Lawrance <boris@brooknet.com.au>
This commit is contained in:
Herve Quiroz 2005-04-07 00:03:30 +00:00
parent afc723066c
commit 40bda7dba8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132660

View File

@ -33,7 +33,10 @@ PORTDOCS= javadoc license manual
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/pipe.sh ${PREFIX}/bin/pipe
@${MKDIR} ${DATADIR}
${CP} -R ${WRKSRC}/bin/ ${DATADIR}
cd ${WRKSRC}/bin && \
${FIND} . -type d -exec ${MKDIR} ${DATADIR}/{} \;
cd ${WRKSRC}/bin && \
${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
${LN} -s ${DATADIR}/petri-nets ${DATADIR}/Example\ nets
@${FIND} ${DATADIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}