aboutsummaryrefslogtreecommitdiffstats
path: root/java/eclipse/Makefile.plugins
blob: 54814b3ef0ecae61ef29f516b994ac583c00d148 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
NO_BUILD=	yes
USES+=		java
JAVA_VERSION=	21+

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}