aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorcpm <cpm@FreeBSD.org>2017-04-20 01:16:18 +0800
committercpm <cpm@FreeBSD.org>2017-04-20 01:16:18 +0800
commit1cbb8a784616cf03aa11e0a794c26ba863d169ff (patch)
treeda8c7b2f6f923e0845fb8fc9f096588dd371598d /deskutils
parent5a61a161c95ed5cae546c08c5c02a928d51804e1 (diff)
downloadfreebsd-ports-gnome-1cbb8a784616cf03aa11e0a794c26ba863d169ff.tar.gz
freebsd-ports-gnome-1cbb8a784616cf03aa11e0a794c26ba863d169ff.tar.zst
freebsd-ports-gnome-1cbb8a784616cf03aa11e0a794c26ba863d169ff.zip
- Re-add for proper repo-copy
PR: 214285
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/projectlibre/Makefile42
-rw-r--r--deskutils/projectlibre/distinfo5
-rw-r--r--deskutils/projectlibre/files/projectlibre.sh.in10
-rw-r--r--deskutils/projectlibre/pkg-descr5
-rw-r--r--deskutils/projectlibre/pkg-plist7
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..0d03d446987a
--- /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 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 <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