#  $Id: Portfile,v 1.1 2005/06/21 17:41:41 olegb Exp $

PortSystem  1.0

name		advi
version     	1.6.0
categories  	x11 graphics
maintainers 	pierre@queinnec.org
platforms   	darwin
description 	TeX DVI previewer
long_description \
    Active-DVI is an O'Caml Unix-platform DVI previewer and a \
    programmable presenter for slides written in LaTeX.

homepage        http://pauillac.inria.fr/advi/
master_sites	ftp://ftp.inria.fr/INRIA/Projects/cristal/advi/
extract.suffix	.tgz
checksums    	md5 da0e71cbc99a8def27873d4f3c756fa6

depends_lib   	port:teTeX lib:libX11.6:XFree86 port:camlimages

destroot {
		xinstall -m 755 -W ${worksrcpath} advi.opt \
			 ${destroot}${prefix}/bin/advi
		xinstall -d ${destroot}${prefix}/lib/${name}
		xinstall -m 644 -W ${worksrcpath} doc/splash.dvi \
			 doc/scratch_write_splash.dvi \
			 doc/scratch_draw_splash.dvi tex/advilogo.eps \
			 tex/bar.eps tex/caml.eps tex/advi-annot.sty \
			 tex/advi-slides.sty tex/argv.sty \
			 tex/superpose.sty tex/advi-graphicx.sty \
			 tex/advi.sty tex/bubble.sty \
			 tex/xwindows-colors.sty \
			 ${destroot}${prefix}/lib/${name}
		xinstall -m 444 -W ${worksrcpath} doc/advi.1 \
			 ${destroot}${prefix}/share/man/man1
}
