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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

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