- Re-add for proper repo-copy

PR:		214285
This commit is contained in:
Carlos J. Puga Medina 2017-04-19 17:16:18 +00:00
parent b8e9fc254a
commit 7c23025071
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438895
6 changed files with 70 additions and 0 deletions

View File

@ -188,6 +188,7 @@
SUBDIR += plasma-applet-yawp
SUBDIR += plopfolio
SUBDIR += preferences
SUBDIR += projectlibre
SUBDIR += puush
SUBDIR += py-bugwarrior
SUBDIR += py-khal

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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