graphics/jogamp-jogl:

- Switch to x11-toolkits/swt which is newer than swt-devel port

PR:	219186
This commit is contained in:
Max Brazhnikov 2019-08-12 23:28:41 +00:00
parent 7d13de561d
commit fe6ed73e7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=508801
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= jogamp-jogl
PORTVERSION= 2.2.4
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= graphics devel java
MASTER_SITES= http://jogamp.org/deployment/jogamp-current/archive/Sources/ \
http://jogamp.org/deployment/v${PORTVERSION}/archive/Sources/
@ -14,8 +14,8 @@ MAINTAINER= makc@FreeBSD.org
COMMENT= Java bindings for OpenGL
EXTRACT_DEPENDS= ${7Z_CMD}:archivers/p7zip
BUILD_DEPENDS= ${JAVALIBDIR}/swt-devel.jar:x11-toolkits/swt-devel
RUN_DEPENDS= ${JAVALIBDIR}/swt-devel.jar:x11-toolkits/swt-devel
BUILD_DEPENDS= ${JAVALIBDIR}/swt.jar:x11-toolkits/swt
RUN_DEPENDS= ${JAVALIBDIR}/swt.jar:x11-toolkits/swt
ONLY_FOR_ARCHS= i386 amd64

View file

@ -6,7 +6,7 @@
</condition>
- <condition property="swt.jar" value="${project.root}/make/lib/swt/gtk-freebsd-x86_64/swt.jar">
- <istrue value="${isFreeBSDAMD64}" />
+ <condition property="swt.jar" value="%%JAVALIBDIR%%/swt-devel.jar">
+ <condition property="swt.jar" value="%%JAVALIBDIR%%/swt.jar">
+ <istrue value="${isFreeBSD}" />
</condition>
<condition property="swt.jar" value="${project.root}/make/lib/swt/gtk-linux-x86_64/swt-debug.jar">