aboutsummaryrefslogtreecommitdiffstats
path: root/java/eclipse/Makefile.plugins
blob: 296f5496e035245ac942477a094dd27514d0481c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $FreeBSD$
NO_BUILD=   yes
USE_JAVA=   yes
JAVA_VERSION=   1.7+
JAVA_OS=    native

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}