source: trunk/dports/editors/org-mode/Portfile @ 123566

Last change on this file since 123566 was 123566, checked in by dports@…, 5 years ago

org-mode: update to v8.2.7c

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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 123566 2014-08-11 03:36:42Z dports@macports.org $
3
4PortSystem          1.0
5PortGroup           elisp 1.0
6
7name                org-mode
8version             8.2.7c
9categories          editors
10license             GPL-3+
11maintainers         dports
12platforms           darwin
13supported_archs     noarch
14
15description         an Emacs Mode for Notes, Project Planning, and Authoring
16long_description    Org is a mode for keeping notes, maintaining TODO lists, \
17                    and doing project planning with a fast and effective     \
18                    plain-text system.
19
20homepage            http://orgmode.org/
21master_sites        ${homepage}
22distname            org-${version}
23
24checksums           rmd160  29c137b971f679c65e039261cd6c2d9e72b18f22 \
25                    sha256  3330cafcd83e532114a5738c347a4e40b47ea0d180fc54bb7c73068e3b2a0e63
26
27depends_lib         path:${emacs_binary}:${emacs_binary_provider}
28depends_build       port:texinfo
29
30
31configure {
32    system -W ${worksrcpath} "make local.mk"
33    reinplace "s|EMACS  = emacs|EMACS   = ${emacs_binary}|g" ${worksrcpath}/local.mk
34}
35
36destroot.destdir    prefix=${destroot}${prefix}/share
37destroot.target     install-lisp install-info
38
39variant contrib description "Include additional contributed packages" {
40    # Install all contrib elisp files except those listed in org_skip_contrib
41    #   org-jira and ob-oz have build dependencies not available in MacPorts
42    post-configure {
43        set org_skip_contrib "ob-oz org-jira"
44       
45        set localmk [open ${worksrcpath}/local.mk "a"]
46        puts $localmk "ORG_ADD_CONTRIB="
47
48        foreach f [glob -directory ${worksrcpath}/contrib/lisp -tails *.el] {
49            set x [file rootname $f]
50            if {[lsearch -exact $org_skip_contrib $x] == -1} {
51                puts $localmk "ORG_ADD_CONTRIB+=$x"
52            }
53        }
54       
55        close $localmk
56    }
57}
58
59livecheck.type      regex
60livecheck.url       ${homepage}
61livecheck.regex     {Stable version <b>([\w.]+)</b>}
Note: See TracBrowser for help on using the repository browser.