From 7c23025071128381b6220ccecef01fcbfe272faa Mon Sep 17 00:00:00 2001 From: "Carlos J. Puga Medina" Date: Wed, 19 Apr 2017 17:16:18 +0000 Subject: [PATCH] - Re-add for proper repo-copy PR: 214285 --- deskutils/Makefile | 1 + deskutils/projectlibre/Makefile | 42 +++++++++++++++++++ deskutils/projectlibre/distinfo | 5 +++ .../projectlibre/files/projectlibre.sh.in | 10 +++++ deskutils/projectlibre/pkg-descr | 5 +++ deskutils/projectlibre/pkg-plist | 7 ++++ 6 files changed, 70 insertions(+) create mode 100644 deskutils/projectlibre/Makefile create mode 100644 deskutils/projectlibre/distinfo create mode 100644 deskutils/projectlibre/files/projectlibre.sh.in create mode 100644 deskutils/projectlibre/pkg-descr create mode 100644 deskutils/projectlibre/pkg-plist 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..0d03d446987a --- /dev/null +++ b/deskutils/projectlibre/Makefile @@ -0,0 +1,42 @@ +# Created by: Joseph Benden +# $FreeBSD$ + +PORTNAME= projectlibre +PORTVERSION= 1.7.0 +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 + +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 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