deskutils/ganttproject: Update to 2.8.10

- Assign to myself
- Clean up port
- Make start script executable again (broken in r478989)
- Do not install Windows/macOS files
- Do not install license file twice
- Update Java version to minimum recommended version

Changes:	https://github.com/bardsoftware/ganttproject/releases/tag/ganttproject-2.8.10
This commit is contained in:
Tobias Kortkamp 2019-04-17 14:23:05 +00:00
parent 0f3f096d99
commit c27f0d558e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=499177
3 changed files with 24 additions and 21 deletions

View File

@ -2,23 +2,24 @@
# $FreeBSD$
PORTNAME= ganttproject
DISTVERSION= 2.8.9
DISTVERSIONSUFFIX= -r2335
DISTVERSION= 2.8.10
DISTVERSIONSUFFIX= -r2364
CATEGORIES= deskutils java
MASTER_SITES= https://dl.ganttproject.biz/${PORTNAME}-${DISTVERSION}/
MASTER_SITES= https://dl.ganttproject.biz/ganttproject-${DISTVERSION}/ \
https://github.com/bardsoftware/ganttproject/releases/download/ganttproject-${DISTVERSION}/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= tobik@FreeBSD.org
COMMENT= Gantt chart based project scheduling and management tool
LICENSE= GPLv3
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= shebangfix zip
SHEBANG_FILES= ganttproject
bash_CMD= ${SH}
bash_CMD= /bin/sh
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_VERSION= 1.7+
NO_ARCH= yes
NO_BUILD= yes
@ -28,11 +29,11 @@ PLIST_SUB= DISTVERSION=${DISTVERSION}
DESKTOP_ENTRIES="GanttProject" "" "ganttproject" "ganttproject" "" ""
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
${LN} -sf ../${DATADIR_REL}/ganttproject ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
${CHMOD} ${BINMODE} ${WRKSRC}/ganttproject ${STAGEDIR}${DATADIR}
${RLN} ${STAGEDIR}${DATADIR}/ganttproject ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps
${RLN} ${STAGEDIR}${PREFIX}/${DATADIR_REL}/plugins-${DISTVERSION}/ganttproject/data/resources/icons/ganttproject.png \
${RLN} ${STAGEDIR}${DATADIR}/plugins-${DISTVERSION}/ganttproject/data/resources/icons/ganttproject.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps/ganttproject.png
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1536152558
SHA256 (ganttproject-2.8.9-r2335.zip) = 11f5b350b17cf40f2f6dc2d64cf08e89cb19829477fd4a1aa8e92011451af117
SIZE (ganttproject-2.8.9-r2335.zip) = 18307329
TIMESTAMP = 1555508649
SHA256 (ganttproject-2.8.10-r2364.zip) = 830c69754d3e61cae28e20e381987d28c837c58d6c08dcd705528ea8ea517d18
SIZE (ganttproject-2.8.10-r2364.zip) = 18304454

View File

@ -1,11 +1,11 @@
bin/ganttproject
%%DATADIR%%/HouseBuildingSample.gan
%%DATADIR%%/LICENSE
@comment %%DATADIR%%/LICENSE
%%DATADIR%%/eclipsito.jar
%%DATADIR%%/ganttproject
%%DATADIR%%/ganttproject.bat
%%DATADIR%%/ganttproject.command
%%DATADIR%%/ganttproject.exe
@comment %%DATADIR%%/ganttproject.bat
@comment %%DATADIR%%/ganttproject.command
@comment %%DATADIR%%/ganttproject.exe
%%DATADIR%%/lib/javagalician.jar
%%DATADIR%%/logging.properties
%%DATADIR%%/plugins-%%DISTVERSION%%/biz.ganttproject.core/biz.ganttproject.core.jar
@ -33,7 +33,10 @@ bin/ganttproject
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_ca_ontario.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_ca_quebec.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_ch.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_ch_zurich.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_cl.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_cn.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_co.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_cz.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_de.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_de_austria.calendar
@ -43,12 +46,11 @@ bin/ganttproject
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_en_australia_victoria.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_es.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_es_AR.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_es_cl.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_es_colombia.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_fr.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_hr.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_hu.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_il.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_in_maharashtra.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_it.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_ja_JP.calendar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/data/resources/calendar/i18n_ko_KR.calendar
@ -378,7 +380,7 @@ bin/ganttproject
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/lib/core/milton-api-2.7.4.4.jar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/lib/core/milton-client-2.7.4.4-bs.jar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/lib/core/slf4j-api-1.7.25.jar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/lib/core/slf4j-simple-1.7.25.jar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/lib/core/slf4j-jdk14-1.7.25.jar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/lib/core/swingx-1.6.4.jar
%%DATADIR%%/plugins-%%DISTVERSION%%/ganttproject/plugin.xml
%%DATADIR%%/plugins-%%DISTVERSION%%/org.ganttproject.chart.pert/org.ganttproject.chart.pert.jar