1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/deskutils/ganttproject/Makefile
2016-06-23 07:17:46 +00:00

40 lines
1.1 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= ganttproject
PORTVERSION= 2.7.1
PORTREVISION= 1
DISTVERSIONSUFFIX= -r1924
CATEGORIES= deskutils java
MASTER_SITES= https://dl.ganttproject.biz/${PORTNAME}-${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Gantt chart based project scheduling and management tool
LICENSE= GPLv3
NO_ARCH= yes
NO_BUILD= yes
USES= shebangfix zip
SHEBANG_FILES= ganttproject
bash_CMD= ${SH}
USE_JAVA= yes
JAVA_VERSION= 1.6+
INSTALLS_ICONS= yes
DESKTOP_ENTRIES="GanttProject" "" "ganttproject" "ganttproject" "" ""
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/ganttproject
${LN} -sf ../${DATADIR_REL}/ganttproject ${STAGEDIR}${PREFIX}/bin
.for i in 16 24 32 48 64
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
${LN} -sf ../../../../../${DATADIR_REL}/plugins/net.sourceforge.ganttproject/data/resources/logos/icon${i}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ganttproject.png
.endfor
.include <bsd.port.mk>