Ignore:
Timestamp:
May 14, 2013, 4:01:37 AM (7 years ago)
Author:
dports@…
Message:

org-mode: add +contrib variant (#38728)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/org-mode/Portfile

    r106036 r106061  
    3737destroot.target     install-lisp install-info
    3838
     39variant contrib description "Include additional contributed packages" {
     40    # Install all contrib elisp files except those listed in org_skip_contrib
     41    # Skip org-jira because it has a build dependency on jira, which is not
     42    # in MacPorts
     43    post-configure {
     44        set org_skip_contrib "org-jira"
     45       
     46        set localmk [open ${worksrcpath}/local.mk "a"]
     47        puts $localmk "ORG_ADD_CONTRIB="
     48
     49        foreach f [glob -directory ${worksrcpath}/contrib/lisp -tails *.el] {
     50            set x [file rootname $f]
     51            if {[lsearch -exact $org_skip_contrib $x] == -1} {
     52                puts $localmk "ORG_ADD_CONTRIB+=$x"
     53            }
     54        }
     55       
     56        close $localmk
     57    }
     58}
     59
    3960livecheck.type      regex
    4061livecheck.url       ${homepage}
Note: See TracChangeset for help on using the changeset viewer.