Source

macports / tex / bmc / Portfile

Full commit
# $Id: $

PortSystem     1.0
name           bmc
version        1.06
revision       1
categories     tex
platforms      darwin
maintainers    nomaintainer
description \
    Style files for BioMed Central
long_description $description

homepage        http://www.biomedcentral.com
master_sites    http://www.biomedcentral.com/download/tex/
checksums       md5 7826c508a21a5de5cc6f59a281e92254

distname ${name}_article
# extract.suffix .bst
# use_zip no
depends_lib bin:texhash:texlive

configure { }
build     { }

destroot {
  set texdest ${destroot}${prefix}/share/texmf-local/tex/latex/${name}
  set texfiles {
    readme.html \
    bmc_article.bst \
    bmc_article.cls \
    bmc_article.tex \
    bmc_article.bib \
  }
  xinstall -d -m 755 ${texdest}
  foreach file $texfiles {
    xinstall -m 644 $workpath/$file $texdest
  }
}

post-activate {
  system "texhash"
}