Ticket #32151: Portfile

File Portfile, 1.6 KB (added by vishketan@…, 13 years ago)
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
5name                org-mode-devel
6version             devel
7categories          editors
8maintainers         phw openmaintainer
9conflicts                       org-mode
10platforms           darwin
11supported_archs     noarch
12
13description         the development version of an Emacs Mode for Notes, Project Planning, and Authoring
14long_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
18homepage            http://orgmode.org/
19master_sites        ${homepage}
20fetch.type          git
21git.url             git://orgmode.org/org-mode.git
22
23depends_lib         port:emacs
24depends_build       port:texinfo
25
26variant 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
32use_configure       no
33
34destroot.destdir    prefix=${destroot}${prefix}
35destroot.target     install-lisp install-info
36
37livecheck.type          none
38
39post-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
44pre-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}