source: trunk/dports/tex/tex-tipa/Portfile @ 50878

Last change on this file since 50878 was 50878, checked in by takanori@…, 11 years ago

tex-tipa:

  • The distfile was silently updated at Apr 7, 2009. (#19452) (to avoid checksum mismatch, I copied the distfile to svn.macports.org

as 'tipa-20090407.zip')

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 50878 2009-05-12 05:58:20Z takanori@macports.org $
2
3PortSystem                      1.0
4name                    tex-tipa
5version                 1.3
6revision                        1
7description             Fonts and macros for IPA phonetics characters.
8long_description        TIPA (TeX International Phonetic Alphabet) is a latex \
9                                        package for International Phonetic Alphabet characters \
10                                        by Rei Fukui, Hajime Kobayashi, and Shun Shirakawa
11platforms               darwin
12categories              tex print
13maintainers             pguyot@kallisys.net
14homepage                        http://www.essex.ac.uk/linguistics/clmt/latex4ling/tipa/
15master_sites            macports
16#                       ftp://ftp.jussieu.fr/pub/TeX/CTAN/fonts/
17#                       http://ftp.nara.wide.ad.jp/pub/TeX/CTAN/fonts/
18distname        tipa-20090407
19use_zip                         yes
20dist_subdir                     ${name}/${version}
21checksums       md5     5b8384b4b7a0fc8dad302b65d1bd3293 \
22                sha1    04f8ee142faecf3017738e23c1c6835158556c40 \
23                rmd160  ea4f393f8a2e151b0933829ba7d193761ca8433a
24depends_lib                     bin:mktexlsr:texlive
25patchfiles                      patch-tipa-1.3-Makefile
26
27worksrcdir      tipa
28
29use_configure       no
30build {}
31destroot {
32        system "cd ${worksrcpath}/tipa-${version}/ && make install DESTROOT=${destroot} PREFIX=${prefix}"
33
34        file mkdir ${destroot}${prefix}/share/texmf-local/fonts/map/dvips/tipa
35        file rename ${destroot}${prefix}/share/texmf-local/dvips/config/tipa.map \
36                ${destroot}${prefix}/share/texmf-local/fonts/map/dvips/tipa
37}
38post-destroot {
39        xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local/doc/tipa
40        xinstall -m 644 -W ${worksrcpath} 00README tipaface.pdf tipaman.pdf \
41                ${destroot}${prefix}/share/texmf-local/doc/tipa
42}
43post-activate {
44        system "mktexlsr"
45        ui_msg "\nBefore using tipa, please make sure to update font map files.\n"
46        ui_msg "  \$ sudo updmap-sys --enable MixedMap tipa.map\n"
47}
Note: See TracBrowser for help on using the repository browser.