Install data files using FIND | INSTALL_DATA
Submitted by: Sam Lawrance <boris@brooknet.com.au>
This commit is contained in:
parent
afc723066c
commit
40bda7dba8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132660
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user