Add opensched 0.1.0, a project scheduler.
PR: 24758 Submitted by: Daniel McRobb <dwm@caimis.com>
This commit is contained in:
parent
f6bbbcac90
commit
2ee7b7621d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39519
@ -79,6 +79,7 @@
|
||||
SUBDIR += nl-ispell
|
||||
SUBDIR += no-ispell
|
||||
SUBDIR += openjade
|
||||
SUBDIR += opensched
|
||||
SUBDIR += p5-DelimMatch
|
||||
SUBDIR += p5-PDF-Create
|
||||
SUBDIR += p5-Sort-ArbBiLex
|
||||
|
22
textproc/opensched/Makefile
Normal file
22
textproc/opensched/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# New ports collection makefile for: opensched
|
||||
# Date created: 31 January 2001
|
||||
# Whom: Daniel McRobb <dwm@caimis.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= opensched
|
||||
PORTVERSION= 0.1.0
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://www.m-tech.ab.ca/download/sched/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= dwm@caimis.com
|
||||
|
||||
BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX
|
||||
|
||||
USE_GMAKE= yes
|
||||
|
||||
MAN1= opensched.1
|
||||
|
||||
.include <bsd.port.mk>
|
1
textproc/opensched/distinfo
Normal file
1
textproc/opensched/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (opensched-0.1.0.tar.gz) = 5e8f40efdec4a71b4ccdd0128527983d
|
79
textproc/opensched/files/patch-aa
Normal file
79
textproc/opensched/files/patch-aa
Normal file
@ -0,0 +1,79 @@
|
||||
*** Makefile.orig Tue Nov 16 04:02:39 1999
|
||||
--- Makefile Wed Jan 31 14:51:57 2001
|
||||
***************
|
||||
*** 13,26 ****
|
||||
|
||||
build: opensched manpage
|
||||
|
||||
! all: opensched printman test sample
|
||||
|
||||
BINDIR=/usr/local/bin
|
||||
MANDIR=/usr/local/man/man1
|
||||
|
||||
install: opensched manpage
|
||||
! install -o root -g root -m 755 opensched $(BINDIR)
|
||||
! install -o root -g root -m 755 doc/opensched.1 $(MANDIR)
|
||||
|
||||
browseman: manpage
|
||||
groff -t -man -Tlatin1 doc/opensched.1 | less
|
||||
--- 13,26 ----
|
||||
|
||||
build: opensched manpage
|
||||
|
||||
! all: opensched printman test
|
||||
|
||||
BINDIR=/usr/local/bin
|
||||
MANDIR=/usr/local/man/man1
|
||||
|
||||
install: opensched manpage
|
||||
! install -o root -g 0 -m 755 src/opensched $(BINDIR)
|
||||
! install -o root -g 0 -m 755 doc/opensched.1 $(MANDIR)
|
||||
|
||||
browseman: manpage
|
||||
groff -t -man -Tlatin1 doc/opensched.1 | less
|
||||
***************
|
||||
*** 33,42 ****
|
||||
|
||||
opensched: dummy
|
||||
# opensched:
|
||||
! (cd src; make opensched)
|
||||
|
||||
gcc-dos: dummy
|
||||
! pushd src; make gcc-dos; popd
|
||||
|
||||
backup: veryclean
|
||||
/bin/rm -rf opensched-`cat VERSION`
|
||||
--- 33,42 ----
|
||||
|
||||
opensched: dummy
|
||||
# opensched:
|
||||
! (cd src; ${MAKE} opensched)
|
||||
|
||||
gcc-dos: dummy
|
||||
! pushd src; ${MAKE} gcc-dos; popd
|
||||
|
||||
backup: veryclean
|
||||
/bin/rm -rf opensched-`cat VERSION`
|
||||
***************
|
||||
*** 66,75 ****
|
||||
/bin/chmod 755 `find . -type d -or -name '*.sh' -or -name opensched`
|
||||
|
||||
test: opensched dummy
|
||||
! (cd test; make test)
|
||||
|
||||
sample: opensched dummy
|
||||
! (cd sample; make sample)
|
||||
|
||||
dummy:
|
||||
|
||||
--- 66,75 ----
|
||||
/bin/chmod 755 `find . -type d -or -name '*.sh' -or -name opensched`
|
||||
|
||||
test: opensched dummy
|
||||
! (cd test; ${MAKE} test)
|
||||
|
||||
sample: opensched dummy
|
||||
! (cd sample; ${MAKE} sample)
|
||||
|
||||
dummy:
|
||||
|
13
textproc/opensched/files/patch-ab
Normal file
13
textproc/opensched/files/patch-ab
Normal file
@ -0,0 +1,13 @@
|
||||
*** test/Makefile.org Wed Jan 31 14:21:51 2001
|
||||
--- test/Makefile Wed Jan 31 14:22:01 2001
|
||||
***************
|
||||
*** 14,17 ****
|
||||
dvips test -o test.ps
|
||||
|
||||
test_gantt_1.eps: test.sched
|
||||
! ../opensched test.sched
|
||||
--- 14,17 ----
|
||||
dvips test -o test.ps
|
||||
|
||||
test_gantt_1.eps: test.sched
|
||||
! ../src/opensched test.sched
|
75
textproc/opensched/files/patch-ac
Normal file
75
textproc/opensched/files/patch-ac
Normal file
@ -0,0 +1,75 @@
|
||||
*** src/print.c.org Wed Jan 31 14:29:34 2001
|
||||
--- src/print.c Wed Jan 31 14:30:44 2001
|
||||
***************
|
||||
*** 579,612 ****
|
||||
|
||||
SortMilestones();
|
||||
|
||||
! fprintf(f, "\\subsection{Milestone List}\n\\label{milestones}\n\n");
|
||||
!
|
||||
! fprintf(f, "\\begin{itemize}\n");
|
||||
!
|
||||
! for ( i = 0; i < Nmilestones; ++i )
|
||||
! {
|
||||
m = sorted_milestones[i].milestone;
|
||||
!
|
||||
fprintf(f, "\\item ");
|
||||
if ( milestone_ids )
|
||||
! fprintf(f, "%s %s\\\\",
|
||||
! TeXFix(buf1,m->id),
|
||||
! TeXFix(buf2,m->name));
|
||||
else
|
||||
! fprintf(f, "%s\\\\",
|
||||
! TeXFix(buf2,m->name));
|
||||
fprintf(f, " \\emph{%s}\n\n",
|
||||
days[m->day].s);
|
||||
if ( m->bday != INVALIDDAYNO )
|
||||
{
|
||||
! fprintf(f, "Baseline\\\\\emph{%s}\n",
|
||||
! days[m->bday].s);
|
||||
}
|
||||
fprintf(f, "\n\n");
|
||||
! }
|
||||
!
|
||||
! fprintf(f, "\\end{itemize}\n\n");
|
||||
|
||||
fprintf(f,"\\subsection{Resources And Task Assignment}\n\n");
|
||||
|
||||
for( rl=reslist; rl!=NULL; rl=rl->next )
|
||||
--- 579,614 ----
|
||||
|
||||
SortMilestones();
|
||||
|
||||
! if (Nmilestones > 0) {
|
||||
! fprintf(f, "\\subsection{Milestone List}\n\\label{milestones}\n\n");
|
||||
!
|
||||
! fprintf(f, "\\begin{itemize}\n");
|
||||
!
|
||||
! for ( i = 0; i < Nmilestones; ++i )
|
||||
! {
|
||||
m = sorted_milestones[i].milestone;
|
||||
!
|
||||
fprintf(f, "\\item ");
|
||||
if ( milestone_ids )
|
||||
! fprintf(f, "%s %s\\\\",
|
||||
! TeXFix(buf1,m->id),
|
||||
! TeXFix(buf2,m->name));
|
||||
else
|
||||
! fprintf(f, "%s\\\\",
|
||||
! TeXFix(buf2,m->name));
|
||||
fprintf(f, " \\emph{%s}\n\n",
|
||||
days[m->day].s);
|
||||
if ( m->bday != INVALIDDAYNO )
|
||||
{
|
||||
! fprintf(f, "Baseline\\\\\emph{%s}\n",
|
||||
! days[m->bday].s);
|
||||
}
|
||||
fprintf(f, "\n\n");
|
||||
! }
|
||||
|
||||
+ fprintf(f, "\\end{itemize}\n\n");
|
||||
+ }
|
||||
+
|
||||
fprintf(f,"\\subsection{Resources And Task Assignment}\n\n");
|
||||
|
||||
for( rl=reslist; rl!=NULL; rl=rl->next )
|
41
textproc/opensched/files/patch-ad
Normal file
41
textproc/opensched/files/patch-ad
Normal file
@ -0,0 +1,41 @@
|
||||
*** test/test.tex.org Wed Jan 31 14:26:20 2001
|
||||
--- test/test.tex Wed Jan 31 14:34:28 2001
|
||||
***************
|
||||
*** 1,4 ****
|
||||
! \documentstyle[rotate,times,12pt,epsf,supertabular]{article}
|
||||
\textwidth=7.0in
|
||||
\textheight=8.0in
|
||||
\oddsidemargin=-0.25in
|
||||
--- 1,9 ----
|
||||
! \documentclass[dvips,12pt]{article}
|
||||
! \usepackage{epsfig}
|
||||
! \usepackage{supertabular}
|
||||
! \usepackage{rotate}
|
||||
! \usepackage{float}
|
||||
!
|
||||
\textwidth=7.0in
|
||||
\textheight=8.0in
|
||||
\oddsidemargin=-0.25in
|
||||
***************
|
||||
*** 36,44 ****
|
||||
|
||||
\section{GANTT Charts}
|
||||
|
||||
! \centerline{
|
||||
! \rotate[l]{\epsfxsize=0.95\textheight \epsfbox{test_gantt_1.eps}}
|
||||
! }
|
||||
|
||||
\end{document}
|
||||
|
||||
--- 41,51 ----
|
||||
|
||||
\section{GANTT Charts}
|
||||
|
||||
! \begin{figure}[H]
|
||||
! \begin{center}
|
||||
! \epsfig{figure=./test_gantt_1.eps,width=8in,angle=270}
|
||||
! \end{center}
|
||||
! \end{figure}
|
||||
|
||||
\end{document}
|
||||
|
58
textproc/opensched/files/patch-ae
Normal file
58
textproc/opensched/files/patch-ae
Normal file
@ -0,0 +1,58 @@
|
||||
*** src/graph.c.org Wed Jan 31 15:15:27 2001
|
||||
--- src/graph.c Wed Jan 31 15:22:39 2001
|
||||
***************
|
||||
*** 66,71 ****
|
||||
--- 66,95 ----
|
||||
fprintf(f," fill\n");
|
||||
fprintf(f," } def\n");
|
||||
|
||||
+ fprintf(f,"/REDBOX\n");
|
||||
+ fprintf(f," {\n");
|
||||
+ fprintf(f," /y2 exch def /y1 exch def /x2 exch def /x1 exch def\n");
|
||||
+ fprintf(f," x1 y1 moveto\n");
|
||||
+ fprintf(f," x2 y1 lineto\n");
|
||||
+ fprintf(f," x2 y2 lineto\n");
|
||||
+ fprintf(f," x1 y2 lineto\n");
|
||||
+ fprintf(f," closepath\n");
|
||||
+ fprintf(f," 1 %f %f setrgbcolor\n",tg_gray,tg_gray);
|
||||
+ fprintf(f," fill\n");
|
||||
+ fprintf(f," } def\n");
|
||||
+
|
||||
+ fprintf(f,"/BLUEBOX\n");
|
||||
+ fprintf(f," {\n");
|
||||
+ fprintf(f," /y2 exch def /y1 exch def /x2 exch def /x1 exch def\n");
|
||||
+ fprintf(f," x1 y1 moveto\n");
|
||||
+ fprintf(f," x2 y1 lineto\n");
|
||||
+ fprintf(f," x2 y2 lineto\n");
|
||||
+ fprintf(f," x1 y2 lineto\n");
|
||||
+ fprintf(f," closepath\n");
|
||||
+ fprintf(f," %f %f 1 setrgbcolor\n",tg_gray,tg_gray);
|
||||
+ fprintf(f," fill\n");
|
||||
+ fprintf(f," } def\n");
|
||||
+
|
||||
fprintf(f,"/OUTLINE\n");
|
||||
fprintf(f," {\n");
|
||||
fprintf(f," /y2 exch def /y1 exch def /x2 exch def /x1 exch def\n");
|
||||
***************
|
||||
*** 267,273 ****
|
||||
for( i=tb->start; i<=tb->finish; ++i )
|
||||
{
|
||||
tb_x1 = MapX( i, start, finish );
|
||||
! fprintf(f,"%d %d %d %d BOX\n", tb_x1, tb_x1+tg_width, tb_y1, tb_y2);
|
||||
}
|
||||
}
|
||||
|
||||
--- 291,303 ----
|
||||
for( i=tb->start; i<=tb->finish; ++i )
|
||||
{
|
||||
tb_x1 = MapX( i, start, finish );
|
||||
! if (t->children > 0)
|
||||
! fprintf(f,"%d %d %d %d REDBOX\n",
|
||||
! tb_x1, tb_x1+tg_width, tb_y1, tb_y2);
|
||||
! else
|
||||
! fprintf(f,"%d %d %d %d BLUEBOX\n",
|
||||
! tb_x1, tb_x1+tg_width, tb_y1, tb_y2);
|
||||
!
|
||||
}
|
||||
}
|
||||
|
1
textproc/opensched/pkg-comment
Normal file
1
textproc/opensched/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A project scheduler
|
24
textproc/opensched/pkg-descr
Normal file
24
textproc/opensched/pkg-descr
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
From the opensched home page:
|
||||
|
||||
OPENSCHED is a project scheduler. It reads a project description file,
|
||||
which contains information about:
|
||||
|
||||
Tasks which must be accomplished.
|
||||
Resources (e.g., people, equipment, facilities) which may work
|
||||
on tasks.
|
||||
Work that has already been completed.
|
||||
|
||||
It schedules resources to work on tasks, and produces various reports:
|
||||
|
||||
A summary of all tasks and task dependencies.
|
||||
A work schedule for the entire project.
|
||||
A work schedule for each resource.
|
||||
GANTT charts.
|
||||
Weekly and monthly work summaries for each resource.
|
||||
|
||||
These reports are typeset using LaTeX, for display or printing.
|
||||
|
||||
For more details, please see the opensched homepage:
|
||||
|
||||
WWW: http://www.m-tech.ab.ca/download/sched/
|
1
textproc/opensched/pkg-plist
Normal file
1
textproc/opensched/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/opensched
|
Loading…
Reference in New Issue
Block a user