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 | |
---|
4 | PortSystem 1.0 |
---|
5 | name org-mode-devel |
---|
6 | version devel |
---|
7 | categories editors |
---|
8 | maintainers phw openmaintainer |
---|
9 | conflicts org-mode |
---|
10 | platforms darwin |
---|
11 | supported_archs noarch |
---|
12 | |
---|
13 | description the development version of an Emacs Mode for Notes, Project Planning, and Authoring |
---|
14 | long_description Org is a mode for keeping notes, maintaining TODO lists, \ |
---|
15 | and doing project planning with a fast and effective \ |
---|
16 | plain-text system. |
---|
17 | |
---|
18 | homepage http://orgmode.org/ |
---|
19 | master_sites ${homepage} |
---|
20 | fetch.type git |
---|
21 | git.url git://orgmode.org/org-mode.git |
---|
22 | |
---|
23 | depends_lib port:emacs |
---|
24 | depends_build port:texinfo |
---|
25 | |
---|
26 | variant emacs_app description "If your Emacs is emacs-app" { |
---|
27 | depends_lib-append port:emacs-app |
---|
28 | depends_lib-delete port:emacs |
---|
29 | destroot.args EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs |
---|
30 | } |
---|
31 | |
---|
32 | use_configure no |
---|
33 | |
---|
34 | destroot.destdir prefix=${destroot}${prefix} |
---|
35 | destroot.target install-lisp install-info |
---|
36 | |
---|
37 | livecheck.type none |
---|
38 | |
---|
39 | post-activate { |
---|
40 | file rename ${prefix}/share/info/org ${prefix}/share/info/org.info |
---|
41 | system "${prefix}/bin/install-info ${prefix}/share/info/org.info ${prefix}/share/info/dir" |
---|
42 | } |
---|
43 | |
---|
44 | pre-deactivate { |
---|
45 | system "${prefix}/bin/install-info --delete ${prefix}/share/info/org.info ${prefix}/share/info/dir" |
---|
46 | file rename ${prefix}/share/info/org.info ${prefix}/share/info/org |
---|
47 | } |
---|