summaryrefslogtreecommitdiff
path: root/java/eclipse
diff options
context:
space:
mode:
Diffstat (limited to 'java/eclipse')
-rw-r--r--java/eclipse/Makefile.plugins12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/eclipse/Makefile.plugins b/java/eclipse/Makefile.plugins
new file mode 100644
index 000000000000..19a025d0551a
--- /dev/null
+++ b/java/eclipse/Makefile.plugins
@@ -0,0 +1,12 @@
+# $FreeBSD$
+NO_BUILD= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.8+
+
+REPO_DIRS?= features plugins
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/eclipse/dropins/${PORTNAME}/eclipse
+ @(cd ${WRKSRC}; ${COPYTREE_SHARE} "${REPO_DIRS}" ${STAGEDIR}${PREFIX}/share/eclipse/dropins/${PORTNAME}/eclipse/)
+ @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s share/eclipse/dropins/${PORTNAME} -not -type d) >> ${TMPPLIST}
+ @(cd ${STAGEDIR}${PREFIX}; ${FIND} -s -d share/eclipse/dropins/${PORTNAME} -type d -empty) | ${SED} -ne 's,^,@dir ,p' >> ${TMPPLIST}