source: trunk/dports/tex/tetex-frogg/Portfile

Last change on this file was 103981, checked in by jmr@…, 4 years ago

tetex-frogg: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 103981 2013-03-11 23:45:14Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                tetex-frogg
6set base_version    0.4
7version             ${base_version}-3
8categories          tex print
9license             LPPL-1.2 GPL-2+
10platforms           darwin
11supported_archs     noarch
12maintainers         nomaintainer
13
14description         Little collection of French LaTeX/BiBTeX styles
15long_description    Little collection of French LaTeX/BiBTeX styles: \
16                    fr-plain.bst, frmath.sty, lettre.cls.
17
18distname            ${name}_${base_version}.orig
19worksrcdir          ${name}-${base_version}
20
21homepage            http://packages.debian.org/unstable/tex/tetex-frogg
22master_sites        http://ftp.debian.org/debian/pool/main/t/tetex-frogg
23
24set dist_file ${distname}${extract.suffix}
25set diff_file ${name}_${version}.diff.gz
26checksums \
27    ${dist_file} md5 a0371304008212bb53589a7b9363dd35 \
28    ${dist_file} sha1 ba28aba7177d942bf2f36d0725643e06d09e89ff \
29    ${dist_file} rmd160 caecf99841c7ac3c7bef358eaac70285508b6a9e \
30    ${diff_file} md5 264825932e370d73696e2b496e469aee \
31    ${diff_file} sha1 1b41ebc9cae46f521f8812748a5878228ef09c4d \
32    ${diff_file} rmd160 16f5761ebe47a5e50cd3182e781d56c7cdf29039
33
34patch_sites         http://ftp.debian.org/debian/pool/main/t/tetex-frogg
35patchfiles          ${diff_file}
36patch.args          -p1
37
38livecheck.type      regex
39livecheck.url       ${master_sites}/?C=M&O=D
40livecheck.regex     ${name}_(\[-0-9.\]+)_all\\.deb
41
42use_configure       no
43build               {}
44
45destroot {
46  file mkdir ${destroot}${prefix}/share/texmf-dist/bibtex/bst/frbib
47  file mkdir ${destroot}${prefix}/share/texmf-dist/tex/latex/misc
48  xinstall -m 644 ${worksrcpath}/bst/fr-plain.bst \
49    ${destroot}${prefix}/share/texmf-dist/bibtex/bst/frbib/fr-plain.bst
50  xinstall -m 644 ${worksrcpath}/sty/frmath.sty \
51    ${destroot}${prefix}/share/texmf-dist/tex/latex/misc/frmath.sty
52  xinstall -m 644 ${worksrcpath}/lettre/inputs/default.ins \
53    ${destroot}${prefix}/share/texmf-dist/tex/latex/misc/default.ins
54  xinstall -m 644 ${worksrcpath}/lettre/inputs/lettre.cls_2.346 \
55    ${destroot}${prefix}/share/texmf-dist/tex/latex/misc/lettre.cls_2.346
56  system "ln -s lettre.cls_2.346 \
57    ${destroot}${prefix}/share/texmf-dist/tex/latex/misc/lettre.cls"
58}
59
60post-activate   { system "mktexlsr" }
Note: See TracBrowser for help on using the repository browser.