source: trunk/dports/graphics/xpdf-arabic/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.1 KB
Line 
1# $Id: Portfile 112361 2013-10-21 03:42:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    xpdf-arabic
6version                 2003-feb-16
7description             Xpdf character mapping for Arabic
8long_description \
9        Xpdf character mapping for Arabic
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 67f05f65bc64bf022b36138c7c26746d
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}/ISO-8859-6.unicodeMap \
49                ${worksrcpath}/README ${worksrcpath}/add-to-xpdfrc \
50                ${destroot}${prefix}/share/xpdf/${name}/
51}
52
53variant autoactivate description automatically activate the character mappings {
54        ## used in post-activate (below)
55}
56
57
58post-activate {
59        if {[variant_isset autoactivate]} {
60                system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
61                ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
62                        NOTE: uninstall does not attempt to remove these lines"
63        } else {
64        ui_msg " \
65                Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
66                The \"autoactivate\" variant does this automatically"
67        }
68}
Note: See TracBrowser for help on using the repository browser.