1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update to 1.1.5

PR:		ports/100105
Submitted by:	maintainer
This commit is contained in:
Ion-Mihai Tetcu 2006-07-11 20:23:11 +00:00
parent e8f5865c29
commit 9b2d57aa06
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167533
4 changed files with 16 additions and 11 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= jdraw
PORTVERSION= 1.1.4
PORTVERSION= 1.1.5
CATEGORIES= graphics java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -24,7 +24,7 @@ OPTIONS= PLASTIC3D "Use Plastic3DLook&Feel" on
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= ${PORTNAME}
SUB_LIST= JAVA=${JAVA} JAVAJARDIR=${JAVAJARDIR} JDRAWJAR=${JDRAWJAR} PLASTIC3D=${PLASTIC3D}
SUB_LIST= JAVA_VERSION=${JAVA_VERSION} JDRAWJAR=${JDRAWJAR} PLASTIC3D=${PLASTIC3D}
JDRAWJAR= ${DATADIR}/${DISTFILES}

View File

@ -1,3 +1,3 @@
MD5 (jdraw_v1.1.4.jar) = ad8942da9873ddea09094245cd820c02
SHA256 (jdraw_v1.1.4.jar) = c59d46942d25535d1581ee8d5091f8dd4679559bdc81aba7a078c4460859cd7e
SIZE (jdraw_v1.1.4.jar) = 672892
MD5 (jdraw_v1.1.5.jar) = 16282b9a7863cf5660451327334bde12
SHA256 (jdraw_v1.1.5.jar) = 4bc17505ee86644789e6d93ee6ebdfb5de0e4e4f4b7f63e4c83ffcd49d78d284
SIZE (jdraw_v1.1.5.jar) = 705527

View File

@ -1,9 +1,14 @@
#!/bin/sh
# $FreeBSD$
if [ -z "$1" ]; then
LOOK_AND_FEEL="%%PLASTIC3D%%"
else
LOOK_AND_FEEL="$1"
if [ -z "${JAVA_VERSION}" ]; then
JAVA_VERSION="%%JAVA_VERSION%%"
fi
%%JAVA%% -cp %%JAVAJARDIR%% ${LOOK_AND_FEEL} -jar %%JDRAWJAR%%
if [ "${JAVA_VERSION}" \> "1.4" ]; then
LOOK_AND_FEEL="%%PLASTIC3D%%"
else
LOOK_AND_FEEL=
fi
exec "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%" ${LOOK_AND_FEEL} -jar "%%JDRAWJAR%%" "$@"

View File

@ -1,4 +1,4 @@
@comment $FreeBSD$
bin/jdraw
%%JAVASHAREDIR%%/jdraw/jdraw_v1.1.4.jar
%%JAVASHAREDIR%%/jdraw/jdraw_v1.1.5.jar
@dirrm %%JAVASHAREDIR%%/jdraw