diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-04-07 00:03:30 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-04-07 00:03:30 +0000 |
commit | 40bda7dba8415cb47f0185042bd527b1401b2b5f (patch) | |
tree | c497120a369d8a65c74c2d4502da4e1f8a6acf3f /misc/pipe/Makefile | |
parent | - Update to 0.b.1.5 (and unbreak) [1] (diff) |
Install data files using FIND | INSTALL_DATA
Submitted by: Sam Lawrance <boris@brooknet.com.au>
Notes
Notes:
svn path=/head/; revision=132660
Diffstat (limited to '')
-rw-r--r-- | misc/pipe/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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} |