Changeset View
Changeset View
Standalone View
Standalone View
deskutils/ganttproject/Makefile
# Created by: ijliao | # Created by: ijliao | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= ganttproject | PORTNAME= ganttproject | ||||
PORTVERSION= 2.7.1 | DISTVERSION= 2.8.8 | ||||
PORTREVISION= 1 | DISTVERSIONSUFFIX= -r2308 | ||||
DISTVERSIONSUFFIX= -r1924 | |||||
CATEGORIES= deskutils java | CATEGORIES= deskutils java | ||||
MASTER_SITES= https://dl.ganttproject.biz/${PORTNAME}-${PORTVERSION}/ | MASTER_SITES= https://dl.ganttproject.biz/${PORTNAME}-${DISTVERSION}/ | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Gantt chart based project scheduling and management tool | COMMENT= Gantt chart based project scheduling and management tool | ||||
LICENSE= GPLv3 | LICENSE= GPLv3 | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | |||||
NO_ARCH= yes | NO_ARCH= yes | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
USES= shebangfix zip | USES= shebangfix zip | ||||
SHEBANG_FILES= ganttproject | SHEBANG_FILES= ganttproject | ||||
bash_CMD= ${SH} | bash_CMD= ${SH} | ||||
USE_JAVA= yes | USE_JAVA= yes | ||||
JAVA_VERSION= 1.6+ | JAVA_VERSION= 1.6+ | ||||
INSTALLS_ICONS= yes | |||||
DESKTOP_ENTRIES="GanttProject" "" "ganttproject" "ganttproject" "" "" | DESKTOP_ENTRIES="GanttProject" "" "ganttproject" "ganttproject" "" "" | ||||
do-install: | do-install: | ||||
@${MKDIR} ${STAGEDIR}${DATADIR} | @${MKDIR} ${STAGEDIR}${DATADIR} | ||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) | (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) | ||||
${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/ganttproject | |||||
${LN} -sf ../${DATADIR_REL}/ganttproject ${STAGEDIR}${PREFIX}/bin | ${LN} -sf ../${DATADIR_REL}/ganttproject ${STAGEDIR}${PREFIX}/bin | ||||
.for i in 16 24 32 48 64 | @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps | ||||
tcberner: ^ that looks like it could be simplified using ${RLN} | |||||
Not Done Inline ActionsThanks for pointing this out. It happens that the port was creating broken links for the icons since they pointed to an invalid path: root@10_4amd64-default:/usr/local/share/icons/hicolor/16x16/apps # file ganttproject.png ganttproject.png: broken symbolic link to ../../../../../share/ganttproject/plugins/net.sourceforge.ganttproject/data/resources/logos/icon16.png root@10_4amd64-default:/usr/local/share/icons/hicolor/16x16/apps # This case is not detected by the QA scripts. fernape: Thanks for pointing this out. It happens that the port was creating broken links for the icons… | |||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps | ${RLN} ${STAGEDIR}${PREFIX}/${DATADIR_REL}/plugins-2.8.8/ganttproject/data/resources/icons/ganttproject.png \ | ||||
${LN} -sf ../../../../../${DATADIR_REL}/plugins/net.sourceforge.ganttproject/data/resources/logos/icon${i}.png \ | ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps/ganttproject.png | ||||
${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ganttproject.png | |||||
.endfor | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
^ that looks like it could be simplified using ${RLN}