# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           texlive 1.0

github.setup        jfhbrook latex-f7u12 37444defbd10696cb00b7297bab6be455207a9f8
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                tex-f7u12
version             20110420
categories          tex
platforms           any
supported_archs		noarch
maintainers         nomaintainer
license             WTFPL

description         Latex package for using ragefaces
long_description    {*}${description}

depends_lib         bin:tex:texlive

use_configure       no
build               {}

checksums           rmd160  acfd7e2aa608977183ae7855aa3656f297b4b4f3 \
                    sha256  9d6c6a6af885bbae3b4bfa94a5e06d5ec7c4814a0f5fab3d87c5406cf564a27e \
                    size    2942626

destroot {
    xinstall -d ${destroot}${texlive_texmfdist}/tex/latex/f7u12/
    copy ${worksrcpath}/f7u12.sty ${worksrcpath}/faces ${worksrcpath}/svg ${destroot}${texlive_texmfdist}/tex/latex/f7u12/
}

post-activate {
    texlive.mktexlsr
}

post-deactivate {
    texlive.mktexlsr
}
