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

Last change on this file since 113005 was 104704, checked in by jeremyhu@…, 7 years ago

gnutls: Bump to 3.1.10 and revbump dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
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: Portfile 104704 2013-04-01 03:14:41Z jeremyhu@macports.org $
3
4PortSystem          1.0
5
6name                emacs-app
7version             24.3
8revision            1
9categories          aqua editors
10maintainers         hum css openmaintainer
11
12description         The GNU Emacs text editor (Cocoa version)
13
14long_description    GNU Emacs is a self-documenting, customizable, extensible  \
15                    real-time display editor. This is a port of the latest GNU \
16                    Emacs source to the OpenStep (or NeXTstep) APIs, as        \
17                    implemented by Cocoa on OS X. It differs from Carbon ports \
18                    of GNU Emacs in that it makes a more concerted attempt     \
19                    from the ground up to follow OS X desktop and UI conventions.
20
21homepage            http://www.gnu.org/software/emacs/
22platforms           darwin
23license             GPL-3+
24
25master_sites        gnu:emacs
26distname            emacs-${version}
27dist_subdir         emacs
28checksums           rmd160  b67e847861002bbb76ae6588ff659408763313cf \
29                    sha256  0098ca3204813d69cd8412045ba33e8701fa2062f4bff56bedafc064979eef41
30
31conflicts           emacs-app-devel
32
33depends_build       port:pkgconfig
34
35depends_lib         port:ncurses \
36                    port:libxml2 \
37                    port:gnutls
38
39patchfiles          patch-src_emacs.c.diff
40
41post-patch {
42    reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/src/emacs.c
43}
44
45configure.args      --with-ns --without-x --without-dbus
46
47universal_variant   no
48
49destroot {
50    system -W ${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    reinplace "s|__PREFIX__|${prefix}|g" \
57        ${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp/site-start.el
58}
59
60variant fullscreen description {Obsolete compatibility variant} {}
61
62variant oldfullscreen description {Obsolete compatibility variant} {}
63
64variant inline description {Apply inline patch from MacEmacsJP} {
65    # inline patch fetched from MacEmacsJP.
66    # patch-macemacsjp-inline.diff
67    # http://svn.sourceforge.jp/svnroot/macemacsjp/inline_patch/trunk/emacs-inline.patch
68    # revision 582 (2012/05/20) modified for emacs-24.3.
69    patchfiles-append   patch-macemacsjp-inline.diff
70    # http://sakito.jp/emacs/emacs24.html
71    depends_build-append port:autoconf port:automake port:libtool
72    build.target        bootstrap
73}
74
75variant jpfont requires inline description {Obsolete compatibility variant} {}
76
77variant patches requires inline description {Obsolete compatibility variant} {}
78
79default_variants    +inline
80
81livecheck.type      regex
82livecheck.url       http://ftp.gnu.org/gnu/emacs/?C=M&O=D
83livecheck.regex     emacs-(\\d+\\.\\d+\\w*)\\.tar
Note: See TracBrowser for help on using the repository browser.