diff options
author | cpm <cpm@FreeBSD.org> | 2017-04-19 23:50:45 +0800 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2017-04-19 23:50:45 +0800 |
commit | 0879ae38e342a6592105e831a560e257e005981b (patch) | |
tree | f13ea415591a1220948744a8d67e5ac684f420c7 /deskutils | |
parent | 6a81f554cb6afa8a444d2551fd46eff08c8ccc02 (diff) | |
download | freebsd-ports-gnome-0879ae38e342a6592105e831a560e257e005981b.tar.gz freebsd-ports-gnome-0879ae38e342a6592105e831a560e257e005981b.tar.zst freebsd-ports-gnome-0879ae38e342a6592105e831a560e257e005981b.zip |
Add new port deskutils/projectlibre
ProjectLibre is an open source project management software. It intends
to be a complete desktop replacement for Microsoft Project. ProjectLibre
is compatible with Microsoft Project 2003, 2007 and 2010 files.
WWW: http://www.projectlibre.org/product/projectlibre-open-source
PR: 214285
Submitted by: Joseph Benden <joe@thrallingpenguin.com>
Reviewed by: danfe
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/projectlibre/Makefile | 42 | ||||
-rw-r--r-- | deskutils/projectlibre/distinfo | 5 | ||||
-rw-r--r-- | deskutils/projectlibre/files/projectlibre.sh.in | 10 | ||||
-rw-r--r-- | deskutils/projectlibre/pkg-descr | 5 | ||||
-rw-r--r-- | deskutils/projectlibre/pkg-plist | 7 |
6 files changed, 70 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index 41cfa473c46c..d60527833261 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -188,6 +188,7 @@ SUBDIR += plasma-applet-yawp SUBDIR += plopfolio SUBDIR += preferences + SUBDIR += projectlibre SUBDIR += puush SUBDIR += py-bugwarrior SUBDIR += py-khal diff --git a/deskutils/projectlibre/Makefile b/deskutils/projectlibre/Makefile new file mode 100644 index 000000000000..f09c249251d8 --- /dev/null +++ b/deskutils/projectlibre/Makefile @@ -0,0 +1,42 @@ +# Created by: Joseph Benden <joe@thrallingpenguin.com> +# $FreeBSD$ + +PORTNAME= projectlibre +PORTVERSION= 1.7.0 +CATEGORIES= deskutils 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 + +LICENSE= CPAL-1.0 + +USE_JAVA= yes +JAVA_VERSION= 1.6+ + +NO_ARCH= yes +NO_BUILD= yes + +DATADIR= ${JAVASHAREDIR}/${PORTNAME}-${PORTVERSION} +DATAFILES= lib projectlibre.jar readme.html + +DESKTOP_ENTRIES="ProjectLibre" \ + "" \ + "${PREFIX}/share/pixmaps/projectlibre.png" \ + "${PORTNAME}" \ + "Office;ProjectManagement;" \ + false + +SUB_FILES= projectlibre.sh + +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> diff --git a/deskutils/projectlibre/distinfo b/deskutils/projectlibre/distinfo new file mode 100644 index 000000000000..8c147a2cd0df --- /dev/null +++ b/deskutils/projectlibre/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1492614103 +SHA256 (projectlibre/projectlibre-1.7.0.tar.gz) = abc5a7dd96da28696902779eb3ee1390800298525651a172f0e927bb3c822241 +SIZE (projectlibre/projectlibre-1.7.0.tar.gz) = 15215610 +SHA256 (projectlibre/projectlibre.png) = e47c00710f67e0e07a5baa7fa3ad12ff13c709867f910fd3ce2831764399b36e +SIZE (projectlibre/projectlibre.png) = 8070 diff --git a/deskutils/projectlibre/files/projectlibre.sh.in b/deskutils/projectlibre/files/projectlibre.sh.in new file mode 100644 index 000000000000..c19dbf183f86 --- /dev/null +++ b/deskutils/projectlibre/files/projectlibre.sh.in @@ -0,0 +1,10 @@ +#!/bin/sh +# +# $FreeBSD$ + +PROJECTLIBRE_HOME="%%DATADIR%%" +export PROJECTLIBRE_HOME +cd "%%DATADIR%%" +JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -jar "$PROJECTLIBRE_HOME/projectlibre.jar" "$@" > /dev/null 2>&1 + +# eof diff --git a/deskutils/projectlibre/pkg-descr b/deskutils/projectlibre/pkg-descr new file mode 100644 index 000000000000..ca16b02d4372 --- /dev/null +++ b/deskutils/projectlibre/pkg-descr @@ -0,0 +1,5 @@ +ProjectLibre is an open source project management software. It intends +to be a complete desktop replacement for Microsoft Project. ProjectLibre +is compatible with Microsoft Project 2003, 2007 and 2010 files. + +WWW: http://www.projectlibre.org/product/projectlibre-open-source diff --git a/deskutils/projectlibre/pkg-plist b/deskutils/projectlibre/pkg-plist new file mode 100644 index 000000000000..c81cce1286ff --- /dev/null +++ b/deskutils/projectlibre/pkg-plist @@ -0,0 +1,7 @@ +bin/projectlibre +%%DATADIR%%/lib/openproj-contrib.jar +%%DATADIR%%/lib/openproj-reports.jar +%%DATADIR%%/lib/openproj-script.jar +%%DATADIR%%/projectlibre.jar +%%DATADIR%%/readme.html +share/pixmaps/projectlibre.png |