aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/ganttproject
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-07-06 10:38:35 +0800
committerijliao <ijliao@FreeBSD.org>2004-07-06 10:38:35 +0800
commit730459317b35e09fd8077af09f25e9cfb5c0c00d (patch)
treec56ca7e193c55e2c3f5e8572673b2d8ec74b7f0f /deskutils/ganttproject
parentcff8bc825ece8812164d155886d9506e7a236e26 (diff)
downloadfreebsd-ports-gnome-730459317b35e09fd8077af09f25e9cfb5c0c00d.tar.gz
freebsd-ports-gnome-730459317b35e09fd8077af09f25e9cfb5c0c00d.tar.zst
freebsd-ports-gnome-730459317b35e09fd8077af09f25e9cfb5c0c00d.zip
re-import ganttproject 1.9.11
Plan projects using a Gantt chart
Diffstat (limited to 'deskutils/ganttproject')
-rw-r--r--deskutils/ganttproject/Makefile41
-rw-r--r--deskutils/ganttproject/distinfo2
-rw-r--r--deskutils/ganttproject/files/ganttproject3
-rw-r--r--deskutils/ganttproject/pkg-descr5
4 files changed, 51 insertions, 0 deletions
diff --git a/deskutils/ganttproject/Makefile b/deskutils/ganttproject/Makefile
new file mode 100644
index 000000000000..bb82990ad243
--- /dev/null
+++ b/deskutils/ganttproject/Makefile
@@ -0,0 +1,41 @@
+# ex:ts=8
+# Ports collection makefile for: ganttproject
+# Date created: Jul 6, 2004
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= ganttproject
+PORTVERSION= 1.9.11
+CATEGORIES= deskutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= -src.zip
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Plan projects using a Gantt chart
+
+BUILD_DEPENDS= ${ANT_CMD}:${PORTSDIR}/devel/apache-ant
+
+USE_ZIP= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+JAVA_BUILD= yes
+JAVA_RUN= yes
+ANT_CMD?= ${LOCALBASE}/bin/ant
+ANT= ${SETENV} JAVA_HOME=${JAVA_HOME} ${ANT_CMD}
+
+PLIST_FILES= bin/ganttproject %%JAVAJARDIR%%/ganttproject.jar
+
+post-patch:
+ @${SED} 's,%%JAVAJARDIR%%,${JAVAJARDIR},' ${FILESDIR}/${PORTNAME} > ${WRKSRC}/${PORTNAME}
+
+do-build:
+ @cd ${WRKSRC} && ${ANT}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/deskutils/ganttproject/distinfo b/deskutils/ganttproject/distinfo
new file mode 100644
index 000000000000..fcca3618ddd0
--- /dev/null
+++ b/deskutils/ganttproject/distinfo
@@ -0,0 +1,2 @@
+MD5 (ganttproject-1.9.11-src.zip) = 6bf6f999791ab8d23c90206ca9c1336c
+SIZE (ganttproject-1.9.11-src.zip) = 4562369
diff --git a/deskutils/ganttproject/files/ganttproject b/deskutils/ganttproject/files/ganttproject
new file mode 100644
index 000000000000..8ef9316c2de3
--- /dev/null
+++ b/deskutils/ganttproject/files/ganttproject
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+java -jar %%JAVAJARDIR%%/ganttproject.jar $@
diff --git a/deskutils/ganttproject/pkg-descr b/deskutils/ganttproject/pkg-descr
new file mode 100644
index 000000000000..5acca5c3728c
--- /dev/null
+++ b/deskutils/ganttproject/pkg-descr
@@ -0,0 +1,5 @@
+Ganttproject lets you plan projects using a Gantt chart. GanttProject use a XML
+file format. It can export the project in HTML Web pages or PDF document (using
+XSLT) or image files.
+
+WWW: http://ganttproject.sourceforge.net/