diff options
Diffstat (limited to '')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/opensched/Makefile | 22 | ||||
-rw-r--r-- | textproc/opensched/distinfo | 1 | ||||
-rw-r--r-- | textproc/opensched/files/patch-aa | 79 | ||||
-rw-r--r-- | textproc/opensched/files/patch-ab | 13 | ||||
-rw-r--r-- | textproc/opensched/files/patch-ac | 75 | ||||
-rw-r--r-- | textproc/opensched/files/patch-ad | 41 | ||||
-rw-r--r-- | textproc/opensched/files/patch-ae | 58 | ||||
-rw-r--r-- | textproc/opensched/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/opensched/pkg-descr | 24 | ||||
-rw-r--r-- | textproc/opensched/pkg-plist | 1 |
11 files changed, 316 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index bb02d4e55a54..5445d8f692ba 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/opensched/Makefile b/textproc/opensched/Makefile new file mode 100644 index 000000000000..cc668f60f253 --- /dev/null +++ b/textproc/opensched/Makefile @@ -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> diff --git a/textproc/opensched/distinfo b/textproc/opensched/distinfo new file mode 100644 index 000000000000..1982f5ce3525 --- /dev/null +++ b/textproc/opensched/distinfo @@ -0,0 +1 @@ +MD5 (opensched-0.1.0.tar.gz) = 5e8f40efdec4a71b4ccdd0128527983d diff --git a/textproc/opensched/files/patch-aa b/textproc/opensched/files/patch-aa new file mode 100644 index 000000000000..70368a5dfaf7 --- /dev/null +++ b/textproc/opensched/files/patch-aa @@ -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: + diff --git a/textproc/opensched/files/patch-ab b/textproc/opensched/files/patch-ab new file mode 100644 index 000000000000..ef8cda7936dd --- /dev/null +++ b/textproc/opensched/files/patch-ab @@ -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 diff --git a/textproc/opensched/files/patch-ac b/textproc/opensched/files/patch-ac new file mode 100644 index 000000000000..4d4a8b71c1fa --- /dev/null +++ b/textproc/opensched/files/patch-ac @@ -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 ) diff --git a/textproc/opensched/files/patch-ad b/textproc/opensched/files/patch-ad new file mode 100644 index 000000000000..b6aa38331fbf --- /dev/null +++ b/textproc/opensched/files/patch-ad @@ -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} + diff --git a/textproc/opensched/files/patch-ae b/textproc/opensched/files/patch-ae new file mode 100644 index 000000000000..45a6cfbf64b8 --- /dev/null +++ b/textproc/opensched/files/patch-ae @@ -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); +! + } + } + diff --git a/textproc/opensched/pkg-comment b/textproc/opensched/pkg-comment new file mode 100644 index 000000000000..b96bc1b08d2d --- /dev/null +++ b/textproc/opensched/pkg-comment @@ -0,0 +1 @@ +A project scheduler diff --git a/textproc/opensched/pkg-descr b/textproc/opensched/pkg-descr new file mode 100644 index 000000000000..c027b28c45f1 --- /dev/null +++ b/textproc/opensched/pkg-descr @@ -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/ diff --git a/textproc/opensched/pkg-plist b/textproc/opensched/pkg-plist new file mode 100644 index 000000000000..91bc90f0de03 --- /dev/null +++ b/textproc/opensched/pkg-plist @@ -0,0 +1 @@ +bin/opensched |