# $Id: Portfile 77908 2011-04-17 16:20:41Z phw@macports.org $

PortSystem 1.0

name			tex-beamerposter
version			112
categories		tex
platforms		darwin
maintainers		phw openmaintainer
description		tetex package for creating widescreen beamer presentations and posters
long_description	${description}

homepage		http://www-i6.informatik.rwth-aachen.de/~dreuw/latexbeamerposter.php
master_sites	http://www-i6.informatik.rwth-aachen.de/~dreuw/download/
distname		beamerposter
distfiles		${distname}.sty.${version}

depends_lib		bin:tex:texlive

use_configure		no

build			{}

checksums           md5     7a5ac28f0267e419b8d79d049cfca652 \
                    sha1    6896f5e689a5927b7fb71387e82ccad27e27cdff \
                    rmd160  bd3da9417d7cd0244f519d98b9c16d73ab9d8887


post-extract {
	file rename ${distpath}/${distname}.sty.${version} ${workpath}/${distname}.sty
}

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/texmf-dist/tex/latex/beamerposter
	xinstall -m 644    ${workpath}/${distname}.sty ${destroot}${prefix}/share/texmf-dist/tex/latex/beamerposter
}

post-activate		{ system "mktexlsr" }

livecheck.type		regex
livecheck.url		${homepage}
livecheck.regex		"beamerposter\.sty\.(\\d+(?:\\.\\d+)*)"

