[97109] trunk/dports/aqua/TeXShop

ryandesign at macports.org ryandesign at macports.org
Mon Aug 27 12:59:10 PDT 2012


Revision: 97109
          https://trac.macports.org/changeset/97109
Author:   ryandesign at macports.org
Date:     2012-08-27 12:59:08 -0700 (Mon, 27 Aug 2012)
Log Message:
-----------
TeXShop:
 * update to 2.47, no longer using an unversioned distfile; this will prevent checksum errors in the future (#35849)
 * add conflict with TeXShop3 port
 * update homepage and master_sites to avoid redirects
 * remove unnecessary unzip build dependency
 * simplify how clang is blacklisted
 * ensure universal variant and ppc supported architecture are removed on Mountain Lion as well

Modified Paths:
--------------
    trunk/dports/aqua/TeXShop/Portfile
    trunk/dports/aqua/TeXShop/files/patch-TSDocument.m.diff

Modified: trunk/dports/aqua/TeXShop/Portfile
===================================================================
--- trunk/dports/aqua/TeXShop/Portfile	2012-08-27 19:33:20 UTC (rev 97108)
+++ trunk/dports/aqua/TeXShop/Portfile	2012-08-27 19:59:08 UTC (rev 97109)
@@ -5,7 +5,8 @@
 PortGroup       xcode 1.0
 
 name            TeXShop
-version         2.43
+conflicts       TeXShop3
+version         2.47
 set major       [lindex [split ${version} .] 0]
 categories      aqua editors
 license         GPL-2+
@@ -17,18 +18,15 @@
     "pdftex" and "pdflatex" rather than "tex" and "latex" to    \
     typeset, these programs in the standard teTeX distribution  \
     of TeX produce pdf output instead of dvi output.
-homepage        http://www.uoregon.edu/~koch/texshop/texshop.html
-master_sites    http://www.uoregon.edu/~koch/texshop
+homepage        http://pages.uoregon.edu/koch/texshop/
+master_sites    ${homepage}
 use_zip         yes
-distname        texshopsource
-dist_subdir     ${name}/${version}_${revision}
-worksrcdir      texshopsource
+distname        texshopsource[strsed ${version} {g/\.//}]
+worksrcdir      texshopsource-${version}
 
-checksums           sha1    7b09621a0887218946c9772014be3aa78ab055c1 \
-                    rmd160  3caecd9a2f380a8ed8efe17a776f288278082157
+checksums       rmd160  cd02b93bafa72de885338d32e98c61de39e11aa6 \
+                sha256  cd8f9fd827d9b080423da0f1d9664bdbfdfebb4525bbb7542ee54c44e2f9ce19
 
-depends_build	port:unzip
-
 # force 32-bit, ticket #20291
 supported_archs i386 ppc
 post-extract    {
@@ -51,9 +49,7 @@
 
 patchfiles		patch-TSDocument.m.diff
 
-if {${configure.compiler} == "clang"} {
-    configure.compiler llvm-gcc-4.2
-}
+compiler.blacklist  clang
 
 build.target    ${name}
 
@@ -71,7 +67,7 @@
     reinplace s|@@PREFIX@@|${prefix}|g ${destroot}${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine
 }
 
-platform darwin 11 {
+if {${os.major} >= 11} {
 	universal_variant	no
     supported_archs	i386
 }

Modified: trunk/dports/aqua/TeXShop/files/patch-TSDocument.m.diff
===================================================================
--- trunk/dports/aqua/TeXShop/files/patch-TSDocument.m.diff	2012-08-27 19:33:20 UTC (rev 97108)
+++ trunk/dports/aqua/TeXShop/files/patch-TSDocument.m.diff	2012-08-27 19:59:08 UTC (rev 97109)
@@ -1,6 +1,6 @@
---- Sources/TSDocument.m	2012-01-04 14:20:33.000000000 +0200
-+++ Sources/TSDocument.m	2012-01-04 14:30:23.000000000 +0200
-@@ -1094,7 +1094,8 @@
+--- Sources/TSDocument.m.orig	2012-05-28 15:18:07.000000000 -0500
++++ Sources/TSDocument.m	2012-08-27 14:55:07.000000000 -0500
+@@ -1209,7 +1209,8 @@
  				if ([theChecker setLanguage:spellcheckString]) {
  					spellLanguageChanged = YES;
  					if ([theChecker respondsToSelector:@selector(setAutomaticallyIdentifiesLanguages:)])
@@ -10,7 +10,7 @@
  					if (spellLanguage != nil)
  						[spellLanguage release];
  					spellLanguage = [spellcheckString retain];
-@@ -1311,12 +1312,14 @@
+@@ -1426,12 +1427,14 @@
  	if (spellLanguage != nil) {
  		[theChecker setLanguage:spellLanguage]; 
  		if ([theChecker respondsToSelector:@selector(setAutomaticallyIdentifiesLanguages:)])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120827/2aaccf11/attachment.html>


More information about the macports-changes mailing list