Update java/intellij to version 2016.3.2
[dports.git] / java / eclipse-shelled / Makefile
1 # Created by: Sutra Zhou <zhoushuqun@gmail.com>
2 # $FreeBSD$
3
4 PORTNAME=       ShellEd
5 PORTVERSION=    1.0.2a
6 PORTREVISION=   4
7 CATEGORIES=     java devel
8 MASTER_SITES=   SF/${PORTNAME:tl}/${PORTNAME:tl}/1.0.2
9 PKGNAMEPREFIX=  eclipse-
10 DISTNAME=       shelled_${PORTVERSION}
11 DIST_SUBDIR=    eclipse
12
13 MAINTAINER=     zhoushuqun@gmail.com
14 COMMENT=        ShellEd is a superb shell script editor for Eclipse
15
16 RUN_DEPENDS=    eclipse:java/eclipse
17
18 USES=           zip
19 NO_BUILD=       yes
20 NO_WRKSUBDIR=   yes
21 USE_JAVA=       yes
22 JAVA_VERSION=   1.6+
23 JAVA_OS=        native
24
25 do-install:
26         @${MKDIR} ${WRKSRC}/eclipse
27         @${MV} ${WRKSRC}/plugins ${WRKSRC}/eclipse/plugins
28         @${MV} ${WRKSRC}/features ${WRKSRC}/eclipse/features
29         @${MKDIR} ${STAGEDIR}${PREFIX}/lib/eclipse
30         @${CP} -r ${WRKSRC}/eclipse/plugins ${STAGEDIR}${PREFIX}/lib/eclipse
31         @${CP} -r ${WRKSRC}/eclipse/features ${STAGEDIR}${PREFIX}/lib/eclipse
32         @(cd ${WRKSRC}; ${FIND} -s eclipse/features eclipse/plugins -not -type d) | ${SED} -e 's,^eclipse,lib/eclipse,' >> ${TMPPLIST}
33         @(cd ${WRKSRC}; ${FIND} -s -d eclipse/features eclipse/plugins -type d -empty) \
34                 | ${GREP} -vE 'eclipse/plugins$$|eclipse/features$$' \
35                 | ${SED} -ne 's,^,@dir lib/,p' >> ${TMPPLIST}
36         @${MV} ${WRKSRC}/eclipse/plugins ${WRKSRC}/plugins
37         @${MV} ${WRKSRC}/eclipse/features ${WRKSRC}/features
38         @${RM} -r ${WRKSRC}/eclipse
39
40 .include <bsd.port.mk>