New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82215


Ignore:
Timestamp:
08/10/11 08:13:56 (4 years ago)
Author:
takanori@…
Message:

lookup:

  • version bump to 1.4+media-20110625
  • add +with_emacs_app variant
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/lookup/Portfile

    r75959 r82215  
    55name            lookup 
    66set ver_main    1.4 
    7 set ver_media   20110207 
     7set ver_media   20110625 
    88version         ${ver_main}-media-${ver_media} 
    99categories      textproc japanese 
     
    1818                ftp://fsci.fuk.kindai.ac.jp/pub/ptex/utils/:texinfo-jp 
    1919distfiles       ${name}-${ver_main}+media-${ver_media}${extract.suffix}:lookup 
    20 checksums       ${name}-${ver_main}+media-${ver_media}${extract.suffix} md5     ca3549eb336fb22d4ee686ad9f23b66b \ 
    21                                                                         sha1    6d89a73eb07b04f9be84576875af2f48ddd5e5b9 \ 
    22                                                                         rmd160  c7a154f3b8dad0cfc4f4f781c011398553df8a45 \ 
     20checksums       ${name}-${ver_main}+media-${ver_media}${extract.suffix} md5     2873617afb6b630521543fefcad2837e \ 
     21                                                                        sha1    b70a66ff0b045f1e17e23005a27aae135ed79518 \ 
     22                                                                        rmd160  965c19d5905c82b61872283b191d11709643ff35 \ 
    2323                texinfo.tex md5 7ca3fd1e1070bc3c169782874283757d \ 
    2424                            sha1 c28232842fb669c328fd79954ea288ff7c1aa595 \ 
     
    6868universal_variant   no 
    6969 
    70 variant with_carbon_emacs_package description {Use this package with Carbon Emacs Package} { 
     70variant with_emacs_app conflicts with_carbon_emacs_package description {Use this package with Emacs.app} { 
     71    depends_lib-delete      path:bin/emacs:emacs 
     72    depends_lib-append      path:${applications_dir}/Emacs.app/Contents/MacOS/Emacs:emacs-app 
     73    set dir_info            ${applications_dir}/Emacs.app/Contents/Resources/info 
     74    configure.env           EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs 
     75    configure.args          --with-lispdir=${applications_dir}/Emacs.app/Contents/Resources/site-lisp/lookup \ 
     76                            --infodir=${dir_info} 
     77    notes-append "Before using lookup with emacs.app, put \"(setq exec-path (cons \"${prefix}/bin\" exec-path))\" in your .emacs" 
     78} 
     79 
     80variant with_carbon_emacs_package conflicts with_emacs_app description {Use this package with Carbon Emacs Package} { 
    7181    depends_lib-delete      path:bin/emacs:emacs 
    7282    set dir_info            /Applications/Emacs.app/Contents/Resources/info 
     
    8090    } 
    8191    destroot.violate_mtree  yes 
     92    notes-append "This variant has been deprecated. Please consider using +with_emacs_app instead." 
    8293} 
    8394 
     
    93104    } 
    94105    post-build { 
    95         system "cd ${worksrcpath}/texi && ptex lookup.texi && texindex lookup.?? && ptex lookup.texi && dvipdfmx lookup.dvi" 
     106        # A little glitch remains in the concept index page 
     107        # because MacPorts's texinfo isn't jtexinfo (i.e. texinfo with Japanese support.) 
     108        system "cd ${worksrcpath}/texi && ptex -kanji=utf8 lookup.texi && texindex lookup.?? && ptex -kanji=utf8 lookup.texi && dvipdfmx lookup.dvi" 
    96109    } 
    97110    post-destroot { 
Note: See TracChangeset for help on using the changeset viewer.