source: trunk/dports/graphics/xpdf-greek/Portfile

Last change on this file was 112361, checked in by ricci@…, 4 years ago

drop maintainership due to lack of availability

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 112361 2013-10-21 03:42:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    xpdf-greek
6version                 2003-jun-28
7description             Xpdf character mapping for Greek
8long_description \
9        Xpdf character mapping for Greek
10
11maintainers             nomaintainer
12categories              graphics print
13license                 GPL-2
14platforms               darwin
15supported_archs noarch
16homepage                http://www.foolabs.com/xpdf/
17
18master_sites \
19    ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
20    ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
21    ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
22    ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
23    ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
24    ftp://ctan.tug.org/tex-archive/support/xpdf/ \
25    ftp://ftp.dante.de/tex-archive/support/xpdf/ \
26    ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
27    ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
28    ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
29    http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
30    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
31    ftp://ftp.foolabs.com/pub/xpdf/
32
33worksrcdir      ${name}
34
35checksums    md5 dacacda02b84b1184235a5fab072fbd8
36
37depends_lib      port:xpdf
38
39use_configure   no
40
41build {
42    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/add-to-xpdfrc
43}
44
45destroot {
46        xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
47        eval xinstall -m 644                            \
48                ${worksrcpath}/Greek.nameToUnicode          \
49        ${worksrcpath}/ISO-8859-7.unicodeMap        \
50        ${worksrcpath}/README                       \
51        ${worksrcpath}/add-to-xpdfrc                \
52                ${destroot}${prefix}/share/xpdf/${name}/
53}
54
55variant autoactivate description automatically activate the character mappings {
56        ## used in post-activate (below)
57}
58
59
60post-activate {
61        if {[variant_isset autoactivate]} {
62                system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
63                ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
64                        NOTE: uninstall does not attempt to remove these lines"
65        } else {
66        ui_msg " \
67                Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
68                The \"autoactivate\" variant does this automatically"
69        }
70}
Note: See TracBrowser for help on using the repository browser.