[138600] users/dports/ports/tex

dports at macports.org dports at macports.org
Mon Jul 13 14:21:22 PDT 2015


Revision: 138600
          https://trac.macports.org/changeset/138600
Author:   dports at macports.org
Date:     2015-07-13 14:21:22 -0700 (Mon, 13 Jul 2015)
Log Message:
-----------
merge from /trunk/dports/tex to /users/dports/ports/tex

Modified Paths:
--------------
    users/dports/ports/tex/LaTeXML/Portfile
    users/dports/ports/tex/disvf/Portfile
    users/dports/ports/tex/latexmk/Portfile
    users/dports/ports/tex/makejvf/Portfile
    users/dports/ports/tex/pTeX/Portfile
    users/dports/ports/tex/ptex-sfmacros/Portfile

Removed Paths:
-------------
    users/dports/ports/tex/pTeX/files/

Property Changed:
----------------
    users/dports/ports/tex/
    users/dports/ports/tex/texlive-bin/


Property changes on: users/dports/ports/tex
___________________________________________________________________
Modified: svn:mergeinfo
   - /users/dports/ports/tex:72668-73311,94196-95338,105625-107914,120353-121679
   + /trunk/dports/tex:136210-138599
/users/dports/ports/tex:72668-73311,94196-95338,105625-107914,120353-121679

Modified: users/dports/ports/tex/LaTeXML/Portfile
===================================================================
--- users/dports/ports/tex/LaTeXML/Portfile	2015-07-13 21:06:45 UTC (rev 138599)
+++ users/dports/ports/tex/LaTeXML/Portfile	2015-07-13 21:21:22 UTC (rev 138600)
@@ -4,11 +4,11 @@
 # Portfile for LaTeXML
 #======================================================================
 PortSystem          1.0
+PortGroup           texlive 1.0
 
 name                LaTeXML
-version             0.8.0
-revision            1
-categories          tex
+version             0.8.1
+license             public-domain
 maintainers         nist.gov:bruce.miller
 description         LaTeXML converts TeX to XML/HTML/MathML
 long_description \
@@ -16,24 +16,26 @@
 
 # Written in Perl, but it is an application, not just modules
 PortGroup           perl5 1.0
-perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18 5.20
+perl5.branches      5.16
 perl5.setup         ${name} ${version}
 perl5.link_binaries_suffix
 
+categories          tex
 homepage            http://dlmf.nist.gov/LaTeXML/
 
 platforms           darwin
+supported_archs     noarch
+
 master_sites        ${homepage}/releases/
-checksums           rmd160 cfafc6f4f5e276543333f907a1ec0db3c25e424f \
-                    sha256 a495019f2828f0734e9e41f0398f6c8d60ba6a934d4ccad4fea7d588ab060388
+checksums           rmd160 312f0a3d74db75a9210220ab8ea4a1c3f95c6f71 \
+                    sha256 ea264e1c11210e219a46b7699a578d8632c7bbb6eaea5b06d2eb094122cbab2f
 # Use:
 # openssl rmd160 LaTeXML-0.8.0.tar.gz
 # openssl sha256 LaTeXML-0.8.0.tar.gz
 
 #============================================================
 # Dependencies
-if {${perl5.major} ne ""} {
-    depends_lib-append \
+depends_lib-append \
         port:p${perl5.major}-archive-zip \
         port:p${perl5.major}-file-which \
         port:p${perl5.major}-getopt-long \
@@ -47,10 +49,10 @@
         port:p${perl5.major}-xml-libxml \
         port:p${perl5.major}-xml-libxslt \
         port:p${perl5.major}-perlmagick
-}
-# Also requires: DB_File, Pod::Parser and Test::More
-# but those should be in Perl's core modules.
 
+# Also requires: DB_File, Pod::Parser, Test::More & version
+# but those should be in any non-obsolete Perl's core modules.
+
 #============================================================
 # LaTeXML works MUCH better if there is a TeX installed.
 # - it uses some latex style files from texlive within bindings
@@ -63,28 +65,31 @@
 
 # The texlive variant depends on texlive
 # and install latexml's stylefiles to texlive's texmf
