[32603] trunk/dports/graphics

ricci at macports.org ricci at macports.org
Tue Jan 8 16:14:21 PST 2008


Revision: 32603
          http://trac.macosforge.org/projects/macports/changeset/32603
Author:   ricci at macports.org
Date:     2008-01-08 16:14:19 -0800 (Tue, 08 Jan 2008)

Log Message:
-----------
Move primary site (ftp.foolabs.com) to the end as ls/get is failing
remove 'cd' command

Modified Paths:
--------------
    trunk/dports/graphics/xpdf-arabic/Portfile
    trunk/dports/graphics/xpdf-chinese-simplified/Portfile
    trunk/dports/graphics/xpdf-chinese-traditional/Portfile
    trunk/dports/graphics/xpdf-cyrillic/Portfile
    trunk/dports/graphics/xpdf-greek/Portfile
    trunk/dports/graphics/xpdf-hebrew/Portfile
    trunk/dports/graphics/xpdf-japanese/Portfile
    trunk/dports/graphics/xpdf-korean/Portfile
    trunk/dports/graphics/xpdf-latin2/Portfile
    trunk/dports/graphics/xpdf-thai/Portfile
    trunk/dports/graphics/xpdf-turkish/Portfile

Modified: trunk/dports/graphics/xpdf-arabic/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-arabic/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-arabic/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 distfiles	${name}-${version}.tar.gz
 
@@ -37,15 +37,14 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g"  ${worksrcpath}/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 \
+		${worksrcpath}/ISO-8859-6.unicodeMap \
+		${worksrcpath}/README ${worksrcpath}/add-to-xpdfrc \
 		${destroot}${prefix}/share/xpdf/${name}/
 }
 

Modified: trunk/dports/graphics/xpdf-chinese-simplified/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-chinese-simplified/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-chinese-simplified/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 ## xpdf-chinese-simplified-2004-jul-27.tar.gz
 distfiles	${name}-${version}.tar.gz
@@ -38,17 +38,20 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/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-GB1.cidToUnicode EUC-CN.unicodeMap GBK.unicodeMap ISO-2022-CN.unicodeMap \
-		README add-to-xpdfrc \
+	eval xinstall -m 644                            \
+		${worksrcpath}/Adobe-GB1.cidToUnicode       \
+        ${worksrcpath}/EUC-CN.unicodeMap            \
+        ${worksrcpath}/GBK.unicodeMap               \
+        ${worksrcpath}/ISO-2022-CN.unicodeMap       \
+		${worksrcpath}/README                       \
+        ${worksrcpath}/add-to-xpdfrc                \
 		${destroot}${prefix}/share/xpdf/${name}/
 
 }

Modified: trunk/dports/graphics/xpdf-chinese-traditional/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-chinese-traditional/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-chinese-traditional/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 ## xpdf-chinese-traditional-2004-jul-27.tar.gz
 distfiles	${name}-${version}.tar.gz
@@ -38,16 +38,19 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/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-CNS1.cidToUnicode Big5.unicodeMap Big5ascii.unicodeMap README add-to-xpdfrc \
+	eval xinstall -m 644                            \
+		${worksrcpath}/Adobe-CNS1.cidToUnicode      \
+        ${worksrcpath}/Big5.unicodeMap              \
+        ${worksrcpath}/Big5ascii.unicodeMap         \
+        ${worksrcpath}/README                       \
+        ${worksrcpath}/add-to-xpdfrc                \
 		${destroot}${prefix}/share/xpdf/${name}/
 }
 

Modified: trunk/dports/graphics/xpdf-cyrillic/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-cyrillic/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-cyrillic/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 distfiles	${name}-${version}.tar.gz
 
@@ -37,15 +37,16 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/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 \
+	eval xinstall -m 644                            \
+		${worksrcpath}/Bulgarian.nameToUnicode      \
+        ${worksrcpath}/KOI8-R.unicodeMap            \
+		${worksrcpath}/README                       \
+        ${worksrcpath}/add-to-xpdfrc                \
 		${destroot}${prefix}/share/xpdf/${name}/
 }
 

Modified: trunk/dports/graphics/xpdf-greek/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-greek/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-greek/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 distfiles	${name}-${version}.tar.gz
 
@@ -37,15 +37,16 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/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 \
+	eval xinstall -m 644                            \
+		${worksrcpath}/Greek.nameToUnicode          \
+        ${worksrcpath}/ISO-8859-7.unicodeMap        \
+        ${worksrcpath}/README                       \
+        ${worksrcpath}/add-to-xpdfrc                \
 		${destroot}${prefix}/share/xpdf/${name}/
 }
 

