aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deskutils/ganttproject/Makefile5
-rw-r--r--deskutils/ganttproject/distinfo4
-rw-r--r--deskutils/ganttproject/files/ganttproject2
3 files changed, 6 insertions, 5 deletions
diff --git a/deskutils/ganttproject/Makefile b/deskutils/ganttproject/Makefile
index 31e02581ee8f..4c73391eceb5 100644
--- a/deskutils/ganttproject/Makefile
+++ b/deskutils/ganttproject/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= ganttproject
-PORTVERSION= 1.9.11
+PORTVERSION= 1.10.1
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -25,7 +25,8 @@ JAVA_RUN= yes
PLIST_FILES= bin/ganttproject %%JAVAJARDIR%%/ganttproject.jar
post-patch:
- @${SED} 's,%%JAVAJARDIR%%,${JAVAJARDIR},' ${FILESDIR}/${PORTNAME} > ${WRKSRC}/${PORTNAME}
+ @${SED} 's,%%JAVAJARDIR%%,${JAVAJARDIR},; \
+ s,%%JAVA%%,${JAVA},' ${FILESDIR}/${PORTNAME} > ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
diff --git a/deskutils/ganttproject/distinfo b/deskutils/ganttproject/distinfo
index fcca3618ddd0..032bad3e744c 100644
--- a/deskutils/ganttproject/distinfo
+++ b/deskutils/ganttproject/distinfo
@@ -1,2 +1,2 @@
-MD5 (ganttproject-1.9.11-src.zip) = 6bf6f999791ab8d23c90206ca9c1336c
-SIZE (ganttproject-1.9.11-src.zip) = 4562369
+MD5 (ganttproject-1.10.1-src.zip) = 9863143555dada42a09b024ecd77edfa
+SIZE (ganttproject-1.10.1-src.zip) = 5386722
diff --git a/deskutils/ganttproject/files/ganttproject b/deskutils/ganttproject/files/ganttproject
index 8ef9316c2de3..e87fda1cf7a7 100644
--- a/deskutils/ganttproject/files/ganttproject
+++ b/deskutils/ganttproject/files/ganttproject
@@ -1,3 +1,3 @@
#!/bin/sh
-java -jar %%JAVAJARDIR%%/ganttproject.jar $@
+%%JAVA%% -jar %%JAVAJARDIR%%/ganttproject.jar $@