Changeset 89440 for trunk/dports


Ignore:
Timestamp:
Jan 29, 2012, 10:29:46 AM (12 years ago)
Author:
hum@…
Message:

emacs-app: reformat only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/emacs-app/Portfile

    r89435 r89440  
    22# $Id$
    33
    4 PortSystem 1.0
     4PortSystem          1.0
    55
    6 name            emacs-app
    7 version         23.4
    8 categories      aqua editors
    9 license         GPL-3+
    10 maintainers     css hum openmaintainer
    11 description     The GNU Emacs text editor (Cocoa version)
     6name                emacs-app
     7version             23.4
     8categories          aqua editors
     9maintainers         css hum openmaintainer
    1210
    13 long_description        GNU Emacs is a self-documenting, customizable,      \
    14         extensible real-time display editor. This is a port of the latest   \
    15         GNU Emacs source to the OpenStep (or NeXTstep) APIs, as implemented \
    16         by Cocoa on OS X. It differs from Carbon ports of GNU Emacs in that \
    17         it makes a more concerted attempt from the ground up to follow OS X \
    18         desktop and UI conventions.
     11description         The GNU Emacs text editor (Cocoa version)
     12
     13long_description    GNU Emacs is a self-documenting, customizable, extensible  \
     14                    real-time display editor. This is a port of the latest GNU \
     15                    Emacs source to the OpenStep (or NeXTstep) APIs, as        \
     16                    implemented by Cocoa on OS X. It differs from Carbon ports \
     17                    of GNU Emacs in that it makes a more concerted attempt     \
     18                    from the ground up to follow OS X desktop and UI conventions.
    1919
    2020# Note that this distribution can support GNUstep as well, but that
    2121# configuration is untested at this time.
    2222
    23 platforms       darwin
    24 homepage        http://www.gnu.org/software/emacs/
    25 master_sites    gnu:emacs
    26 dist_subdir     emacs
    27 distname        emacs-${version}
     23homepage            http://www.gnu.org/software/emacs/
     24platforms           darwin
     25license             GPL-3+
     26
     27master_sites        gnu:emacs
     28distname            emacs-${version}
     29dist_subdir         emacs
    2830checksums           rmd160  5fb7e4cd4270a524b8723ad86a145a0e47336bf7 \
    2931                    sha256  b9a2b8434052771f797d2032772eba862ff9aa143029efc72295170607289c18
    3032
    31 depends_lib     port:ncurses
    32 use_parallel_build      yes
     33depends_lib         port:ncurses
    3334
    34 configure.args  --with-ns --without-x --without-dbus
    35 
    36 patchfiles      patch-src_emacs.c.diff
     35patchfiles          patch-src_emacs.c.diff
    3736
    3837if {${configure.compiler} == "clang"} {
    3938    patchfiles-append   patch-clang.diff
     39}
     40
     41post-patch {
     42    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/src/emacs.c
     43}
     44
     45configure.args      --with-ns --without-x --without-dbus
     46
     47use_parallel_build  yes
     48
     49destroot {
     50    system "cd ${worksrcpath} && make install"
     51    xinstall -m 755 -d ${destroot}${applications_dir}
     52    file copy ${worksrcpath}/nextstep/Emacs.app \
     53        ${destroot}${applications_dir}
     54    file copy ${filespath}/site-start.el \
     55        ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp
     56}
     57
     58post-destroot {
     59    reinplace "s|__PREFIX__|${prefix}|g" \
     60        ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp/site-start.el
    4061}
    4162
     
    4465#   http://www.sanityinc.com/full-screen-support-for-cocoa-emacs-on-osx
    4566variant fullscreen description {Add fullscreen patch} {
    46     patchfiles-append patch-fullscreen.diff
     67    patchfiles-append   patch-fullscreen.diff
    4768}
    4869
     
    5273# patch-macemacsjp-inline.diff <= emacs-inline.patch
    5374# patch-macemacsjp-jpfont.diff <= font.patch
    54 
    5575variant inline description {Add inline patch from MacEmacsJP} {
    56     patchfiles-append patch-macemacsjp-inline.diff
     76    patchfiles-append   patch-macemacsjp-inline.diff
    5777}
    5878
    5979variant jpfont description {Add Japanese font patch from MacEmacsJP} {
    60     patchfiles-append patch-macemacsjp-jpfont.diff
     80    patchfiles-append   patch-macemacsjp-jpfont.diff
    6181}
    6282
     
    6484
    6585platform darwin 11 {
    66    patchfiles-append    patch-fix-title-bar.diff
     86   patchfiles-append    patch-fix-title-bar.diff
    6787   # patch-lion-fullscreen.diff
    6888   #   https://github.com/downloads/typester/emacs/emacs-23-lion-fullscreen-test.patch
    6989   if {[variant_isset fullscreen]} {
    70        patchfiles-append    patch-lion-fullscreen.diff
     90       patchfiles-append   patch-lion-fullscreen.diff
    7191   }
    72    configure.cflags-append      -fno-pie -O2
    73    configure.ldflags-append     -fno-pie
    74 }
    75 
    76 post-patch {
    77     reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/src/emacs.c
    78 }
    79 
    80 destroot {
    81         system "cd ${worksrcpath} && make install"
    82         xinstall -m 755 -d ${destroot}${applications_dir}
    83         file copy ${worksrcpath}/nextstep/Emacs.app \
    84                 ${destroot}${applications_dir}
    85         file copy ${filespath}/site-start.el \
    86                 ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp
    87 }
    88 
    89 post-destroot {
    90         reinplace "s|__PREFIX__|${prefix}|g" \
    91                 ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp/site-start.el
     92   configure.cflags-append   -fno-pie -O2
     93   configure.ldflags-append  -fno-pie
    9294}
    9395
Note: See TracChangeset for help on using the changeset viewer.