Modified: trunk/dports/graphics/xpdf-hebrew/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-hebrew/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-hebrew/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 distfiles	${name}-${version}.tar.gz
 
@@ -37,16 +37,17 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/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}/
+	eval xinstall -m 644                            \
+		${worksrcpath}/ISO-8859-8.unicodeMap        \
+        ${worksrcpath}/Windows-1255.unicodeMap      \
+		${worksrcpath}/README                       \
+        ${worksrcpath}/add-to-xpdfrc                \
+		${destroot}${prefix}/share/xpdf/${name}/	\
 }
 
 variant autoactivate description automatically activate the character mappings {

Modified: trunk/dports/graphics/xpdf-japanese/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-japanese/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-japanese/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 distfiles	${name}-${version}.tar.gz
 
@@ -37,17 +37,20 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/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 \
+	eval xinstall -m 644                            \
+		${worksrcpath}/Adobe-Japan1.cidToUnicode    \
+        ${worksrcpath}/EUC-JP.unicodeMap            \
+        ${worksrcpath}/ISO-2022-JP.unicodeMap       \
+        ${worksrcpath}/Shift-JIS.unicodeMap         \
+		${worksrcpath}/README                       \
+        ${worksrcpath}/add-to-xpdfrc                \
 		${destroot}${prefix}/share/xpdf/${name}/
 }
 

Modified: trunk/dports/graphics/xpdf-korean/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-korean/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-korean/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 distfiles	${name}-${version}.tar.gz
 
@@ -37,17 +37,18 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/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 \
+	eval xinstall -m 644                            \
+		${worksrcpath}/Adobe-Korea1.cidToUnicode    \
+        ${worksrcpath}/ISO-2022-KR.unicodeMap       \
+		${worksrcpath}/README                       \
+        ${worksrcpath}/add-to-xpdfrc                \
 		${destroot}${prefix}/share/xpdf/${name}/
 }
 

Modified: trunk/dports/graphics/xpdf-latin2/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-latin2/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-latin2/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 distfiles	${name}-${version}.tar.gz
 
@@ -37,15 +37,15 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/add-to-xpdfrc
 }
 
 destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/share/xpdf/${name}
-	eval xinstall -m 644 \
-		Latin2.unicodeMap \
-		README add-to-xpdfrc \
+	eval xinstall -m 644                            \
+		${worksrcpath}/Latin2.unicodeMap            \
+		${worksrcpath}/README                       \
+        ${worksrcpath}/add-to-xpdfrc                \
 		${destroot}${prefix}/share/xpdf/${name}/
 }
 

Modified: trunk/dports/graphics/xpdf-thai/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-thai/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-thai/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 distfiles	${name}-${version}.tar.gz
 
@@ -37,15 +37,16 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/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 \
+	eval xinstall -m 644                            \
+		${worksrcpath}/TIS-620.unicodeMap           \
+        ${worksrcpath}/Thai.nameToUnicode           \
+        ${worksrcpath}/README                       \
+        ${worksrcpath}/add-to-xpdfrc                \
 		${destroot}${prefix}/share/xpdf/${name}/
 }
 

Modified: trunk/dports/graphics/xpdf-turkish/Portfile
===================================================================
--- trunk/dports/graphics/xpdf-turkish/Portfile	2008-01-09 00:11:44 UTC (rev 32602)
+++ trunk/dports/graphics/xpdf-turkish/Portfile	2008-01-09 00:14:19 UTC (rev 32603)
@@ -12,7 +12,6 @@
 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/ \
@@ -24,7 +23,8 @@
     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/
+    ftp://ftp.chg.ru/pub/TeX/CTAN/support/xpdf/ \
+    ftp://ftp.foolabs.com/pub/xpdf/
 
 distfiles	${name}-${version}.tar.gz
 
@@ -37,15 +37,15 @@
 configure {}
 
 build {
-    cd ${worksrcpath}
-    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" add-to-xpdfrc
+    reinplace "s|/usr/local/share/xpdf/|${prefix}/share/xpdf/xpdf-|g" ${worksrcpath}/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 \
+	eval xinstall -m 644                            \
+		${worksrcpath}/ISO-8859-9.unicodeMap        \
+		${worksrcpath}/README                       \
+        ${worksrcpath}/add-to-xpdfrc                \
 		${destroot}${prefix}/share/xpdf/${name}/
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080108/de67cf44/attachment-0001.html


More information about the macports-changes mailing list