diff options
author | wiz <wiz@pkgsrc.org> | 2003-09-06 16:45:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-09-06 16:45:06 +0000 |
commit | 47e3e8ba0825253cfc1e6b5b54449870a01bbb18 (patch) | |
tree | 1e3861bf8dc73a02cd7c4b545a2afed35326a4e0 /textproc/fop | |
parent | 2ee34702bc4720da9f7f7b75289afac733625b39 (diff) | |
download | pkgsrc-47e3e8ba0825253cfc1e6b5b54449870a01bbb18.tar.gz |
Use the appropriate find(1) options depending on OPSYS (-d vs. -depth).
Patch by Jonathan Perkin.
Diffstat (limited to 'textproc/fop')
-rw-r--r-- | textproc/fop/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/textproc/fop/Makefile b/textproc/fop/Makefile index 706caeb7d44..64f83e96187 100644 --- a/textproc/fop/Makefile +++ b/textproc/fop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2003/07/21 17:27:31 martti Exp $ +# $NetBSD: Makefile,v 1.19 2003/09/06 16:45:06 wiz Exp $ # # Note: we currently use the pre-built (-bin) distribution of FOP, # because although FOP runs fine under JDK 1.1, JDK 1.2 or greater is @@ -26,8 +26,15 @@ USE_BUILDLINK2= NO_CONFIGURE= NO_BUILD= +.include "../../mk/bsd.prefs.mk" + post-extract: +.if ${OPSYS:M*BSD} ${FIND} -d ${WRKSRC}/docs -name cvs -exec ${RM} -r '{}' \; +.else + ${FIND} ${WRKSRC}/docs -depth -name cvs -exec ${RM} -r '{}' \; +.endif + do-install: ${INSTALL_DATA_DIR} ${PREFIX}/lib/java |