diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-03-30 18:20:16 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-03-30 18:20:16 +0000 |
commit | cb288343420b06e9b50c69d305016c32305175d3 (patch) | |
tree | b63ad5a539cd14e7182e18c08d5542f673f3edc1 /deskutils | |
parent | dbfd738360e2d7ac04748cdef2ee0b5db80fbd27 (diff) | |
download | ports-cb288343420b06e9b50c69d305016c32305175d3.tar.gz ports-cb288343420b06e9b50c69d305016c32305175d3.zip |
Add taskjuggler, a project management tool for Linux and UNIX
system-based operating systems. Instead of clicking yourself painfully through
hundreds of dialog boxes you specify your Taskjuggler project in a simple text
format. You simply list all your tasks and their dependencies. The information
is sent through Taskjuggler and you will get all sorts of reports in HTML or
XML format.
PR: ports/63342
Submitted by: Dean Povey <povey@wedgetail.com>
Notes
Notes:
svn path=/head/; revision=105719
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/taskjuggler/Makefile | 45 | ||||
-rw-r--r-- | deskutils/taskjuggler/distinfo | 2 | ||||
-rw-r--r-- | deskutils/taskjuggler/files/ktjview-plist.mk | 14 | ||||
-rw-r--r-- | deskutils/taskjuggler/files/patch-Testsuite-testdir | 19 | ||||
-rw-r--r-- | deskutils/taskjuggler/files/patch-tjx2gantt | 103 | ||||
-rw-r--r-- | deskutils/taskjuggler/pkg-descr | 11 | ||||
-rw-r--r-- | deskutils/taskjuggler/pkg-plist | 44 |
8 files changed, 239 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index 329eacf03ff5..bd891138b8f1 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -90,6 +90,7 @@ SUBDIR += sliderule SUBDIR += splashsetter SUBDIR += superkaramba + SUBDIR += taskjuggler SUBDIR += teapot SUBDIR += tuxcards SUBDIR += wmpinboard diff --git a/deskutils/taskjuggler/Makefile b/deskutils/taskjuggler/Makefile new file mode 100644 index 000000000000..638715be588f --- /dev/null +++ b/deskutils/taskjuggler/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: taskjuggler +# Date created: 23 February 2004 +# Whom: Dean Povey <povey@wedgetail.com> +# +# $FreeBSD$ +# + +PORTNAME= taskjuggler +PORTVERSION= 2.0 +CATEGORIES= deskutils +MASTER_SITES= http://www.taskjuggler.org/download/ + +MAINTAINER= povey@wedgetail.com +COMMENT= A project management tool for UNIX based operating systems + +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \ + ${SITE_PERL}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker \ + ${SITE_PERL}/PostScript/Simple.pm:${PORTSDIR}/print/p5-PostScript-Simple \ + ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \ + poster:${PORTSDIR}/print/poster \ + xsltproc:${PORTSDIR}/textproc/libxslt + +OPTIONS= KTJVIEW "Build KDE KTJView program (Requires KDE)" off + +USE_BZIP2= yes +USE_QT_VER= 3 +USE_PERL5_RUN= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib" +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +.include <bsd.port.pre.mk> + +.if defined(WITH_KTJVIEW) +LIB_DEPENDS+= kwalletbackend:${PORTSDIR}/x11/kdelibs3 +CONFIGURE_ARGS+= --with-kde-support=yes +.include "files/ktjview-plist.mk" +.endif + +post-patch: + @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ + ${REINPLACE_CMD} -e 's|share/doc/packages/|share/doc/|g' + +.include <bsd.port.post.mk> diff --git a/deskutils/taskjuggler/distinfo b/deskutils/taskjuggler/distinfo new file mode 100644 index 000000000000..c902ce1a130c --- /dev/null +++ b/deskutils/taskjuggler/distinfo @@ -0,0 +1,2 @@ +MD5 (taskjuggler-2.0.tar.bz2) = bde3128d93595de5fc430f26a25d85e6 +SIZE (taskjuggler-2.0.tar.bz2) = 889124 diff --git a/deskutils/taskjuggler/files/ktjview-plist.mk b/deskutils/taskjuggler/files/ktjview-plist.mk new file mode 100644 index 000000000000..c484d48e7bcd --- /dev/null +++ b/deskutils/taskjuggler/files/ktjview-plist.mk @@ -0,0 +1,14 @@ +PLIST_FILES+= bin/ktjview \ + lib/kde3/libktjviewpart.so \ + lib/kde3/libktjviewpart.la \ + share/icons/hicolor/16x16/apps/ktjview.png \ + share/icons/hicolor/32x32/apps/ktjview.png \ + share/icons/hicolor/48x48/apps/ktjview.png \ + share/icons/locolor/16x16/apps/ktjview.png \ + share/icons/locolor/32x32/apps/ktjview.png \ + share/services/ktjview.desktop \ + share/apps/ktjviewpart/ktjview_part.rc \ + share/apps/ktjview/ktjview_shell.rc \ + +PLIST_DIRS+= share/apps/ktjviewpart \ + share/apps/ktjview diff --git a/deskutils/taskjuggler/files/patch-Testsuite-testdir b/deskutils/taskjuggler/files/patch-Testsuite-testdir new file mode 100644 index 000000000000..21b8edb7c22c --- /dev/null +++ b/deskutils/taskjuggler/files/patch-Testsuite-testdir @@ -0,0 +1,19 @@ +*** TestSuite/testdir Mon Feb 23 13:10:52 2004 +--- TestSuite/testdir.patch Mon Feb 23 13:11:05 2004 +*************** +*** 12,18 **** + export TASKJUGGLER=../$TASKJUGGLER + fi + +! function do_testing + { + f=$1 + op=$2 +--- 12,18 ---- + export TASKJUGGLER=../$TASKJUGGLER + fi + +! do_testing() + { + f=$1 + op=$2 diff --git a/deskutils/taskjuggler/files/patch-tjx2gantt b/deskutils/taskjuggler/files/patch-tjx2gantt new file mode 100644 index 000000000000..5161f99d5407 --- /dev/null +++ b/deskutils/taskjuggler/files/patch-tjx2gantt @@ -0,0 +1,103 @@ +--- tjx2gantt/tjx2gantt Mon Jul 14 22:31:53 2003 ++++ tjx2gantt/tjx2gantt.patch Wed Feb 25 09:07:00 2004 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!/usr/bin/perl -w + # + # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + # !!! This Software is __ALPHA__ !!! +@@ -18,12 +18,10 @@ + $| = 1; + + use strict; +-use warnings; + + package tjTask; + + use strict; +- use warnings; + use Class::MethodMaker + new_hash_init => 'new', + get_set => [ qw(Index ProjectID complete Priority Type Id Name ParentTask +@@ -393,10 +391,10 @@ + my ($x2, $y2) = _trans_coord($_x2, $_y2); + #-- balken + $p->setcolour(222,222,222); +- $p->box($x1, $y1, $x2, $y2, 1); ++ $p->box({ filled => 1 }, $x1, $y1, $x2, $y2); + #-- rahmen drum + $p->setcolour(0,0,0); +- $p->box($x1, $y1, $x2, $y2, 0); ++ $p->box({ filled => 0 }, $x1, $y1, $x2, $y2); + #-- linie dazwischen + my $l_y = $y2+($task_space/2)-($task_height/2); + $p->line($page_border+5, $l_y, $page_x-($page_border*2), $l_y ); +@@ -458,35 +456,35 @@ + if ( Delta_Days($today_year, $today_month, $today_day, $end_year, $end_month, $end_day) < 0 ) { + if ( $persent < 100 ) { + $p->setcolour(255,0,0); +- $p->box($x1, $y1, $x2, $y2, 1); ++ $p->box({ filled => 1 }, $x1, $y1, $x2, $y2); + } + } else { + $p->setcolour(255,255,255); +- $p->box($x1, $y1, $x2, $y2, 1); ++ $p->box({ filled => 1 }, $x1, $y1, $x2, $y2); + } + #-- buffer balken pinseln + if ( $task->startBuffer ) { + my $buf = $task->startBuffer; + my ($buf_length, $d) = _trans_coord($_x1 + (($task_length/100*$buf) * $day_x), 0); + $p->setcolour(222,222,222); +- $p->box($x1, $y1, $buf_length, $y2, 1); ++ $p->box({ filled => 1 }, $x1, $y1, $buf_length, $y2); + } + if ( $task->endBuffer ) { + my $buf = $task->endBuffer; + my ($buf_length, $d) = _trans_coord($_x2 - (($task_length/100*$buf) * $day_x), 0); + $p->setcolour(222,222,222); +- $p->box($buf_length, $y1, $x2, $y2, 1); ++ $p->box({ filled => 1 }, $buf_length, $y1, $x2, $y2); + } + #-- länge von % feritg balken + my ($per_length, $d) = _trans_coord($_x1 + (($task_length/100*$persent) * $day_x), 0); + #-- % done balken pinseln + if ($persent > 0) { + $p->setcolour(0,255,0); +- $p->box($x1, $y1, $per_length, $y2, 1); ++ $p->box({ filled => 1 }, $x1, $y1, $per_length, $y2); + } + #-- rahmen um den task + $p->setcolour(0,0,0); +- $p->box($x1, $y1, $x2, $y2, 0); ++ $p->box({ filled => 0 }, $x1, $y1, $x2, $y2); + #-- text + $task->label($name); + $task->label_x($x1+1); +@@ -494,7 +492,7 @@ + } + if ( $task->Type eq 'Container' ) { + $p->setcolour(0,0,0); +- $p->box($x1-1, $y1, $x2+1, $y2+($task_height/1.2), 1); ++ $p->box({ filled => 1 }, $x1-1, $y1, $x2+1, $y2+($task_height/1.2)); + #-- pfeil vorn + $p->polygon( + $x1+1, $y2+($task_height/1.2), +@@ -517,7 +515,7 @@ + if ( $task->Type eq 'Milestone' ) { + $p->setcolour(0,0,0); + my ($x, $y) = _trans_coord($_x1, $_y1+($task_height/2)); +- $p->circle($x, $y, 1, 1); ++ $p->circle({ filled => 1 }, $x, $y, 1); + $p->setfont("Helvetica", 6); + my $am = sprintf('%02d', $start_month); + my $ad = sprintf('%02d', $start_day); +@@ -585,7 +583,7 @@ + my $h_month_week = 3; + my ($_x, $_y) = ($i*$day_x, $day_x*$h_month_week); + my ($x, $y) = _trans_coord($_x, $_y); +- $p->box($x, $y, $x+$day_x, $page_border, 1); ++ $p->box({ filled => 1 }, $x, $y, $x+$day_x, $page_border); + #-- die linien haben unterschiedliche höhe + #-- is es ein wochen-anfang + if ( $act_dow == 1 ) { diff --git a/deskutils/taskjuggler/pkg-descr b/deskutils/taskjuggler/pkg-descr new file mode 100644 index 000000000000..773e2037bb00 --- /dev/null +++ b/deskutils/taskjuggler/pkg-descr @@ -0,0 +1,11 @@ +This is a port of Taskjuggler, a project management tool for Linux and UNIX +system-based operating systems. Instead of clicking yourself painfully through +hundreds of dialog boxes you specify your Taskjuggler project in a simple text +format. You simply list all your tasks and their dependencies. The information +is sent through Taskjuggler and you will get all sorts of reports in HTML or +XML format. + +WWW: http://www.taskjuggler.org/ + +- Dean Povey +povey@wedgetail.com diff --git a/deskutils/taskjuggler/pkg-plist b/deskutils/taskjuggler/pkg-plist new file mode 100644 index 000000000000..d3bda0de7bcd --- /dev/null +++ b/deskutils/taskjuggler/pkg-plist @@ -0,0 +1,44 @@ +bin/taskjuggler +share/doc/taskjuggler/Examples/FirstProject/Accounting.html +share/doc/taskjuggler/Examples/FirstProject/Calendar.html +share/doc/taskjuggler/Examples/FirstProject/Staff-Details.html +share/doc/taskjuggler/Examples/FirstProject/Staff-Overview.html +share/doc/taskjuggler/Examples/FirstProject/Status-Report.html +share/doc/taskjuggler/Examples/FirstProject/Tasks-Details.html +share/doc/taskjuggler/Examples/FirstProject/Tasks-Overview.html +share/doc/taskjuggler/Examples/FirstProject/AccountingSoftware.tjp +share/doc/taskjuggler/Examples/FirstProject/AccountingSoftware.tjx +share/doc/taskjuggler/Examples/BigProject/Common/Resources.tjsp +share/doc/taskjuggler/Examples/BigProject/Project1/Project1.html +share/doc/taskjuggler/Examples/BigProject/Project1/Project1.tjp +share/doc/taskjuggler/Examples/BigProject/Project1/Project1-Interface.tjsp +share/doc/taskjuggler/Examples/BigProject/Project2/Project2.html +share/doc/taskjuggler/Examples/BigProject/Project2/Project2.tjp +share/doc/taskjuggler/Examples/BigProject/README +share/doc/taskjuggler/Examples/ShiftSchedule/Calendar-anders.html +share/doc/taskjuggler/Examples/ShiftSchedule/Calendar-joe.html +share/doc/taskjuggler/Examples/ShiftSchedule/Calendar-khaled.html +share/doc/taskjuggler/Examples/ShiftSchedule/Calendar-paul.html +share/doc/taskjuggler/Examples/ShiftSchedule/Calendar-sally.html +share/doc/taskjuggler/Examples/ShiftSchedule/ResourceUsage-Jun.html +share/doc/taskjuggler/Examples/ShiftSchedule/ShiftTimes-06-03.html +share/doc/taskjuggler/Examples/ShiftSchedule/ShiftTimes-06-10.html +share/doc/taskjuggler/Examples/ShiftSchedule/TaskCoverage-Jun.html +share/doc/taskjuggler/Examples/ShiftSchedule/ShiftSchedule.tjp +bin/tjx2gantt +share/doc/taskjuggler/tjx2gantt/README +share/doc/taskjuggler/tjx2gantt/BUGS +share/doc/taskjuggler/tjx2gantt/TODO +share/doc/taskjuggler/tjx2gantt/testProject.tjp +share/doc/taskjuggler/Examples/FirstProject/acso.eps +share/doc/taskjuggler/Examples/FirstProject/acso_poster.eps +@dirrm share/doc/taskjuggler/Examples/FirstProject +@dirrm share/doc/taskjuggler/Examples/BigProject/Common +@dirrm share/doc/taskjuggler/Examples/BigProject/Project1 +@dirrm share/doc/taskjuggler/Examples/BigProject/Project2 +@dirrm share/doc/taskjuggler/Examples/BigProject +@dirrm share/doc/taskjuggler/Examples/ShiftSchedule +@dirrm share/doc/taskjuggler/Examples +@dirrm share/doc/taskjuggler/manual +@dirrm share/doc/taskjuggler/tjx2gantt +@dirrm share/doc/taskjuggler |