Skip to content

Commit

Permalink
java/eclipse-yaml-editor: new port to work with YAML in Eclipse IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
mizhka committed May 5, 2024
1 parent 73ee979 commit b107d06
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions java/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
SUBDIR += eclipse-findbugs
SUBDIR += eclipse-pydev
SUBDIR += eclipse-shelled
SUBDIR += eclipse-yaml-editor
SUBDIR += hamcrest
SUBDIR += icedtea-web
SUBDIR += infobus
Expand Down
29 changes: 29 additions & 0 deletions java/eclipse-yaml-editor/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
PORTNAME= eclipse-yaml-editor
PORTVERSION= 1.9.0
CATEGORIES= java devel

MAINTAINER= mizhka@FreeBSD.org
COMMENT= Eclipse plugin for YAML editing
WWW= https://github.com/de-jcup/eclipse-yaml-editor/wiki

LICENSE= APACHE20

RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:java/eclipse

USE_GITHUB= YES
GH_TUPLE= de-jcup:update-site-${PORTNAME}:99ea8dc

NO_ARCH= YES
NO_BUILD= YES

PLUGINDIR= share/eclipse/dropins/${PORTNAME}/eclipse

PLIST_SUB= PORTVERSION=${PORTVERSION}

do-install:
@(cd ${WRKSRC}/update-site/ && \
${COPYTREE_SHARE} "features plugins" ${STAGEDIR}${PREFIX}/${PLUGINDIR})
@(${FIND} ${STAGEDIR}${PREFIX}/${PLUGINDIR} -type f \
! -name "*${PORTVERSION}*" -delete)

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions java/eclipse-yaml-editor/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1713551622
SHA256 (de-jcup-update-site-eclipse-yaml-editor-1.9.0-99ea8dc_GH0.tar.gz) = 546a10086a6c3a826ca2c66f89f90b6a1e4a6e78bc73e1b24ab44d91bfcdf22f
SIZE (de-jcup-update-site-eclipse-yaml-editor-1.9.0-99ea8dc_GH0.tar.gz) = 2542822
2 changes: 2 additions & 0 deletions java/eclipse-yaml-editor/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Just a YAML editor, a plugin for Eclipse with plenty of features like
formatting, syntax highlighting and analysis, autocompletion, outline and etc.
4 changes: 4 additions & 0 deletions java/eclipse-yaml-editor/pkg-plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
share/eclipse/dropins/eclipse-yaml-editor/eclipse/features/de.jcup.yamleditor_%%PORTVERSION%%.jar
share/eclipse/dropins/eclipse-yaml-editor/eclipse/features/de.jcup.yamleditor_%%PORTVERSION%%.jar.sha256
share/eclipse/dropins/eclipse-yaml-editor/eclipse/plugins/de.jcup.yamleditor_%%PORTVERSION%%.jar
share/eclipse/dropins/eclipse-yaml-editor/eclipse/plugins/de.jcup.yamleditor_%%PORTVERSION%%.jar.sha256

0 comments on commit b107d06

Please sign in to comment.