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

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}