From 40bda7dba8415cb47f0185042bd527b1401b2b5f Mon Sep 17 00:00:00 2001 From: Herve Quiroz Date: Thu, 7 Apr 2005 00:03:30 +0000 Subject: Install data files using FIND | INSTALL_DATA Submitted by: Sam Lawrance --- misc/pipe/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'misc/pipe/Makefile') diff --git a/misc/pipe/Makefile b/misc/pipe/Makefile index a81cb82fdc7c..74cb0a2e5525 100644 --- a/misc/pipe/Makefile +++ b/misc/pipe/Makefile @@ -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} -- cgit v1.2.3