New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

source: trunk/dports/aqua/emacs-app/Portfile @ 128056

Revision 127178, 2.5 KB checked in by hum@…, 3 weeks ago (diff)

emacs-app: update to 24.4; delete obsolete patches and variants; update inline patch.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5
6name                emacs-app
7version             24.4
8categories          aqua editors
9maintainers         hum css openmaintainer
10
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.
19
20homepage            http://www.gnu.org/software/emacs/
21platforms           darwin
22license             GPL-3+
23
24master_sites        gnu:emacs
25distname            emacs-${version}
26dist_subdir         emacs
27checksums           rmd160  52bec18c5f8e4ee7ea3b765620c0f19d2ee524c9 \
28                    sha256  a93c4f1afa5ade65a0c9723975f0a5fdf6641cc4638fdafb3ed9942c23c32cc6
29
30conflicts           emacs-app-devel
31
32depends_build       port:pkgconfig
33
34depends_lib         port:ncurses \
35                    port:libxml2 \
36                    port:gnutls
37
38patchfiles          patch-src_emacs.c.diff
39
40post-patch {
41    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/src/emacs.c
42}
43
44configure.args      --with-ns --without-x --without-dbus
45
46universal_variant   no
47
48destroot {
49    system -W ${worksrcpath} "make install"
50    xinstall -m 755 -d ${destroot}${applications_dir}
51    file copy ${worksrcpath}/nextstep/Emacs.app \
52        ${destroot}${applications_dir}
53    file copy ${filespath}/site-start.el \
54        ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp
55    reinplace "s|__PREFIX__|${prefix}|g" \
56        ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp/site-start.el
57}
58
59variant inline description {Apply inline patch} {
60    # inline patch for 24.4
61    # http://plamo.linet.gr.jp/~matsuki/mac/emacs-24.4-20140820-inline.patch.bz2
62    patchfiles-append   patch-inline-24.4-20140820.diff
63    # http://sakito.jp/emacs/emacs24.html
64    depends_build-append port:autoconf port:automake port:libtool
65    build.target        bootstrap
66}
67
68default_variants    +inline
69
70livecheck.type      regex
71livecheck.url       http://ftp.gnu.org/gnu/emacs/?C=M&O=D
72livecheck.regex     emacs-(\\d+\\.\\d+\\w*)\\.tar
Note: See TracBrowser for help on using the repository browser.