1 # Contributor: Norman Makoto Su <normsu@ics.uci.edu>
6 pkgdesc="Program for generating scatter point, line and bar graphs in PostScript."
7 url="http://www.cs.utk.edu/~plank/plank/jgraph/jgraph.html"
14 install=jgraph.install
15 source=(http://www.cs.utk.edu/~plank/plank/jgraph/$pkgname.shar.Z)
16 md5sums=('7e131d397d9c28f1e180f0d006ef07aa')
19 uncompress -f $pkgname.shar.Z
21 sed -ie "s|CC = cc|CC = gcc -DLCC|" makefile
22 sed -ie "s|nawk|awk|g" *
23 sed -ie "s|JGRAPH_DIR|/usr/share/jgraph|" jgraph.1
24 mkdir -p $startdir/pkg/usr/{bin,man/man1,share/jgraph}
25 cp *.jgr $startdir/pkg/usr/share/jgraph
26 cp draw.c $startdir/pkg/usr/share/jgraph
27 cp sin.c $startdir/pkg/usr/share/jgraph
28 cp sin{,2,3}.pts $startdir/pkg/usr/share/jgraph
29 cp tree.awk $startdir/pkg/usr/share/jgraph
30 cp bailey.pts $startdir/pkg/usr/share/jgraph
31 cp data.txt $startdir/pkg/usr/share/jgraph
32 cp draw.c $startdir/pkg/usr/share/jgraph
33 cp mab2.times $startdir/pkg/usr/share/jgraph
34 cp makefile $startdir/pkg/usr/share/jgraph
36 cp jgraph $startdir/pkg/usr/bin
37 cp jgraph.1 $startdir/pkg/usr/man/man1