aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-07-06 02:07:06 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-07-06 02:07:06 +0000
commitddff1e2b351d28267e4799423f52ecf0b24163a8 (patch)
treeed16ce9d8c266ca6974f5f5f1e127ecb25abe3d8
parent19fbae101e346f3ad3ca8532f85c8a6786e9deca (diff)
downloadports-ddff1e2b351d28267e4799423f52ecf0b24163a8.tar.gz
ports-ddff1e2b351d28267e4799423f52ecf0b24163a8.zip
Notes
-rw-r--r--misc/Makefile1
-rw-r--r--misc/ganttproject/Makefile41
-rw-r--r--misc/ganttproject/distinfo2
-rw-r--r--misc/ganttproject/files/ganttproject3
-rw-r--r--misc/ganttproject/pkg-descr5
5 files changed, 52 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 8c7686c15f20..3667fb434e29 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -94,6 +94,7 @@
SUBDIR += ftdi-eeprom
SUBDIR += ftree
SUBDIR += gaim-guifications
+ SUBDIR += ganttproject
SUBDIR += gctpc
SUBDIR += geekcode
SUBDIR += getopt
diff --git a/misc/ganttproject/Makefile b/misc/ganttproject/Makefile
new file mode 100644
index 000000000000..cb2f681179c4
--- /dev/null
+++ b/misc/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= misc
+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/misc/ganttproject/distinfo b/misc/ganttproject/distinfo
new file mode 100644
index 000000000000..fcca3618ddd0
--- /dev/null
+++ b/misc/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/misc/ganttproject/files/ganttproject b/misc/ganttproject/files/ganttproject
new file mode 100644
index 000000000000..8ef9316c2de3
--- /dev/null
+++ b/misc/ganttproject/files/ganttproject
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+java -jar %%JAVAJARDIR%%/ganttproject.jar $@
diff --git a/misc/ganttproject/pkg-descr b/misc/ganttproject/pkg-descr
new file mode 100644
index 000000000000..5acca5c3728c
--- /dev/null
+++ b/misc/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/