Ticket #20486: emacs.diff
File emacs.diff, 2.5 KB (added by nerdling (Jeremy Lavergne), 15 years ago) |
---|
-
Portfile
old new 1 # $Id : Portfile 57407 2009-09-10 19:52:45Z snc@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 5 name emacs 6 version 2 2.36 version 23.1 7 7 revision 1 8 8 categories editors 9 9 maintainers gmail.com:darren.bane … … 19 19 platforms darwin freebsd 20 20 homepage http://www.gnu.org/software/emacs/emacs.html 21 21 master_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 22 checksums md5 a620d4452769d04ad8864d662f34f8dd 23 configure.args --with-x-toolkit=no 27 24 28 25 depends_lib port:ncurses 29 26 … … 31 28 xinstall -d ${destroot}${prefix}/share/emacs/${version}/leim 32 29 delete ${destroot}${prefix}/bin/ctags 33 30 delete ${destroot}${prefix}/share/man/man1/ctags.1 34 if {[variant_isset carbon]} {35 global version36 delete ${destroot}${prefix}/bin/emacs ${destroot}${prefix}/bin/emacs-${version}37 }38 31 } 39 32 40 33 platform darwin 7 { 41 34 depends_build-append port:autoconf 42 35 } 43 36 44 livecheck. typeregex37 livecheck.check regex 45 38 livecheck.url http://ftp.gnu.org/gnu/emacs/?C=M&O=D 46 39 livecheck.regex ${name}-(\\d+\\.\\d+\\w*)\\.tar 47 40 48 41 variant x11 description {Builds emacs as a X11 program with Lucid widgets} { 49 configure.args-delete --with out-x42 configure.args-delete --with-x-toolkit=no 50 43 configure.args-append --with-x-toolkit=lucid \ 51 --without-carbon \52 44 --with-xpm \ 53 45 --with-jpeg \ 54 46 --with-tiff \ 55 47 --with-gif \ 56 48 --with-png 57 49 depends_lib-append port:xorg-libXmu \ 58 port:xorg-libXaw \59 50 port:xpm \ 60 51 lib:libjpeg:jpeg \ 61 52 lib:libtiff:tiff \ … … 76 67 lib:libglib.2:glib2 77 68 } 78 69 79 variant carbon conflicts x11 description {Adds a Mac (Carbon) version of Emacs} {80 configure.args-delete --without-carbon81 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_ATSUI87 }88