From c1df777890b8ebe630dd46af31e9e78abd94dc14 Mon Sep 17 00:00:00 2001 From: edwin Date: Sun, 22 Jun 2008 11:12:42 +0000 Subject: - Fix startup script for when you're not in /usr/local/libexec/processing-devel. - Fix warnings about world writable files. --- graphics/processing-devel/Makefile | 2 ++ graphics/processing-devel/files/patch-processing | 13 ++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'graphics') diff --git a/graphics/processing-devel/Makefile b/graphics/processing-devel/Makefile index 2820f8b46b13..2e60cfa036be 100644 --- a/graphics/processing-devel/Makefile +++ b/graphics/processing-devel/Makefile @@ -27,6 +27,8 @@ post-extract: ${RM} -rf ${WRKSRC}/java/[A-Z]* ${RM} -rf ${WRKSRC}/java/lib/[a-qsu-z]* + ${FIND} ${WRKSRC}/reference -type f -exec ${CHMOD} go-xw {} \; + post-patch: ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/processing ${RM} ${WRKSRC}/processing.* diff --git a/graphics/processing-devel/files/patch-processing b/graphics/processing-devel/files/patch-processing index f36b97693738..04a0b8af0292 100644 --- a/graphics/processing-devel/files/patch-processing +++ b/graphics/processing-devel/files/patch-processing @@ -1,6 +1,6 @@ --- processing.orig 2008-06-16 22:21:27.000000000 +1000 -+++ processing 2008-06-22 18:03:16.000000000 +1000 -@@ -1,6 +1,6 @@ ++++ processing 2008-06-22 21:08:13.000000000 +1000 +@@ -1,17 +1,17 @@ - #!/bin/sh +#!/bin/sh @@ -9,7 +9,14 @@ for LIB in \ java/lib/rt.jar \ -@@ -14,4 +14,4 @@ + java/lib/tools.jar \ + lib \ + lib/build \ +- lib/*.jar \ ++ lib/antlr.jar lib/core.jar lib/jna.jar lib/pde.jar \ + ; + do + CLASSPATH="${CLASSPATH}:${APPDIR}/${LIB}" done export CLASSPATH -- cgit