Permalink
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (48 sloc) 2.22 KB
PortSystem 1.0
name tetex-frogg
set base_version 0.4
version ${base_version}-3
categories tex print
license LPPL-1.2 GPL-2+
platforms darwin
supported_archs noarch
maintainers nomaintainer
description Little collection of French LaTeX/BiBTeX styles
long_description Little collection of French LaTeX/BiBTeX styles: \
fr-plain.bst, frmath.sty, lettre.cls.
distname ${name}_${base_version}.orig
worksrcdir ${name}-${base_version}
homepage http://packages.debian.org/unstable/tex/tetex-frogg
master_sites http://ftp.debian.org/debian/pool/main/t/tetex-frogg
set dist_file ${distname}${extract.suffix}
set diff_file ${name}_${version}.diff.gz
checksums \
${dist_file} md5 a0371304008212bb53589a7b9363dd35 \
${dist_file} sha1 ba28aba7177d942bf2f36d0725643e06d09e89ff \
${dist_file} rmd160 caecf99841c7ac3c7bef358eaac70285508b6a9e \
${diff_file} md5 264825932e370d73696e2b496e469aee \
${diff_file} sha1 1b41ebc9cae46f521f8812748a5878228ef09c4d \
${diff_file} rmd160 16f5761ebe47a5e50cd3182e781d56c7cdf29039
patch_sites http://ftp.debian.org/debian/pool/main/t/tetex-frogg
patchfiles ${diff_file}
patch.args -p1
livecheck.type regex
livecheck.url ${master_sites}/?C=M&O=D
livecheck.regex ${name}_(\[-0-9.\]+)_all\\.deb
use_configure no
build {}
destroot {
file mkdir ${destroot}${prefix}/share/texmf-dist/bibtex/bst/frbib
file mkdir ${destroot}${prefix}/share/texmf-dist/tex/latex/misc
xinstall -m 644 ${worksrcpath}/bst/fr-plain.bst \
${destroot}${prefix}/share/texmf-dist/bibtex/bst/frbib/fr-plain.bst
xinstall -m 644 ${worksrcpath}/sty/frmath.sty \
${destroot}${prefix}/share/texmf-dist/tex/latex/misc/frmath.sty
xinstall -m 644 ${worksrcpath}/lettre/inputs/default.ins \
${destroot}${prefix}/share/texmf-dist/tex/latex/misc/default.ins
xinstall -m 644 ${worksrcpath}/lettre/inputs/lettre.cls_2.346 \
${destroot}${prefix}/share/texmf-dist/tex/latex/misc/lettre.cls_2.346
system "ln -s lettre.cls_2.346 \
${destroot}${prefix}/share/texmf-dist/tex/latex/misc/lettre.cls"
}
post-activate { system "mktexlsr" }