aboutsummaryrefslogtreecommitdiff
path: root/java/eclipse-yaml-editor/Makefile
blob: 08fa70aac71873c17a9f8c65ea27265b13679b7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>