Portfile

# $Id: Portfile,v 1.2 2006/07/02 08:03:16 mww Exp $

PortSystem 1.0
name breqn
version 094
categories tex
platforms darwin
maintainers gwright@macports.org
description Automatic equation breaking in TeX.
long_description \
Automatic line breaking of displayed equations in TeX.

homepage http://www.ctan.org/tex-archive/help/Catalogue/entries/breqn.html
master_sites ftp://ftp.ams.org/pub/tex/
checksums md5 61f8bcbfd475203fd977ee9589810780

extract.suffix .tgz
distname ${name}${version}

depends_lib port:teTeX

configure { }
build { }

destroot { set breqndest ${destroot}${prefix}/share/texmf-local/tex/latex/${name}
file mkdir ${breqndest}
file copy ${worksrcpath}/breqn.sty ${breqndest}
file copy ${worksrcpath}/breqndoc.dvi ${breqndest}
file copy ${worksrcpath}/cmbase.sym ${breqndest}
file copy ${worksrcpath}/eqbreaks.dvi ${breqndest}
file copy ${worksrcpath}/eqlayouts.dvi ${breqndest}
file copy ${worksrcpath}/flexisym.sty ${breqndest}
file copy ${worksrcpath}/mathstyle.sty ${breqndest}
file copy ${worksrcpath}/msabm.sym ${breqndest}
}

post-activate { system "texhash" }