New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20486: emacs.diff

File emacs.diff, 2.5 KB (added by snc@…, 3 years ago)

diff with bob's portfile

  • Portfile

    old new  
    1 # $Id: Portfile 57407 2009-09-10 19:52:45Z snc@macports.org $ 
     1# $Id$ 
    22 
    33PortSystem 1.0 
    44 
    55name            emacs 
    6 version         22.3 
     6version         23.1 
    77revision        1 
    88categories      editors 
    99maintainers     gmail.com:darren.bane 
     
    1919platforms       darwin freebsd 
    2020homepage        http://www.gnu.org/software/emacs/emacs.html 
    2121master_sites    gnu 
    22 checksums       md5 aa8ba34f548cd78b35914ae5a7bb87eb 
    23 patchfiles      patch-Makefile.in.diff \ 
    24                 patch-leim-Makefile.in.diff 
    25 configure.args  --without-x \ 
    26                 --without-carbon 
     22checksums       md5 a620d4452769d04ad8864d662f34f8dd 
     23configure.args  --with-x-toolkit=no 
    2724 
    2825depends_lib     port:ncurses 
    2926 
     
    3128    xinstall -d ${destroot}${prefix}/share/emacs/${version}/leim 
    3229    delete ${destroot}${prefix}/bin/ctags 
    3330    delete ${destroot}${prefix}/share/man/man1/ctags.1 
    34     if {[variant_isset carbon]} { 
    35         global version 
    36         delete ${destroot}${prefix}/bin/emacs ${destroot}${prefix}/bin/emacs-${version} 
    37     } 
    3831} 
    3932 
    4033platform darwin 7 { 
    4134    depends_build-append    port:autoconf 
    4235} 
    4336 
    44 livecheck.type regex 
     37livecheck.check regex 
    4538livecheck.url   http://ftp.gnu.org/gnu/emacs/?C=M&O=D 
    4639livecheck.regex ${name}-(\\d+\\.\\d+\\w*)\\.tar 
    4740 
    4841variant x11 description {Builds emacs as a X11 program with Lucid widgets} { 
    49     configure.args-delete   --without-x 
     42    configure.args-delete   --with-x-toolkit=no 
    5043    configure.args-append   --with-x-toolkit=lucid \ 
    51                             --without-carbon \ 
    5244                            --with-xpm \ 
    5345                            --with-jpeg \ 
    5446                            --with-tiff \ 
    5547                            --with-gif \ 
    5648                            --with-png 
    5749    depends_lib-append      port:xorg-libXmu \ 
    58                             port:xorg-libXaw \ 
    5950                            port:xpm \ 
    6051                            lib:libjpeg:jpeg \ 
    6152                            lib:libtiff:tiff \ 
     
    7667                            lib:libglib.2:glib2 
    7768} 
    7869 
    79 variant carbon conflicts x11 description {Adds a Mac (Carbon) version of Emacs} { 
    80     configure.args-delete   --without-carbon 
    81     configure.args-append   --with-carbon \ 
    82                             --enable-carbon-app=${applications_dir} 
    83 } 
    84  
    85 variant atsui requires carbon description {Adds a Mac (Carbon) version of Emacs that uses the ATSUI protocol} { 
    86     configure.cflags-append -DUSE_ATSUI 
    87 } 
    88