[29742] trunk/dports/tex/pTeX

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 8 04:25:08 PDT 2007


Revision: 29742
          http://trac.macosforge.org/projects/macports/changeset/29742
Author:   takanori at macports.org
Date:     2007-10-08 04:25:08 -0700 (Mon, 08 Oct 2007)

Log Message:
-----------
Version bump to 20071004.

Modified Paths:
--------------
    trunk/dports/tex/pTeX/Portfile
    trunk/dports/tex/pTeX/files/oldfmtfiles.diff
    trunk/dports/tex/pTeX/files/patch-7font-search.sh

Modified: trunk/dports/tex/pTeX/Portfile
===================================================================
--- trunk/dports/tex/pTeX/Portfile	2007-10-08 11:24:14 UTC (rev 29741)
+++ trunk/dports/tex/pTeX/Portfile	2007-10-08 11:25:08 UTC (rev 29742)
@@ -2,8 +2,7 @@
 
 PortSystem		1.0
 name			pTeX
-version			20070606
-revision		1
+version			20071004
 epoch			${version}
 categories		tex print textproc japanese
 maintainers		takanori at macports.org
@@ -27,9 +26,9 @@
 			ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
 			ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/:tetex \
 			http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/:ptetex3 \
-			macports:takanori:ptetex3 \
-			macports:takanori:cmap \
-			macports:takanori:okumacro \
+			macports::ptetex3 \
+			macports::cmap \
+			macports::okumacro \
 			http://oku.edu.mie-u.ac.jp/~okumura/jsclasses/:okumacro
 distfiles		tetex-src-3.0.tar.gz:tetex \
 			tetex-texmf-3.0po.tar.gz:tetex \
@@ -44,9 +43,9 @@
 		tetex-texmf-3.0po.tar.gz md5 ed9d30d9162d16ac8d5065cde6e0f6fa \
 					 sha1 1be97f57a26a6e9b72ebfd932e45914a959aff16 \
 					 rmd160 a1e87733fa3cbef04e39a690ed8549aeaaddb241 \
-		ptetex3-${version}.tar.gz md5 6a0826de7b6b9f167c285b2b087b9e3f \
-					  sha1 95bb361f6be4245755fac290bdec370b145444af \
-					  rmd160 cf8f66dbcf04e2852003bec3ad8999cbb8988e18 \
+		ptetex3-${version}.tar.gz md5 701720c8b86e2efa2bf851b33011caac \
+					  sha1 065907237df52c9bf65f0979d7e2f659843dc67d \
+					  rmd160 993b632f644a11130f4648771fe0c8659f32ccc0 \
 		cmap-gs854.tar.gz md5 e8cbefa9584c4c72b01b05c127371c8b \
 				  sha1 ba004879d1e486734ac780e3023975e2ae0fcee6 \
 				  rmd160 af6f603525f80d519c08f9205817a9a99616ff3b \
@@ -107,10 +106,11 @@
 			puts ${fd} "XDVI=echo"
 			puts ${fd} "PXDVI=echo"
 		}
-		puts ${fd} "CPPFLAGS=\"-I${prefix}/include\""
-		puts ${fd} "LDFLAGS=\"-L${prefix}/lib\""
+		puts ${fd} "CFLAGS=\"${configure.cflags}\""
+		puts ${fd} "CPPFLAGS=\"${configure.cppflags}\""
+		puts ${fd} "LDFLAGS=\"${configure.ldflags}\""
 		puts ${fd} "LD_LIBRARY_PATH=\"\$LD_LIBRARY_PATH:${prefix}/lib\""
-		puts ${fd} "export CPPFLAGS LDFLAGS LD_LIBRARY_PATH"
+		puts ${fd} "export CFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH"
 		close ${fd}
 }
 
@@ -229,6 +229,12 @@
 	configure.args-append --with-xdvi-x-toolkit=neXtaw
 }
 
+platform darwin 9 {
+	 post-patch {
+	 	    reinplace "s|/System/Library/Fonts|/Library/Fonts|g" ${worksrcpath}/7font-search.sh
+	 }
+}
+
 livecheck.check	regex
 livecheck.url	http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/?N=D
 livecheck.regex	ptetex3-(\[0-9\]+)\\.tar

Modified: trunk/dports/tex/pTeX/files/oldfmtfiles.diff
===================================================================
--- trunk/dports/tex/pTeX/files/oldfmtfiles.diff	2007-10-08 11:24:14 UTC (rev 29741)
+++ trunk/dports/tex/pTeX/files/oldfmtfiles.diff	2007-10-08 11:25:08 UTC (rev 29742)
@@ -18,3 +18,21 @@
 +platex-euc	ptex		language.dat	--kanji-internal=euc  platex.ini
 +platex-sjis	ptex		language.dat	--kanji-internal=sjis platex.ini
  jmpost		jmpost		-		mpost.mp
+--- share.orig/texmf/web2c/texmf.cnf	2007-09-12 01:29:50.000000000 +0900
++++ share/texmf/web2c/texmf.cnf	2007-10-04 18:25:02.000000000 +0900
+@@ -228,7 +228,15 @@
+ platex209_inputs = .;$TEXMF/{ptex/{platex209,plain,platex,},tex/{plain,latex,}}//
+ platex2e_inputs = .;$TEXMF/{ptex/platex,{p,}tex/latex,{p,}tex/generic,{p,}tex}//
+ TEXINPUTS.platex209 = $platex209_inputs
++TEXINPUTS.platex-sjis = $platex2e_inputs
++TEXINPUTS.platex-euc = $platex2e_inputs
++TEXINPUTS.platex-jis = $platex2e_inputs
++TEXINPUTS.platex-utf8 = $platex2e_inputs
+ TEXINPUTS.platex = $platex2e_inputs
++TEXINPUTS.ptex-sjis = $ptex_inputs
++TEXINPUTS.ptex-euc = $ptex_inputs
++TEXINPUTS.ptex-jis = $ptex_inputs
++TEXINPUTS.ptex-utf8 = $ptex_inputs
+ TEXINPUTS.ptex = $ptex_inputs
+ 
+ % Omega / Aleph

Modified: trunk/dports/tex/pTeX/files/patch-7font-search.sh
===================================================================
--- trunk/dports/tex/pTeX/files/patch-7font-search.sh	2007-10-08 11:24:14 UTC (rev 29741)
+++ trunk/dports/tex/pTeX/files/patch-7font-search.sh	2007-10-08 11:25:08 UTC (rev 29742)
@@ -1,5 +1,5 @@
---- 7font-search.sh.orig	2007-03-07 02:53:02.000000000 +0900
-+++ 7font-search.sh	2007-05-17 13:30:38.000000000 +0900
+--- ./7font-search.sh.orig	2007-07-30 18:40:56.000000000 +0900
++++ ./7font-search.sh	2007-08-07 06:16:51.000000000 +0900
 @@ -101,37 +101,8 @@
  
  # -----------------------------------
@@ -55,6 +55,6 @@
 -EOF
 -fi
 -
- echo ""
- echo "searching xdvi fonts..."
- $MKTEXLSR 2> /dev/null
+ (IFS=";"; NUM=1; for f in $EXTRA_CMAP; do
+     echo "extra$NUM $f"
+     NUM=`expr $NUM + 1`

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071008/484f0504/attachment.html


More information about the macports-changes mailing list