# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name			tetex-rechnung
version			3.10
categories		tex
platforms		darwin
maintainers		mww
description		tetex package for creating invoices (german Rechnungen)
long_description	${description}

homepage		http://www.forwiss.uni-passau.de/~berberic/TeX/Rechnung/index.html
master_sites		http://www.forwiss.uni-passau.de/~berberic/TeX/Rechnung/
distname		rechnung310
checksums		sha1 db8ca410b93c4c9de554ecb9f2db4103b7a7add9

depends_lib		bin:tex:texlive

use_configure		no

build			{}

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/texmf-dist/tex/latex/bmg
	xinstall -m 644 ${worksrcpath}/rechnung.sty \
		${destroot}${prefix}/share/texmf-dist/tex/latex/bmg/
}

post-activate		{ system "mktexlsr" }

livecheck.type	regex
livecheck.url	${homepage}
livecheck.version	310
livecheck.regex	rechnung(\[0-9\]+).tar.gz

