aboutsummaryrefslogtreecommitdiff
path: root/java/eclipse-devel
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2009-02-03 06:05:11 +0000
committerGreg Lewis <glewis@FreeBSD.org>2009-02-03 06:05:11 +0000
commita45fbaadc926ead83c015296e3b681bb2598b5c2 (patch)
tree41426fd8e9137093379c697fe42c0fb15e98ddde /java/eclipse-devel
parentd4886b0b806268e8406dacc2f1054b04abd7464f (diff)
downloadports-a45fbaadc926ead83c015296e3b681bb2598b5c2.tar.gz
ports-a45fbaadc926ead83c015296e3b681bb2598b5c2.zip
Notes
Diffstat (limited to 'java/eclipse-devel')
-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.