-variant texlive description {Build with (macports) texlive support} {
+variant texlive conflicts mactex description {Build with (macports) texlive support} {
     notes "Using texlive for TeX: will install styles to its texmf"
     depends_lib-append      port:texlive
-    configure.args-append   TEXMF=[exec kpsewhich --expand-var='\$TEXMFLOCAL']
+    pre-configure {
+        configure.args-append   TEXMF=${texlive_texmfports}
+    }
     post-activate {
-        system "mktexlsr"
+        texlive.mktexlsr
     }
 }
 
 # The mactex variant expects MacTeX to be installed
 # and installs latexml's stylefiles to MacTeX's texmf
-variant mactex description {Build with MacTeX support} {
+variant mactex conflicts texlive description {Build with MacTeX support} {
     # check if MacTeX actually seems to be there...
     pre-configure {
         if {![file executable /usr/texbin/kpsewhich]} {
             ui_error "I cannot find MacTeX's kpswhich in /usr/texbin; aborting installation"
-            return -code error
+            return -code error "MacTeX not installed"
+        } else {
+            configure.args-append   TEXMF=[exec /usr/texbin/kpsewhich --expand-var='\$TEXMFLOCAL']
         }
     }
     notes "Using MacTeX for TeX: will install styles to MacTeX's texmf \
         (outside macport's common directory structure)"
-    configure.args-append   TEXMF=[exec /usr/texbin/kpsewhich --expand-var='\$TEXMFLOCAL']
     post-activate {
         system /usr/texbin/mktexlsr
     }

Modified: users/dports/ports/tex/disvf/Portfile
===================================================================
--- users/dports/ports/tex/disvf/Portfile	2015-07-13 21:06:45 UTC (rev 138599)
+++ users/dports/ports/tex/disvf/Portfile	2015-07-13 21:21:22 UTC (rev 138600)
@@ -6,7 +6,7 @@
 version         0
 categories      tex print japanese
 license         none
-maintainers     takanori openmaintainer
+maintainers     nomaintainer
 description     A perl script to convert Japanese Virtual Font files to Virtual Property Lists.
 long_description \
                 ${description}

Modified: users/dports/ports/tex/latexmk/Portfile
===================================================================
--- users/dports/ports/tex/latexmk/Portfile	2015-07-13 21:06:45 UTC (rev 138599)
+++ users/dports/ports/tex/latexmk/Portfile	2015-07-13 21:21:22 UTC (rev 138600)
@@ -4,7 +4,10 @@
 PortSystem          1.0
 
 name                latexmk
-version             4.42
+version             4.43a
+checksums           rmd160  e7e3703a52bf070a780cbb6d50f6d79e3aa9bc3e \
+                    sha256  e410d295c0a47327b953ece5b582c294359bdf89138ef990d5621b020ff2bbe5
+
 categories          tex print
 platforms           darwin
 maintainers         cal openmaintainer
@@ -28,9 +31,6 @@
 use_zip             yes
 worksrcdir          ${name}
 
-checksums           rmd160  fb669acd8b28fcf9abb3ae2fbba3093428cc647b \
-                    sha256  f5f35b08a8caf93845c27d5fef54d11f1da49cb85e68061495eb6a33c16b50be
-
 depends_run         bin:latex:texlive-latex
 
 use_configure       no

Modified: users/dports/ports/tex/makejvf/Portfile
===================================================================
--- users/dports/ports/tex/makejvf/Portfile	2015-07-13 21:06:45 UTC (rev 138599)
+++ users/dports/ports/tex/makejvf/Portfile	2015-07-13 21:21:22 UTC (rev 138600)
@@ -5,7 +5,7 @@
 name            makejvf
 version         1.1a
 categories      tex print japanese
-maintainers     takanori openmaintainer
+maintainers     nomaintainer
 description     Japanese Virtual Font file maker.
 long_description \
                 ${description}

Modified: users/dports/ports/tex/pTeX/Portfile
===================================================================
--- users/dports/ports/tex/pTeX/Portfile	2015-07-13 21:06:45 UTC (rev 138599)
+++ users/dports/ports/tex/pTeX/Portfile	2015-07-13 21:21:22 UTC (rev 138600)
@@ -1,404 +1,11 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem      1.0
+PortSystem          1.0
+replaced_by         texlive
+PortGroup           obsolete 1.0
 
-name            pTeX
-version         20110314
-revision        11
-epoch           ${version}
-set ver_ptetex3     20080616
-set ver_dvipdfmx    20110311
-set ver_dvipsk      5.97-p1.7b-20090509
-set ver_jsclasses   100314
-set ver_txfonts     3.2.1
-set ver_pxfonts     1.1.1
-set ver_tipa        1.3-20090407
-set ver_cm-super    0.3.4-20080709
-set ver_utopia      20061119
-set ver_fourier     1.4.1-20050130
-set ver_mh          20071227
-set ver_xcolor      2.11
-set ver_pgf         2.10
-set ver_beamer      3.10-208bcd589060
-set ver_hyperref    20110309
-set ver_oberdiek    20100501
-set ver_ifxetex     20100912
-set ver_pstricks    pTeX-20110314_1
-set ver_powerdot    20110220
-categories      tex print textproc japanese
-maintainers     takanori openmaintainer
-description     Japanese TeX (pTeX) processing environment
-long_description \
-                ${description}
-platforms       darwin
-license         Restrictive/Distributable
-homepage        http://www.nn.iij4u.or.jp/~tutimura/tex/ptetex.html
-master_sites    http://ftp.riken.go.jp/pub/tex-archive/obsolete/systems/unix/teTeX/3.0/distrib/:tetex \
-                http://ftp.yz.yamagata-u.ac.jp/pub/CTAN/obsolete/systems/unix/teTeX/3.0/distrib/:tetex \
-                http://dante.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/distrib/:tetex \
-                http://tug.ctan.org/tex-archive/obsolete/systems/unix/teTeX/3.0/distrib/:tetex \
-                http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/:ptetex3 \
-                macports::ptetex3 \
-                macports::dvipsk \
-                http://project.ktug.or.kr/dvipdfmx/snapshot/latest/:dvipdfmx \
-                http://project.ktug.or.kr/dvipdfmx/snapshot/archive/:dvipdfmx \
-                macports::dvipdfmx \
-                http://oku.edu.mie-u.ac.jp/~okumura/jsclasses/:jsclasses \
-                macports::jsclasses \
-                macports::misc \
-                http://svn.sourceforge.jp/svnroot/macports-jp/distfiles/pTeX/:mpjp
-#               http://ring.riken.jp/archives/text/TeX/ptex-win32/utils/:dvipsk
-distname        ptetex3-${ver_ptetex3}
-distfiles       tetex-src-3.0.tar.gz:tetex \
-                tetex-texmf-3.0po.tar.gz:tetex \
-                ${distname}${extract.suffix}:ptetex3 \
-                dvipdfmx-${ver_dvipdfmx}.tar.gz:dvipdfmx \
-                dvipsk-${ver_dvipsk}.tar.gz:dvipsk \
-                jsclasses-${ver_jsclasses}.zip:jsclasses \
-                txfonts-${ver_txfonts}.zip:misc \
-                pxfonts-${ver_pxfonts}.zip:misc \
-                cmap-gs871.tar.gz:misc \
-                mappingresources4pdf_2unicode-20091208.tar.Z:misc \
-                mappingresources4pdf_other-20091208.tar.Z:misc \
-                tipa-${ver_tipa}.zip:misc \
-                cm-super-${ver_cm-super}.zip:misc \
-                utopia-${ver_utopia}.zip:misc \
-                fourier-GUT-${ver_fourier}.zip:misc \
-                mh-${ver_mh}.zip:mpjp \
-                xcolor-${ver_xcolor}.zip:mpjp \
-                pgf-${ver_pgf}.zip:mpjp \
-                beamer-${ver_beamer}.zip:mpjp \
-                hyperref.tds-${ver_hyperref}.zip:mpjp \
-                oberdiek.tds-${ver_oberdiek}.zip:mpjp \
-                ifxetex.tds-${ver_ifxetex}.zip:mpjp \
-                pstricks-${ver_pstricks}.zip:mpjp \
-                powerdot-${ver_powerdot}.zip:mpjp
-patchfiles      patch-1check-archive.sh.diff \
-                patch-2extract-src.sh.diff \
-                patch-3extract-texmf.sh.diff \
-                patch-4make-install.sh.diff \
-                patch-5macro.sh.diff \
-                patch-7font-search.sh.diff \
-                patch-8test.sh.diff \
-                patch-common.sh.diff \
-                patch-md5sum_texmf.diff \
-                patch-md5sum_texsrc.traditional.diff
-checksums       tetex-src-3.0.tar.gz            rmd160 15a139f5f36993e4ed3583260e175cfb13ce7bcc \
-                tetex-texmf-3.0po.tar.gz        rmd160 a1e87733fa3cbef04e39a690ed8549aeaaddb241 \
-                ${distname}${extract.suffix}    rmd160 50bcf8986d1cb5f23e578ba97d7ade20bb05f3a2 \
-                dvipdfmx-${ver_dvipdfmx}.tar.gz rmd160 e43491e21d14432c17b7a0b61151c3cb6b2320df \
-                dvipsk-${ver_dvipsk}.tar.gz     rmd160 c15135bcd4c01143a921d5eaeadd43247738289e \
-                jsclasses-${ver_jsclasses}.zip  rmd160 7e2704ca941fa6e4cd4e0d200fd3387b4052f4e0 \
-                txfonts-${ver_txfonts}.zip      rmd160 e0881b33012ae10a7557ee773439df62e600e56d \
-                pxfonts-${ver_pxfonts}.zip      rmd160 9a2e8df4b779dab2c93704f0716f3d69dcbac6fe \
-                cmap-gs871.tar.gz               rmd160 1fb4a51914f6b17050d984414e0490d9a5e6edc9 \
-                mappingresources4pdf_2unicode-20091208.tar.Z rmd160 bc1b86e6a5f0e022f88070195eb3e01e167114a7 \
-                mappingresources4pdf_other-20091208.tar.Z    rmd160 1e2ea9af6be8b60c9a54963e542fa06ceb2daccd \
-                tipa-${ver_tipa}.zip            rmd160 ea4f393f8a2e151b0933829ba7d193761ca8433a \
-                cm-super-${ver_cm-super}.zip    rmd160 fc2f18c2b000725c8076bc6a52f0ccaf06dcecd1 \
-                utopia-${ver_utopia}.zip        rmd160 c6d326323948c724c1d24ca9058171e732c1d247 \
-                fourier-GUT-${ver_fourier}.zip  rmd160 b95903070f38c545d8cccc39da38195e7a116d16 \
-                mh-${ver_mh}.zip                rmd160 d9f585dc1df2913ea7e9f32c6de9362ac99a5254 \
-                xcolor-${ver_xcolor}.zip        rmd160 39e86a131206ac67a580accffb56a8bc18aa2061 \
-                pgf-${ver_pgf}.zip              rmd160 4b52c180937c4ad9668ebbf2265e227663a47682 \
-                beamer-${ver_beamer}.zip        rmd160 d333be434ba877c8dff98a21c4d079b92d8ee735 \
-                hyperref.tds-${ver_hyperref}.zip rmd160 cc16595639d7954695bc5bf534a848ea258fe928 \
-                oberdiek.tds-${ver_oberdiek}.zip rmd160 7e3ce56ddc56280e0dff7675056c38e830b26dd9 \
-                ifxetex.tds-${ver_ifxetex}.zip  rmd160 fd7d3891400a2b5b3f06c185a15dbde0e6c31450 \
-                pstricks-${ver_pstricks}.zip    rmd160 c5d29384354ac285ed7b23e297c655cd1b8cbad0 \
-                powerdot-${ver_powerdot}.zip    rmd160 6df0eb5f8c61ee0a92dba9ce3d3184202785018b
-
-depends_lib     port:gd2 \
-                port:libpaper \
-                port:libpng \
-                port:ncurses \
-                port:perl5 \
-                port:t1lib \
-                port:zlib
-depends_build   port:ghostscript-fonts-hiragino \
-                port:nkf
-#               bin:bash:bash
-#               bin:bison:bison
-#               bin:flex:flex
-#               port:gmake
-#               port:gpatch
-depends_run     port:ghostscript-fonts-hiragino \
-                port:t1utils \
-                port:texi2html \
-                port:texinfo
-
-conflicts       texlive-common
-
-default_variants    +otf
-
-if {![variant_isset yu]} {
-    default_variants    +hiragino
-}
-
-if {[variant_isset euc] || [variant_isset sjis] || [variant_isset utf8]} {
-    # nop
-} else {
-    default_variants    +utf8
-}
-
-pre-fetch {
-    if {[variant_isset yu]} {
-        if {${os.platform} eq "darwin" && ${os.major} >= 13} {
-            # nop
-        } else {
-            return -code error "variant +yu is supported on Mavericks or later only"
-        }
-    }
-}
-
-extract.only    ${distname}${extract.suffix}
-post-extract {
-    foreach f {cmap-gs871.tar.gz
-               mappingresources4pdf_2unicode-20091208.tar.Z
-               mappingresources4pdf_other-20091208.tar.Z} {
-        system "cd ${worksrcpath} && gzip -dc ${distpath}/${f} | tar --no-same-owner -xf -"
-    }
-    #move ${worksrcpath}/MappingOther/Adobe-CNS1-ETen-B5 ${worksrcpath}/MappingOther/Adobe-CNS1-ETenms-B5
-}
-
-post-patch {
-    eval copy [glob ${filespath}/archive/*] ${worksrcpath}/archive/
-    eval copy [glob ${filespath}/security/*] ${worksrcpath}/security/
-    foreach f {dvipdfmx-${ver_dvipdfmx}.tar.gz
-               dvipsk-${ver_dvipsk}.tar.gz
-               txfonts-${ver_txfonts}.zip
-               pxfonts-${ver_pxfonts}.zip
-               tipa-${ver_tipa}.zip
-               cm-super-${ver_cm-super}.zip
-               utopia-${ver_utopia}.zip
-               fourier-GUT-${ver_fourier}.zip
-               mh-${ver_mh}.zip
-               xcolor-${ver_xcolor}.zip
-               pgf-${ver_pgf}.zip
-               beamer-${ver_beamer}.zip
-               hyperref.tds-${ver_hyperref}.zip
-               oberdiek.tds-${ver_oberdiek}.zip
-               ifxetex.tds-${ver_ifxetex}.zip
-               pstricks-${ver_pstricks}.zip} {
-        eval copy ${distpath}/${f} ${worksrcpath}/archive/
-    }
-    copy ${distpath}/jsclasses-${ver_jsclasses}.zip ${worksrcpath}/macro/
-    delete ${worksrcpath}/macro/jsclasses-071024.zip
-    copy ${distpath}/powerdot-${ver_powerdot}.zip ${worksrcpath}/macro/
-    delete ${worksrcpath}/macro/powerdot.tar.gz
-    delete ${worksrcpath}/archive/dvipdfmx-20070409.tar.gz
-    delete ${worksrcpath}/archive/dvipsk-5.96-p1.7b.tar.gz
-}
-
-compiler.blacklist  *clang*
-
-configure.args  --without-texi2html \
-                --without-texinfo \
-                --with-system-gd \
-                --with-system-ncurses \
-                --with-system-pnglib \
-                --with-system-t1lib \
-                --with-system-zlib \
-                --without-x \
-                --without-xdvik
-#               --enable-shared
-
-configure {
-    set fd [open [file join ${worksrcpath} my_option] w 0644]
-    puts ${fd} "TMP_PREFIX=${workpath}/temp"
-    puts ${fd} "SRC_DIR=${distpath}"
-    puts ${fd} "PREFIX=${prefix}"
-    puts ${fd} "DATADIR=${prefix}/share"
-    puts ${fd} "CONF_OPTION=\"\$CONF_OPTION ${configure.args}\""
-    if {[variant_isset sjis]} {
-        puts ${fd} "KANJI_CODE=SJIS"
-    } elseif {[variant_isset utf8]} {
-        puts ${fd} "KANJI_CODE=UTF8"
-    } else {
-        puts ${fd} "KANJI_CODE=EUC"
-    }
-    if {[variant_isset motif] || [variant_isset xaw] || [variant_isset xaw3d] || [variant_isset nextaw]} {
-        # nop
-    } else {
-        puts ${fd} "XDVI=echo"
-        puts ${fd} "PXDVI=echo"
-    }
-    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 CFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH"
-
-# Ticket #35957, #39334
-    puts ${fd} "CC=\"${configure.cc}\""
-    puts ${fd} "CXX=\"${configure.cxx}\""
-    puts ${fd} "CPP=\"${configure.cpp}\""
-    puts ${fd} "export CC CXX CPP"
-
-    close ${fd}
-}
-
-build.target    all0
-use_parallel_build  no
-pre-build {
-    if {[variant_isset otf]} {build.target-append otf}
-    build.target-append babel fonty
-
-    foreach d {texmf .texmf-var .texmf-config} {
-        if {[file isdirectory "$env(HOME)/${d}"]} {
-            ui_msg ""
-            ui_msg " Personal texmf directory is detected. ($env(HOME)/${d}) "
-            ui_msg " Be careful. It may cause a build error. "
-            ui_msg ""
-        }
-    }
-}
-
-test.run    yes
-
-destroot {
-    system "(cd ${workpath}/temp; tar -cf - bin include lib share) | (cd ${destroot}${prefix}; tar --no-same-owner -xf -)"
-    system "(cd ${workpath}/temp; tar -cf - info man) | (cd ${destroot}${prefix}/share; tar --no-same-owner -xf -)"
-    delete ${destroot}${prefix}/share/info/dir
-
-    copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/ptex-hiragino.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/ptex-yu.map
-    copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
-    copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-yuEmbed.map
-    if {[variant_isset otf]} {
-        copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/otf-hiragino.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/otf-yu.map
-        copy ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/utf-hiragino.map ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/utf-yu.map
-    }
-
-    foreach {hira yu} {HiraMinPro-W3  YuMin-Medium.otf
-                       HiraKakuPro-W6 YuGo-Bold.otf} {
-        reinplace "s|${hira}|${yu}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/ptex-yu.map
-        if {[variant_isset otf]} {
-            reinplace "s|${hira}|${yu}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/utf-yu.map
-        }
-    }
-
-    foreach {mori hira yu} {Ryumin-Light     HiraMinPro-W3.otf  YuMin-Medium.otf
-                            GothicBBB-Medium HiraKakuPro-W3.otf YuGo-Medium.otf
-                            FutoMinA101-Bold HiraMinPro-W6.otf  YuMin-Demibold.otf
-                            FutoGoB101-Bold  HiraKakuPro-W6.otf YuGo-Bold.otf
-                            Jun101-Light     HiraMaruPro-W4.otf HiraMaruPro-W4.otf} {
-        reinplace "s|${mori}|${hira}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-hiraginoEmbed.map
-        reinplace "s|${mori}|${yu}|g"   ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/morisawa-yuEmbed.map
-        if {[variant_isset otf]} {
-            reinplace "s|${hira}|${yu}|g" ${destroot}${prefix}/share/texmf/fonts/map/dvipdfm/otf-yu.map
-        }
-    }
-    foreach d {texmf texmf-config} {
-        if {[file exists ${destroot}${prefix}/share/${d}/web2c/updmap.cfg]} {
-            reinplace "s|^\\(KanjiMap morisawa.map\\)$|\\1\\\n#! KanjiMap morisawa-hiraginoEmbed.map\\\n#! KanjiMap morisawa-yuEmbed.map|" ${destroot}${prefix}/share/${d}/web2c/updmap.cfg
-        }
-    }
-
-    # I would like to keep this backward compatibility for a while.
-    system "cd ${destroot}${prefix} && patch -p0 < ${filespath}/oldfmtfiles.diff"
-    foreach f {ptex platex} {
-        foreach e {euc jis sjis utf8} {
-            ln -s ptex ${destroot}${prefix}/bin/${f}-${e}
-        }
-    }
-
-    system "cd ${destroot}${prefix}/share/texmf/packages/jsclasses && patch -p0 < ${filespath}/minijs_sty-20100317.diff"
-
-    # Update ls-R, map and fmt files (before packaging)
-    set destroot_var "PATH=\"${destroot}${prefix}/bin:$env(PATH)\" TEXMFMAIN=${destroot}${prefix}/share/texmf LD_LIBRARY_PATH=${destroot}${prefix}/lib"
-    system "${destroot_var} mktexlsr"
-    system "${destroot_var} fmtutil-sys --all"
-
-    # Modify mktex.opt to force use of varfonts
-    reinplace "s|MT_FEATURES=appendonlydir|MT_FEATURES=appendonlydir:varfonts|g" ${destroot}${prefix}/share/texmf/web2c/mktex.opt
-
-    # Add a directory for local enhancements
-    xinstall -m 755 -d ${destroot}${prefix}/share/texmf-local
-    system "touch ${destroot}${prefix}/share/texmf-local/.ptetex3-${ver_ptetex3}"
-}
-post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc
-    ln -s ../texmf/doc/ptetex ${destroot}${prefix}/share/doc/ptetex3
-}
-
-post-activate {
-    system "ranlib ${prefix}/lib/libkpathsea.a"
-    system "ranlib ${prefix}/lib/libptexenc.a"
-
-    system "${prefix}/bin/mktexlsr"
-
-    foreach f {tipa.map} {
-        system "${prefix}/bin/updmap-sys --enable MixedMap ${f} --nomkmap || true"
-    }
-    foreach f {cm-super-t1.map cm-super-ts1.map cm-super-t2a.map cm-super-t2b.map cm-super-t2c.map cm-super-x2.map fourier.map} {
-        system "${prefix}/bin/updmap-sys --enable Map ${f} --nomkmap || true"
-    }
-
-    if {[variant_isset hiragino]} {
-        system "${prefix}/bin/updmap-sys --setoption kanjiEmbed hiragino --nomkmap || true" 
-        system "${prefix}/bin/updmap-sys --disable morisawa.map --nomkmap || true"
-        system "${prefix}/bin/updmap-sys --enable KanjiMap morisawa-hiraginoEmbed.map --nomkmap || true"
-        system "${prefix}/bin/updmap-sys --disable morisawa-yuEmbed.map --nomkmap || true"
-    } elseif {[variant_isset yu]} {
-        system "${prefix}/bin/updmap-sys --setoption kanjiEmbed yu --nomkmap || true"
-        system "${prefix}/bin/updmap-sys --disable morisawa.map --nomkmap || true"
-        system "${prefix}/bin/updmap-sys --disable morisawa-hiraginoEmbed.map --nomkmap || true"
-        system "${prefix}/bin/updmap-sys --enable KanjiMap morisawa-yuEmbed.map --nomkmap || true"
-    } else {
-        system "${prefix}/bin/updmap-sys --setoption kanjiEmbed noEmbed --nomkmap || true"
-        system "${prefix}/bin/updmap-sys --enable morisawa.map --nomkmap || true"
-        system "${prefix}/bin/updmap-sys --disable morisawa-hiraginoEmbed.map --nomkmap || true"
-        system "${prefix}/bin/updmap-sys --disable morisawa-yuEmbed.map --nomkmap || true"
-    }
-
-    system "${prefix}/bin/updmap-sys"
-    system "${prefix}/bin/fmtutil-sys --all"
-}
-
-universal_variant   no
-
-variant hiragino conflicts yu description {Use Hiragino fonts for typesetting} {}
-variant yu conflicts hiragino description {Use Yu fonts for typesetting (experimental; not recommended)} {}
-
-variant otf description {Install otf.sty} {}
-
-variant euc conflicts sjis utf8 description {Set the default character encoding to EUC-JP} {}
-variant sjis conflicts euc utf8 description {Set the default character encoding to Shift_JIS} {}
-variant utf8 conflicts euc sjis description {Set the default character encoding to UTF-8} {}
-
-variant motif conflicts xaw xaw3d nextaw description {Use Motif widget toolkit to build xdvi} {
-    depends_lib-append port:fontconfig port:freetype port:jpeg port:libiconv
-    depends_lib-append lib:libXm:openmotif
-    configure.args-delete --without-x --without-xdvik
-    configure.args-append --with-xdvi-x-toolkit=motif
-}
-variant xaw conflicts motif xaw3d nextaw description {Use Xaw to build xdvi} {
-    depends_lib-append port:fontconfig port:freetype port:jpeg port:libiconv
-    depends_lib-append port:xorg-libXaw
-    configure.args-delete --without-x --without-xdvik
-    configure.args-append --with-xdvi-x-toolkit=xaw
-}
-variant xaw3d conflicts motif xaw nextaw description {Use Xaw3d to build xdvi} {
-    depends_lib-append port:fontconfig port:freetype port:jpeg port:libiconv
-    depends_lib-append port:Xaw3d
-    configure.args-delete --without-x --without-xdvik
-    configure.args-append --with-xdvi-x-toolkit=xaw3d
-}
-variant nextaw conflicts motif xaw xaw3d description {Use neXtaw to build xdvi} {
-    depends_lib-append port:fontconfig port:freetype port:jpeg port:libiconv
-    depends_lib-append port:neXtaw
-    configure.args-delete --without-x --without-xdvik
-    configure.args-append --with-xdvi-x-toolkit=neXtaw
-}
-
-platform darwin 9 {}
-
-notes "
-This port is based on (p)teTeX, which is no longer maintained.
-If there is no special reason, it is highly recommended to use TeXLive.
-"
-
-livecheck.type      regex
-livecheck.url       "http://tutimura.ath.cx/~nob/tex/ptetex/ptetex3/?C=M;O=D"
-livecheck.version   ${ver_ptetex3}
-livecheck.regex     ptetex3-(\[0-9\]+)\\.tar
+name                pTeX
+version             20110314
+revision            12
+epoch               ${version}

Modified: users/dports/ports/tex/ptex-sfmacros/Portfile
===================================================================
--- users/dports/ports/tex/ptex-sfmacros/Portfile	2015-07-13 21:06:45 UTC (rev 138599)
+++ users/dports/ports/tex/ptex-sfmacros/Portfile	2015-07-13 21:21:22 UTC (rev 138600)
@@ -1,89 +1,92 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem      1.0
+PortSystem          1.0
+PortGroup           texlive 1.0
 
-name            ptex-sfmacros
-version         0
-categories      tex print japanese
-maintainers     nomaintainer
-description     Tategumi/Tateyoko/Kunten packages written by Shinsaku Fujita.
-long_description \
-                ${description}
-platforms       darwin
-homepage        http://homepage3.nifty.com/xymtex/fujitas2/texlatex/
-master_sites    http://homepage3.nifty.com/xymtex/fujitas2/texlatex/tategumi/:tategumi \
-                http://homepage3.nifty.com/xymtex/fujitas2/texlatex/tateyoko/:tateyoko \
-                http://homepage3.nifty.com/xymtex/fujitas2/texlatex/kunten/:kunten
-distfiles       furikana.sty:tategumi \
-                furiknkt.sty:tategumi \
-                tnamisen.sty:tategumi \
-                tsayusen.sty:tategumi \
-                tundline.sty:tategumi \
-                j-uline.sty:tategumi \
-                jundline.sty:tategumi \
-                kyakuchu.sty:tategumi \
-                tochu.sty:tategumi \
-                kochu.sty:tategumi \
-                warichu.sty:tategumi \
-                sfkanbun.sty:tategumi \
-                burasage.sty:tategumi \
-                shiika.sty:tategumi \
-                tkokugo.sty:tategumi \
-                \
-                anaume.sty:tateyoko \
-                daijihng.sty:tateyoko \
-                daihon.sty:tateyoko \
-                haiku.sty:tateyoko \
-                jdkintou.sty:tateyoko \
-                sfdanrak.sty:tateyoko \
-                sfletter.sty:tateyoko \
-                sfrreki.sty:tateyoko \
-                sfrreki2.sty:tateyoko \
-                sfseikyu.sty:tateyoko \
-                sftabulr.sty:tateyoko \
-                tatesuji.sty:tateyoko \
-                \
-                sfsyoten.lzh:kunten \
-                sfoikomi.lzh:kunten
-checksums       furikana.sty rmd160 b52a3b1e3a263802a4d17330f4908f5a8c0c1fd9 \
-                furiknkt.sty rmd160 c111775ac56f5c3125db928d667a8e52e8704eba \
-                tnamisen.sty rmd160 6bc8d4e5da61920a85d92aab8da5b2f2da8e036e \
-                tsayusen.sty rmd160 68d9c7345242d7f35f597ed52c9daca8cddff289 \
-                tundline.sty rmd160 1f9ca766fd6128cd86c9ed41d8536a69864c6ec3 \
-                j-uline.sty rmd160 7b7e538ad27021af50417d0764d50ee4819175bd \
-                jundline.sty rmd160 5f4a6ee5a11521cb5d4c8283097ada77bc078364 \
-                kyakuchu.sty rmd160 a9e2111f27f97312257ef296fd0f9566a56cff63 \
-                tochu.sty rmd160 c58bb2f823a0f6423a4c4436ee94b42526b27119 \
-                kochu.sty rmd160 a7ab69fbb7b61a1bf015d21c57872bbcda5d8a16 \
-                warichu.sty rmd160 a4aefb80b7fac7aa9ac83156815e774baa659382 \
-                sfkanbun.sty rmd160 09f7af10b9ffbcc1681a971d3d576ba5bf84c2ee \
-                burasage.sty rmd160 d36fc140842cc2ed62200361e44458c334087721 \
-                shiika.sty rmd160 d12bb5b93db7258e577f6edb1a60636ce7e347c2 \
-                tkokugo.sty rmd160 ed27a9290dc4f3ffa9836b7e006f363f93d93120 \
-                \
-                anaume.sty rmd160 78ea3892e15374b32f7260232090117b307044b0 \
-                daijihng.sty rmd160 3544e63efc32d45e482e8d06fcee7ab6075881b4 \
-                daihon.sty rmd160 fca897e21ae03a5db8352489a282b10cc810286e \
-                haiku.sty rmd160 a15a915055789c9dc4b7899525148b83a35b264f \
-                jdkintou.sty rmd160 e0849c0faecd5f1750e0dd5cbaa6af87cb6aac93 \
-                sfdanrak.sty rmd160 43e595e064b3186c164c97e013ac129e658c86f3 \
-                sfletter.sty rmd160 f890c0181d6204c5d1b98c0df2812bdb347160fa \
-                sfrreki.sty rmd160 12c4d5ccda346bc7eb2f2d45de44cfc54fa48d85 \
-                sfrreki2.sty rmd160 7ce24864ad903d5c626fd62f6cb235722abbf131 \
-                sfseikyu.sty rmd160 881597c43494404e49c94a91c7c2225c9a5521d7 \
-                sftabulr.sty rmd160 1e19c5897a87694e278468cf88a4584e343a139d \
-                tatesuji.sty rmd160 d979833d9a1ee25716a219cdafc68f9d38137e2e \
-                \
-                sfsyoten.lzh rmd160 064eebbf7c64745fbaa740b372272005a2cedcd1 \
-                sfoikomi.lzh rmd160 16e28d78cf135987d03edcf4614541dcbd78ee49
+name                ptex-sfmacros
+version             0
+revision            1
+categories          tex print japanese
+maintainers         nomaintainer
+description         Tategumi/Tateyoko/Kunten packages written by Shinsaku Fujita.
+long_description    ${description}
+platforms           darwin
+homepage            http://homepage3.nifty.com/xymtex/fujitas2/texlatex/
+master_sites        http://homepage3.nifty.com/xymtex/fujitas2/texlatex/tategumi/:tategumi \
+                    http://homepage3.nifty.com/xymtex/fujitas2/texlatex/tateyoko/:tateyoko \
+                    http://homepage3.nifty.com/xymtex/fujitas2/texlatex/kunten/:kunten
+distfiles           furikana.sty:tategumi \
+                    furiknkt.sty:tategumi \
+                    tnamisen.sty:tategumi \
+                    tsayusen.sty:tategumi \
+                    tundline.sty:tategumi \
+                    j-uline.sty:tategumi \
+                    jundline.sty:tategumi \
+                    kyakuchu.sty:tategumi \
+                    tochu.sty:tategumi \
+                    kochu.sty:tategumi \
+                    warichu.sty:tategumi \
+                    sfkanbun.sty:tategumi \
+                    burasage.sty:tategumi \
+                    shiika.sty:tategumi \
+                    tkokugo.sty:tategumi \
+                    \
+                    anaume.sty:tateyoko \
+                    daijihng.sty:tateyoko \
+                    daihon.sty:tateyoko \
+                    haiku.sty:tateyoko \
+                    jdkintou.sty:tateyoko \
+                    sfdanrak.sty:tateyoko \
+                    sfletter.sty:tateyoko \
+                    sfrreki.sty:tateyoko \
+                    sfrreki2.sty:tateyoko \
+                    sfseikyu.sty:tateyoko \
+                    sftabulr.sty:tateyoko \
+                    tatesuji.sty:tateyoko \
+                    \
+                    sfsyoten.lzh:kunten \
+                    sfoikomi.lzh:kunten
+checksums           furikana.sty rmd160 b52a3b1e3a263802a4d17330f4908f5a8c0c1fd9 \
+                    furiknkt.sty rmd160 c111775ac56f5c3125db928d667a8e52e8704eba \
+                    tnamisen.sty rmd160 6bc8d4e5da61920a85d92aab8da5b2f2da8e036e \
+                    tsayusen.sty rmd160 68d9c7345242d7f35f597ed52c9daca8cddff289 \
+                    tundline.sty rmd160 1f9ca766fd6128cd86c9ed41d8536a69864c6ec3 \
+                    j-uline.sty  rmd160 7b7e538ad27021af50417d0764d50ee4819175bd \
+                    jundline.sty rmd160 5f4a6ee5a11521cb5d4c8283097ada77bc078364 \
+                    kyakuchu.sty rmd160 a9e2111f27f97312257ef296fd0f9566a56cff63 \
+                    tochu.sty    rmd160 c58bb2f823a0f6423a4c4436ee94b42526b27119 \
+                    kochu.sty    rmd160 a7ab69fbb7b61a1bf015d21c57872bbcda5d8a16 \
+                    warichu.sty  rmd160 a4aefb80b7fac7aa9ac83156815e774baa659382 \
+                    sfkanbun.sty rmd160 09f7af10b9ffbcc1681a971d3d576ba5bf84c2ee \
+                    burasage.sty rmd160 d36fc140842cc2ed62200361e44458c334087721 \
+                    shiika.sty   rmd160 d12bb5b93db7258e577f6edb1a60636ce7e347c2 \
+                    tkokugo.sty  rmd160 ed27a9290dc4f3ffa9836b7e006f363f93d93120 \
+                    \
+                    anaume.sty   rmd160 78ea3892e15374b32f7260232090117b307044b0 \
+                    daijihng.sty rmd160 3544e63efc32d45e482e8d06fcee7ab6075881b4 \
+                    daihon.sty   rmd160 fca897e21ae03a5db8352489a282b10cc810286e \
+                    haiku.sty    rmd160 a15a915055789c9dc4b7899525148b83a35b264f \
+                    jdkintou.sty rmd160 e0849c0faecd5f1750e0dd5cbaa6af87cb6aac93 \
+                    sfdanrak.sty rmd160 43e595e064b3186c164c97e013ac129e658c86f3 \
+                    sfletter.sty rmd160 f890c0181d6204c5d1b98c0df2812bdb347160fa \
+                    sfrreki.sty  rmd160 12c4d5ccda346bc7eb2f2d45de44cfc54fa48d85 \
+                    sfrreki2.sty rmd160 7ce24864ad903d5c626fd62f6cb235722abbf131 \
+                    sfseikyu.sty rmd160 881597c43494404e49c94a91c7c2225c9a5521d7 \
+                    sftabulr.sty rmd160 1e19c5897a87694e278468cf88a4584e343a139d \
+                    tatesuji.sty rmd160 d979833d9a1ee25716a219cdafc68f9d38137e2e \
+                    \
+                    sfsyoten.lzh rmd160 064eebbf7c64745fbaa740b372272005a2cedcd1 \
+                    sfoikomi.lzh rmd160 16e28d78cf135987d03edcf4614541dcbd78ee49
 
-depends_lib     port:pTeX
-depends_build   port:lha \
-                port:nkf
+depends_build       port:lha \
+                    port:nkf \
+                    port:texlive-common
+depends_run         port:texlive-common
 
 extract.only
 
-use_configure   no
+use_configure       no
 
 build {
     file mkdir ${worksrcpath}/tategumi
@@ -108,13 +111,12 @@
 
 destroot {
     foreach d {tategumi tateyoko sfsyoten sfoikomi} {
-        xinstall -m 0755 -d ${destroot}${prefix}/share/texmf-local/ptex/platex/fujita/${d}
-        foreach f [glob ${worksrcpath}/${d}/*] {
-            xinstall -m 0644 ${f} ${destroot}${prefix}/share/texmf-local/ptex/platex/fujita/${d}
-        }
+        set dir ${destroot}${texlive_texmfports}/ptex/platex/fujita/${d}
+        xinstall -m 0755 -d ${dir}
+        xinstall -m 0644 {*}[glob ${worksrcpath}/${d}/*] ${dir}
     }
 }
 
 post-activate {
-    system "mktexlsr"
+    texlive.mktexlsr
 }


Property changes on: users/dports/ports/tex/texlive-bin
___________________________________________________________________
Modified: svn:mergeinfo
   - /users/dports/ports/tex/texlive-bin:79479-82096,94196-95338,105625-107914,120353-121679
   + /trunk/dports/tex/texlive-bin:136210-138599
/users/dports/ports/tex/texlive-bin:79479-82096,94196-95338,105625-107914,120353-121679
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150713/341e0e82/attachment-0001.html>


More information about the macports-changes mailing list