summaryrefslogtreecommitdiff
path: root/deskutils/projectlibre/Makefile
blob: 0baf800ae36b4ed6e5ca0924dd4210411a1e2bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PORTNAME=	projectlibre
PORTVERSION=	1.9.3
CATEGORIES=	deskutils editors java
MASTER_SITES=	SF/${PORTNAME}/ProjectLibre/${PORTVERSION:S/.0$//} \
		LOCAL/cpm/projectlibre/:icons
DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
		${PORTNAME}.png:icons
DIST_SUBDIR=	${PORTNAME}
EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}

MAINTAINER=	joe@thrallingpenguin.com
COMMENT=	Open source desktop alternative to Microsoft Project
WWW=		https://www.projectlibre.com/product/1-alternative-microsoft-project-open-source

LICENSE=	CPAL-1.0

USE_JAVA=	yes

DATADIR=	${JAVASHAREDIR}/${PORTNAME}-${PORTVERSION}
DESKTOP_ENTRIES="ProjectLibre" \
		"" \
		"${PREFIX}/share/pixmaps/projectlibre.png" \
		"${PORTNAME}" \
		"Office;ProjectManagement;" \
		false
NO_ARCH=	yes
NO_BUILD=	yes
SUB_FILES=	projectlibre.sh

DATAFILES=	lib projectlibre.jar readme.html

do-install:
	cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATAFILES}" ${STAGEDIR}${DATADIR}
	${INSTALL_SCRIPT} ${WRKDIR}/projectlibre.sh ${STAGEDIR}${PREFIX}/bin/projectlibre
	${INSTALL_DATA} ${_DISTDIR}/projectlibre.png ${STAGEDIR}${PREFIX}/share/pixmaps

.include <bsd.port.mk>