2004-07-06 04:38:35 +02:00
|
|
|
PORTNAME= ganttproject
|
2021-05-30 05:24:28 +02:00
|
|
|
DISTVERSION= 3.1.3100
|
2006-04-03 17:02:43 +02:00
|
|
|
CATEGORIES= deskutils java
|
2021-05-30 05:24:28 +02:00
|
|
|
MASTER_SITES= https://github.com/bardsoftware/ganttproject/releases/download/ganttproject-${DISTVERSION}/ \
|
|
|
|
https://dl.ganttproject.biz/ganttproject-3.1.3100/
|
2004-07-06 04:38:35 +02:00
|
|
|
|
2021-05-30 05:24:28 +02:00
|
|
|
MAINTAINER= freebsd@ny-central.org
|
2014-02-04 10:43:09 +01:00
|
|
|
COMMENT= Gantt chart based project scheduling and management tool
|
2004-07-06 04:38:35 +02:00
|
|
|
|
2019-04-17 16:23:05 +02:00
|
|
|
LICENSE= GPLv3+
|
2018-09-04 22:44:28 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2006-04-03 17:02:43 +02:00
|
|
|
|
2021-05-30 05:24:28 +02:00
|
|
|
RUN_DEPENDS= openjfx14>=14:java/openjfx14
|
|
|
|
|
2020-04-23 06:01:00 +02:00
|
|
|
USES= desktop-file-utils shebangfix zip
|
|
|
|
USE_JAVA= yes
|
2021-05-30 05:24:28 +02:00
|
|
|
JAVA_VERSION= 11+
|
2014-02-04 10:43:09 +01:00
|
|
|
SHEBANG_FILES= ganttproject
|
2019-04-17 16:23:05 +02:00
|
|
|
bash_CMD= /bin/sh
|
2018-09-04 22:44:28 +02:00
|
|
|
|
2018-09-07 17:54:50 +02:00
|
|
|
NO_ARCH= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PLIST_SUB= DISTVERSION=${DISTVERSION}
|
|
|
|
|
2021-05-30 05:24:28 +02:00
|
|
|
post-extract:
|
|
|
|
${RM} ${WRKSRC}/ganttproject.exe
|
|
|
|
${RM} ${WRKSRC}/ganttproject.bat
|
|
|
|
${RM} ${WRKSRC}/ganttproject.command
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's@$$PREFIX@${PREFIX}@g' ${WRKSRC}/ganttproject
|
|
|
|
|
2004-07-06 04:38:35 +02:00
|
|
|
do-install:
|
2020-04-23 06:01:00 +02:00
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
|
2019-04-17 16:23:05 +02:00
|
|
|
${RLN} ${STAGEDIR}${DATADIR}/ganttproject ${STAGEDIR}${PREFIX}/bin
|
2018-09-04 22:44:28 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps
|
2021-05-30 05:24:28 +02:00
|
|
|
${RLN} ${STAGEDIR}${DATADIR}/plugins/base/ganttproject/resources/icons/ganttproject.png \
|
2018-09-04 22:44:28 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps/ganttproject.png
|
2020-04-23 06:01:00 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/ganttproject.desktop \
|
|
|
|
${STAGEDIR}${PREFIX}/share/applications
|
2004-07-06 04:38:35 +02:00
|
|
|
|
2014-02-04 10:43:09 +01:00
|
|
|
.include <bsd.port.mk>
|