forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (28 loc) · 858 Bytes
/
Makefile
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
30
31
32
33
34
35
36
37
38
39
40
41
PORTNAME= pydev
PORTVERSION= 10.1.3
CATEGORIES= java devel python
MASTER_SITES= https://github.com/fabioz/Pydev/releases/download/${PORTNAME}_10_1_3/
PKGNAMEPREFIX= eclipse-
DISTNAME= PyDev.${PORTVERSION}
MAINTAINER= [email protected]
COMMENT= Eclipse plugin for Python and Jython development
WWW= https://www.pydev.org/
LICENSE= EPL
RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:java/eclipse
USES= python zip
USE_JAVA= YES
JAVA_VERSION= 8+
JAVA_OS= native
JAVA_RUN= YES
NO_BUILD= YES
NO_WRKSUBDIR= YES
OPTIONS_DEFINE= JYTHON
JYTHON_DESC= Use Jython as Python interpreter
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MJYTHON}
RUN_DEPENDS+= jython:lang/jython
.endif
PLUGINDIR= share/eclipse/dropins/${PORTNAME}/eclipse
do-install:
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "features plugins" ${STAGEDIR}${PREFIX}/${PLUGINDIR})
.include <bsd.port.mk>