[26959] trunk/dports/graphics
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jul 13 15:56:32 PDT 2007
Revision: 26959
http://trac.macosforge.org/projects/macports/changeset/26959
Author: ricci at macports.org
Date: 2007-07-13 15:56:32 -0700 (Fri, 13 Jul 2007)
Log Message:
-----------
more character map support for xpdf
Added Paths:
-----------
trunk/dports/graphics/xpdf-arabic/
trunk/dports/graphics/xpdf-arabic/Portfile
trunk/dports/graphics/xpdf-cyrillic/
trunk/dports/graphics/xpdf-cyrillic/Portfile
trunk/dports/graphics/xpdf-greek/
trunk/dports/graphics/xpdf-greek/Portfile
trunk/dports/graphics/xpdf-hebrew/
trunk/dports/graphics/xpdf-hebrew/Portfile
trunk/dports/graphics/xpdf-japanese/
trunk/dports/graphics/xpdf-japanese/Portfile
trunk/dports/graphics/xpdf-korean/
trunk/dports/graphics/xpdf-korean/Portfile
trunk/dports/graphics/xpdf-latin2/
trunk/dports/graphics/xpdf-latin2/Portfile
trunk/dports/graphics/xpdf-thai/
trunk/dports/graphics/xpdf-thai/Portfile
trunk/dports/graphics/xpdf-turkish/
trunk/dports/graphics/xpdf-turkish/Portfile
Added: trunk/dports/graphics/xpdf-arabic/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-arabic/Portfile (rev 0)
+++ trunk/dports/graphics/xpdf-arabic/Portfile 2007-07-13 22:56:32 UTC (rev 26959)
@@ -0,0 +1,69 @@
+# $Id: Portfile 22853 2007-03-16 20:20:39Z yves at macports.org $
+PortSystem 1.0
+name xpdf-arabic
+version 2003-feb-16
+description Xpdf character mapping for Arabic
+long_description \
+ Xpdf character mapping for Arabic
+
+maintainers ricci openmaintainer at macports.org
+categories graphics print
+platforms darwin
+homepage http://www.foolabs.com/xpdf/
+
+master_sites \
+ ftp://ftp.foolabs.com/pub/xpdf/ \
+ ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
+ ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
+ ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
+ ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.tug.org/tex-archive/support/xpdf/ \
+ ftp://ftp.dante.de/tex-archive/support/xpdf/ \
+ ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
+ ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
+ ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
+ http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
+ ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
+
+distfiles ${name}-${version}.tar.gz
+
+worksrcdir ${name}
+
+checksums md5 67f05f65bc64bf022b36138c7c26746d
+
+depends_lib port:xpdf
+
+configure {}
+
+build {
+ cd ${worksrcpath}
+ reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
+ eval xinstall -m 644 \
+ ISO-8859-6.unicodeMap \
+ README add-to-xpdfrc \
+ ${destroot}${prefix}/share/xpdf/${name}/
+}
+
+variant autoactivate description automatically activate the character mappings {
+ ## used in post-activate (below)
+}
+
+
+post-activate {
+ if {[variant_isset autoactivate]} {
+ system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
+ ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
+ NOTE: uninstall does not attempt to remove these lines"
+ } else {
+ ui_msg " \
+ Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
+ The \"autoactivate\" variant does this automatically"
+ }
+
+}
+
Added: trunk/dports/graphics/xpdf-cyrillic/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-cyrillic/Portfile (rev 0)
+++ trunk/dports/graphics/xpdf-cyrillic/Portfile 2007-07-13 22:56:32 UTC (rev 26959)
@@ -0,0 +1,69 @@
+# $Id: Portfile 22853 2007-03-16 20:20:39Z yves at macports.org $
+PortSystem 1.0
+name xpdf-cyrillic
+version 2003-jun-28
+description Xpdf character mapping for Cyrillic
+long_description \
+ Xpdf character mapping for Cyrillic
+
+maintainers ricci openmaintainer at macports.org
+categories graphics print
+platforms darwin
+homepage http://www.foolabs.com/xpdf/
+
+master_sites \
+ ftp://ftp.foolabs.com/pub/xpdf/ \
+ ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
+ ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
+ ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
+ ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.tug.org/tex-archive/support/xpdf/ \
+ ftp://ftp.dante.de/tex-archive/support/xpdf/ \
+ ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
+ ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
+ ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
+ http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
+ ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
+
+distfiles ${name}-${version}.tar.gz
+
+worksrcdir ${name}
+
+checksums md5 7b22f31289ce0812d2ec77014e7b0cdf
+
+depends_lib port:xpdf
+
+configure {}
+
+build {
+ cd ${worksrcpath}
+ reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
+ eval xinstall -m 644 \
+ Bulgarian.nameToUnicode KOI8-R.unicodeMap \
+ README add-to-xpdfrc \
+ ${destroot}${prefix}/share/xpdf/${name}/
+}
+
+variant autoactivate description automatically activate the character mappings {
+ ## used in post-activate (below)
+}
+
+
+post-activate {
+ if {[variant_isset autoactivate]} {
+ system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
+ ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
+ NOTE: uninstall does not attempt to remove these lines"
+ } else {
+ ui_msg " \
+ Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
+ The \"autoactivate\" variant does this automatically"
+ }
+
+}
+
Added: trunk/dports/graphics/xpdf-greek/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-greek/Portfile (rev 0)
+++ trunk/dports/graphics/xpdf-greek/Portfile 2007-07-13 22:56:32 UTC (rev 26959)
@@ -0,0 +1,69 @@
+# $Id: Portfile 22853 2007-03-16 20:20:39Z yves at macports.org $
+PortSystem 1.0
+name xpdf-greek
+version 2003-jun-28
+description Xpdf character mapping for Greek
+long_description \
+ Xpdf character mapping for Greek
+
+maintainers ricci openmaintainer at macports.org
+categories graphics print
+platforms darwin
+homepage http://www.foolabs.com/xpdf/
+
+master_sites \
+ ftp://ftp.foolabs.com/pub/xpdf/ \
+ ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
+ ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
+ ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
+ ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.tug.org/tex-archive/support/xpdf/ \
+ ftp://ftp.dante.de/tex-archive/support/xpdf/ \
+ ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
+ ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
+ ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
+ http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
+ ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
+
+distfiles ${name}-${version}.tar.gz
+
+worksrcdir ${name}
+
+checksums md5 dacacda02b84b1184235a5fab072fbd8
+
+depends_lib port:xpdf
+
+configure {}
+
+build {
+ cd ${worksrcpath}
+ reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
+ eval xinstall -m 644 \
+ Greek.nameToUnicode ISO-8859-7.unicodeMap \
+ README add-to-xpdfrc \
+ ${destroot}${prefix}/share/xpdf/${name}/
+}
+
+variant autoactivate description automatically activate the character mappings {
+ ## used in post-activate (below)
+}
+
+
+post-activate {
+ if {[variant_isset autoactivate]} {
+ system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
+ ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
+ NOTE: uninstall does not attempt to remove these lines"
+ } else {
+ ui_msg " \
+ Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
+ The \"autoactivate\" variant does this automatically"
+ }
+
+}
+
Added: trunk/dports/graphics/xpdf-hebrew/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-hebrew/Portfile (rev 0)
+++ trunk/dports/graphics/xpdf-hebrew/Portfile 2007-07-13 22:56:32 UTC (rev 26959)
@@ -0,0 +1,69 @@
+# $Id: Portfile 22853 2007-03-16 20:20:39Z yves at macports.org $
+PortSystem 1.0
+name xpdf-hebrew
+version 2003-feb-16
+description Xpdf character mapping for Hebrew
+long_description \
+ Xpdf character mapping for Hebrew
+
+maintainers ricci openmaintainer at macports.org
+categories graphics print
+platforms darwin
+homepage http://www.foolabs.com/xpdf/
+
+master_sites \
+ ftp://ftp.foolabs.com/pub/xpdf/ \
+ ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
+ ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
+ ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
+ ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.tug.org/tex-archive/support/xpdf/ \
+ ftp://ftp.dante.de/tex-archive/support/xpdf/ \
+ ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
+ ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
+ ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
+ http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
+ ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
+
+distfiles ${name}-${version}.tar.gz
+
+worksrcdir ${name}
+
+checksums md5 438dd417517641cbb78a94facf2d938e
+
+depends_lib port:xpdf
+
+configure {}
+
+build {
+ cd ${worksrcpath}
+ reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
+ eval xinstall -m 644 \
+ ISO-8859-8.unicodeMap Windows-1255.unicodeMap \
+ README add-to-xpdfrc \
+ ${destroot}${prefix}/share/xpdf/${name}/
+}
+
+variant autoactivate description automatically activate the character mappings {
+ ## used in post-activate (below)
+}
+
+
+post-activate {
+ if {[variant_isset autoactivate]} {
+ system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
+ ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
+ NOTE: uninstall does not attempt to remove these lines"
+ } else {
+ ui_msg " \
+ Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
+ The \"autoactivate\" variant does this automatically"
+ }
+
+}
+
Added: trunk/dports/graphics/xpdf-japanese/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-japanese/Portfile (rev 0)
+++ trunk/dports/graphics/xpdf-japanese/Portfile 2007-07-13 22:56:32 UTC (rev 26959)
@@ -0,0 +1,71 @@
+# $Id: Portfile 22853 2007-03-16 20:20:39Z yves at macports.org $
+PortSystem 1.0
+name xpdf-japanese
+version 2004-jul-27
+description Xpdf character mapping for Japanese
+long_description \
+ Xpdf character mapping for Japanese
+
+maintainers ricci openmaintainer at macports.org
+categories graphics print
+platforms darwin
+homepage http://www.foolabs.com/xpdf/
+
+master_sites \
+ ftp://ftp.foolabs.com/pub/xpdf/ \
+ ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
+ ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
+ ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
+ ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.tug.org/tex-archive/support/xpdf/ \
+ ftp://ftp.dante.de/tex-archive/support/xpdf/ \
+ ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
+ ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
+ ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
+ http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
+ ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
+
+distfiles ${name}-${version}.tar.gz
+
+worksrcdir ${name}
+
+checksums md5 a11ee6476d0f381983664fc614f7a95e
+
+depends_lib port:xpdf
+
+configure {}
+
+build {
+ cd ${worksrcpath}
+ reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}/CMap
+ eval xinstall -m 644 [glob ${worksrcpath}/CMap/*] ${destroot}${prefix}/share/xpdf/${name}/CMap
+ eval xinstall -m 644 \
+ Adobe-Japan1.cidToUnicode EUC-JP.unicodeMap ISO-2022-JP.unicodeMap Shift-JIS.unicodeMap \
+ README add-to-xpdfrc \
+ ${destroot}${prefix}/share/xpdf/${name}/
+}
+
+variant autoactivate description automatically activate the character mappings {
+ ## used in post-activate (below)
+}
+
+
+post-activate {
+ if {[variant_isset autoactivate]} {
+ system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
+ ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
+ NOTE: uninstall does not attempt to remove these lines"
+ } else {
+ ui_msg " \
+ Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
+ The \"autoactivate\" variant does this automatically"
+ }
+
+}
+
Added: trunk/dports/graphics/xpdf-korean/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-korean/Portfile (rev 0)
+++ trunk/dports/graphics/xpdf-korean/Portfile 2007-07-13 22:56:32 UTC (rev 26959)
@@ -0,0 +1,71 @@
+# $Id: Portfile 22853 2007-03-16 20:20:39Z yves at macports.org $
+PortSystem 1.0
+name xpdf-korean
+version 2005-jul-07
+description Xpdf character mapping for Korean
+long_description \
+ Xpdf character mapping for Korean
+
+maintainers ricci openmaintainer at macports.org
+categories graphics print
+platforms darwin
+homepage http://www.foolabs.com/xpdf/
+
+master_sites \
+ ftp://ftp.foolabs.com/pub/xpdf/ \
+ ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
+ ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
+ ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
+ ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.tug.org/tex-archive/support/xpdf/ \
+ ftp://ftp.dante.de/tex-archive/support/xpdf/ \
+ ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
+ ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
+ ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
+ http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
+ ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
+
+distfiles ${name}-${version}.tar.gz
+
+worksrcdir ${name}
+
+checksums md5 3c1e00f3b9d5fa713df8a3d763d12f3a
+
+depends_lib port:xpdf
+
+configure {}
+
+build {
+ cd ${worksrcpath}
+ reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}/CMap
+ eval xinstall -m 644 [glob ${worksrcpath}/CMap/*] ${destroot}${prefix}/share/xpdf/${name}/CMap
+ eval xinstall -m 644 \
+ Adobe-Korea1.cidToUnicode ISO-2022-KR.unicodeMap \
+ README add-to-xpdfrc \
+ ${destroot}${prefix}/share/xpdf/${name}/
+}
+
+variant autoactivate description automatically activate the character mappings {
+ ## used in post-activate (below)
+}
+
+
+post-activate {
+ if {[variant_isset autoactivate]} {
+ system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
+ ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
+ NOTE: uninstall does not attempt to remove these lines"
+ } else {
+ ui_msg " \
+ Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
+ The \"autoactivate\" variant does this automatically"
+ }
+
+}
+
Added: trunk/dports/graphics/xpdf-latin2/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-latin2/Portfile (rev 0)
+++ trunk/dports/graphics/xpdf-latin2/Portfile 2007-07-13 22:56:32 UTC (rev 26959)
@@ -0,0 +1,69 @@
+# $Id: Portfile 22853 2007-03-16 20:20:39Z yves at macports.org $
+PortSystem 1.0
+name xpdf-latin2
+version 2002-oct-22
+description Xpdf character mapping for latin2
+long_description \
+ Xpdf character mapping for latin2
+
+maintainers ricci openmaintainer at macports.org
+categories graphics print
+platforms darwin
+homepage http://www.foolabs.com/xpdf/
+
+master_sites \
+ ftp://ftp.foolabs.com/pub/xpdf/ \
+ ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
+ ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
+ ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
+ ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.tug.org/tex-archive/support/xpdf/ \
+ ftp://ftp.dante.de/tex-archive/support/xpdf/ \
+ ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
+ ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
+ ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
+ http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
+ ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
+
+distfiles ${name}-${version}.tar.gz
+
+worksrcdir ${name}
+
+checksums md5 ac19ef990cd63afd2837c10dc7e1c3ab
+
+depends_lib port:xpdf
+
+configure {}
+
+build {
+ cd ${worksrcpath}
+ reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
+ eval xinstall -m 644 \
+ Latin2.unicodeMap \
+ README add-to-xpdfrc \
+ ${destroot}${prefix}/share/xpdf/${name}/
+}
+
+variant autoactivate description automatically activate the character mappings {
+ ## used in post-activate (below)
+}
+
+
+post-activate {
+ if {[variant_isset autoactivate]} {
+ system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
+ ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
+ NOTE: uninstall does not attempt to remove these lines"
+ } else {
+ ui_msg " \
+ Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
+ The \"autoactivate\" variant does this automatically"
+ }
+
+}
+
Added: trunk/dports/graphics/xpdf-thai/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-thai/Portfile (rev 0)
+++ trunk/dports/graphics/xpdf-thai/Portfile 2007-07-13 22:56:32 UTC (rev 26959)
@@ -0,0 +1,69 @@
+# $Id: Portfile 22853 2007-03-16 20:20:39Z yves at macports.org $
+PortSystem 1.0
+name xpdf-thai
+version 2002-jan-16
+description Xpdf character mapping for Thai
+long_description \
+ Xpdf character mapping for Thai
+
+maintainers ricci openmaintainer at macports.org
+categories graphics print
+platforms darwin
+homepage http://www.foolabs.com/xpdf/
+
+master_sites \
+ ftp://ftp.foolabs.com/pub/xpdf/ \
+ ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
+ ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
+ ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
+ ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.tug.org/tex-archive/support/xpdf/ \
+ ftp://ftp.dante.de/tex-archive/support/xpdf/ \
+ ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
+ ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
+ ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
+ http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
+ ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
+
+distfiles ${name}-${version}.tar.gz
+
+worksrcdir ${name}
+
+checksums md5 96e058c1b0429ae1ba0b50f1784b0985
+
+depends_lib port:xpdf
+
+configure {}
+
+build {
+ cd ${worksrcpath}
+ reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
+ eval xinstall -m 644 \
+ TIS-620.unicodeMap Thai.nameToUnicode \
+ README add-to-xpdfrc \
+ ${destroot}${prefix}/share/xpdf/${name}/
+}
+
+variant autoactivate description automatically activate the character mappings {
+ ## used in post-activate (below)
+}
+
+
+post-activate {
+ if {[variant_isset autoactivate]} {
+ system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
+ ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
+ NOTE: uninstall does not attempt to remove these lines"
+ } else {
+ ui_msg " \
+ Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
+ The \"autoactivate\" variant does this automatically"
+ }
+
+}
+
Added: trunk/dports/graphics/xpdf-turkish/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-turkish/Portfile (rev 0)
+++ trunk/dports/graphics/xpdf-turkish/Portfile 2007-07-13 22:56:32 UTC (rev 26959)
@@ -0,0 +1,69 @@
+# $Id: Portfile 22853 2007-03-16 20:20:39Z yves at macports.org $
+PortSystem 1.0
+name xpdf-turkish
+version 2002-apr-10
+description Xpdf character mapping for Turkish
+long_description \
+ Xpdf character mapping for Turkish
+
+maintainers ricci openmaintainer at macports.org
+categories graphics print
+platforms darwin
+homepage http://www.foolabs.com/xpdf/
+
+master_sites \
+ ftp://ftp.foolabs.com/pub/xpdf/ \
+ ftp://ftp.funet.fi/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.unsw.edu.au/tex-archive/support/xpdf/ \
+ ftp://ftp.tex.ac.uk/tex-archive/support/xpdf/ \
+ ftp://ftp.kddlabs.co.jp/CTAN/support/xpdf/ \
+ ftp://ftp.meiji.ac.jp/pub/TeX/CTAN/support/xpdf/ \
+ ftp://ctan.tug.org/tex-archive/support/xpdf/ \
+ ftp://ftp.dante.de/tex-archive/support/xpdf/ \
+ ftp://gd.tuwien.ac.at/publishing/tex/CTAN/support/xpdf/ \
+ ftp://ftp.ntnu.no/pub/tex/CTAN/support/xpdf/ \
+ ftp://www.dnsbalance.ring.gr.jp/pub/text/CTAN/support/xpdf/ \
+ http://www.t.ring.gr.jp/archives/text/CTAN/support/xpdf/ \
+ ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/
+
+distfiles ${name}-${version}.tar.gz
+
+worksrcdir ${name}
+
+checksums md5 511758c86e21328a241adc8590834ea2
+
+depends_lib port:xpdf
+
+configure {}
+
+build {
+ cd ${worksrcpath}
+ reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
+ eval xinstall -m 644 \
+ ISO-8859-9.unicodeMap \
+ README add-to-xpdfrc \
+ ${destroot}${prefix}/share/xpdf/${name}/
+}
+
+variant autoactivate description automatically activate the character mappings {
+ ## used in post-activate (below)
+}
+
+
+post-activate {
+ if {[variant_isset autoactivate]} {
+ system "cat ${prefix}/share/xpdf/${name}/add-to-xpdfrc >> ${prefix}/etc/xpdfrc"
+ ui_msg "\"Added ${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to \"${prefix}/etc/xpdfrc\". \
+ NOTE: uninstall does not attempt to remove these lines"
+ } else {
+ ui_msg " \
+ Activate these character mappings by adding \"${prefix}/share/xpdf/${name}/add-to-xpdfrc\" to ${prefix}/etc/xpdfrc or ~/.xpdfrc \
+ The \"autoactivate\" variant does this automatically"
+ }
+
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070713/6f0823fd/attachment.html
More information about the macports-changes
mailing list