View | Details | Raw Unified | Return to bug 250704 | Differences between
and this patch

Collapse All | Expand All

(-)databases/sqldeveloper/Makefile (-10 / +18 lines)
Lines 5-49 Link Here
5
DISTVERSION=	20.2.0.175.1842
5
DISTVERSION=	20.2.0.175.1842
6
DISTVERSIONSUFFIX=	-no-jre
6
DISTVERSIONSUFFIX=	-no-jre
7
CATEGORIES=	databases java
7
CATEGORIES=	databases java
8
#http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
8
# https://www.oracle.com/tools/downloads/sqldev-downloads.html
9
MASTER_SITES=
9
MASTER_SITES=
10
DIST_SUBDIR=	oracle
10
DIST_SUBDIR=	oracle
11
11
12
MAINTAINER=	vvd@unislabs.com
12
MAINTAINER=	vvd@unislabs.com
13
COMMENT=	Graphical tool for database development
13
COMMENT=	Graphical tool for database development
14
14
15
RUN_DEPENDS=	bash:shells/bash \
15
RUN_DEPENDS=	bash:shells/bash
16
		openjfx8-devel>0:java/openjfx8-devel
17
16
18
USES=		gnome zip
17
USES=		gnome zip
19
18
20
# http://www.oracle.com/technetwork/licenses/sqldev-license-152021.html
19
# https://www.oracle.com/downloads/licenses/sqldev-license.html
21
LICENSE_NAME=	OTN
20
LICENSE_NAME=	OTN
22
LICENSE_PERMS=	no-dist-mirror no-dist-sell no-pkg-mirror
21
LICENSE_PERMS=	no-dist-mirror no-dist-sell no-pkg-mirror
23
22
24
#DEPRECATED=	depends on expiring java/openjfx8-devel
25
#EXPIRATION_DATE=	2020-11-30
26
# it can work without java/openjfx8-devel with some limitations
27
28
USE_JAVA=	yes
23
USE_JAVA=	yes
29
INSTALLS_ICONS=	yes
24
INSTALLS_ICONS=	yes
30
25
31
JAVA_VERSION=	1.8+
26
JAVA_VERSION=	11+
32
27
33
NO_BUILD=	yes
28
NO_BUILD=	yes
34
29
30
OPTIONS_DEFINE=		OPENJFX14
31
OPTIONS_DEFAULT=	OPENJFX14
32
OPENJFX14_DESC=		Use JavaFX 14 (can work without it with some limitations)
33
OPENJFX14_RUN_DEPENDS=	openjfx14>=0:java/openjfx14
34
35
DATADIR=	${JAVASHAREDIR}/${PORTNAME}
35
DATADIR=	${JAVASHAREDIR}/${PORTNAME}
36
WRKSRC=		${WRKDIR}/${PORTNAME}
36
WRKSRC=		${WRKDIR}/${PORTNAME}
37
SUB_FILES=	${PORTNAME}.desktop ${PORTNAME}.sh
37
SUB_FILES=	${PORTNAME}.desktop ${PORTNAME}.sh
38
SUB_LIST=	JAVA_HOME=${JAVA_HOME} \
38
SUB_LIST=	JAVA_HOME=${JAVA_HOME} \
39
		PORTNAME=${PORTNAME}
39
		PORTNAME=${PORTNAME}
40
40
41
.include <bsd.port.options.mk>
42
43
.if ${PORT_OPTIONS:MOPENJFX14}
44
OPENJFX14_JVM_OPTIONS=	-J--module-path=${LOCALBASE}/openjfx14/lib \
45
			-J--add-modules=javafx.swing,javafx.web
46
.endif
47
SUB_LIST+=	OPENJFX14_JVM_OPTIONS="${OPENJFX14_JVM_OPTIONS}"
48
41
.include <bsd.port.pre.mk>
49
.include <bsd.port.pre.mk>
42
50
43
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
51
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX})
44
IGNORE=	due to Oracle license restrictions, you must fetch the source \
52
IGNORE=	due to Oracle license restrictions, you must fetch the source \
45
distribution manually. Please access \
53
distribution manually. Please access \
46
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html \
54
https://www.oracle.com/tools/downloads/sqldev-downloads.html \
47
with a web browser and follow the link for the ${DISTFILES}. You will be \
55
with a web browser and follow the link for the ${DISTFILES}. You will be \
48
required to register and log in, but you can create an account on that \
56
required to register and log in, but you can create an account on that \
49
page. After registration and accepting the Oracle License, download the \
57
page. After registration and accepting the Oracle License, download the \
(-)databases/sqldeveloper/files/sqldeveloper.sh.in (-1 / +1 lines)
Lines 4-7 Link Here
4
#
4
#
5
5
6
cd %%DATADIR%%/%%PORTNAME%%/bin
6
cd %%DATADIR%%/%%PORTNAME%%/bin
7
JAVA_HOME="%%JAVA_HOME%%" exec %%LOCALBASE%%/bin/bash %%PORTNAME%% $*
7
JAVA_HOME="%%JAVA_HOME%%" exec %%LOCALBASE%%/bin/bash %%PORTNAME%% %%OPENJFX14_JVM_OPTIONS%% $*

Return to bug 250704