# -*- 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
# $Id: Portfile 78609 2011-05-14 07:38:20Z ryandesign@macports.org $

PortSystem 1.0

name			tex-f7u12
version			dev
categories		tex
platforms		darwin
maintainers		phw openmaintainer
description		Latex package for using ragefaces
long_description	${description}
supported_archs		noarch

homepage	    https://github.com/jesusabdullah/latex-f7u12

fetch.type	   git
git.url 	   https://github.com/jesusabdullah/latex-f7u12.git
git.branch     origin/master

distname		latex-f7u12

depends_lib		bin:tex:texlive

use_configure	no
build			{}

checksums           md5     7a5ac28f0267e419b8d79d049cfca652 \
                    sha1    6896f5e689a5927b7fb71387e82ccad27e27cdff \
                    rmd160  bd3da9417d7cd0244f519d98b9c16d73ab9d8887

destroot {
            xinstall -m 755 -d ${destroot}${prefix}/share/texmf-dist/tex/latex/f7u12
            xinstall -m 755 -d ${destroot}${prefix}/share/texmf-dist/tex/latex/f7u12/svg
            xinstall -m 755 -d ${destroot}${prefix}/share/texmf-dist/tex/latex/f7u12/faces
            xinstall -m 644    ${worksrcpath}/f7u12.sty         ${destroot}${prefix}/share/texmf-dist/tex/latex/f7u12/
    eval    xinstall -m 644    [glob ${worksrcpath}/faces/*]    ${destroot}${prefix}/share/texmf-dist/tex/latex/f7u12/faces/
    eval    xinstall -m 644    [glob ${worksrcpath}/svg/*]      ${destroot}${prefix}/share/texmf-dist/tex/latex/f7u12/svg/
}

post-activate		{ system "mktexlsr" }

livecheck.type		none
