aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2009-02-03 14:05:11 +0800
committerglewis <glewis@FreeBSD.org>2009-02-03 14:05:11 +0800
commit0430f41f31486b2dbb1283c2f04fe0806fee0101 (patch)
tree2aa7680fea9014396686e51a447f4cdfcf1ae646 /java
parent7ab65bc638f8bb67a05d3488dae43716458aac3f (diff)
downloadfreebsd-ports-gnome-0430f41f31486b2dbb1283c2f04fe0806fee0101.tar.gz
freebsd-ports-gnome-0430f41f31486b2dbb1283c2f04fe0806fee0101.tar.zst
freebsd-ports-gnome-0430f41f31486b2dbb1283c2f04fe0806fee0101.zip
. Add a setup-user target which users may need to add after updating
eclipse. Submitted by: sepotvin@
Diffstat (limited to 'java')
-rw-r--r--java/eclipse-devel/Makefile5
-rw-r--r--java/eclipse-devel/pkg-message3
2 files changed, 8 insertions, 0 deletions
diff --git a/java/eclipse-devel/Makefile b/java/eclipse-devel/Makefile
index 1e6a11a745d0..47f77912b670 100644
--- a/java/eclipse-devel/Makefile
+++ b/java/eclipse-devel/Makefile
@@ -184,4 +184,9 @@ do-install:
@(cd ${PREFIX}; ${FIND} -s -d ${ECLIPSE} -type d) | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
@echo '@unexec ${PREFIX}/bin/update-desktop-database > /dev/null || /usr/bin/true' >> ${TMPPLIST}
+setup-user:
+ @echo 'Preparing Eclipse configuration for user ${USER}'
+ @${PREFIX}/bin/${ECLIPSE} -initialize -clean -consoleLog
+ @${FIND} ${HOME}/.eclipse -exec touch {} \;
+
.include <bsd.port.post.mk>
diff --git a/java/eclipse-devel/pkg-message b/java/eclipse-devel/pkg-message
new file mode 100644
index 000000000000..66dc605d15da
--- /dev/null
+++ b/java/eclipse-devel/pkg-message
@@ -0,0 +1,3 @@
+If eclipse-devel is reinstalled, you must run the 'setup-user' make
+target as each user that is using eclipse. Failure to do so will result
+in plugins installed by the users not being available at run-time.