[106061] trunk/dports/editors/org-mode/Portfile
dports at macports.org
dports at macports.org
Mon May 13 21:01:37 PDT 2013
Revision: 106061
https://trac.macports.org/changeset/106061
Author: dports at macports.org
Date: 2013-05-13 21:01:37 -0700 (Mon, 13 May 2013)
Log Message:
-----------
org-mode: add +contrib variant (#38728)
Modified Paths:
--------------
trunk/dports/editors/org-mode/Portfile
Modified: trunk/dports/editors/org-mode/Portfile
===================================================================
--- trunk/dports/editors/org-mode/Portfile 2013-05-14 03:06:34 UTC (rev 106060)
+++ trunk/dports/editors/org-mode/Portfile 2013-05-14 04:01:37 UTC (rev 106061)
@@ -36,6 +36,27 @@
destroot.destdir prefix=${destroot}${prefix}/share
destroot.target install-lisp install-info
+variant contrib description "Include additional contributed packages" {
+ # Install all contrib elisp files except those listed in org_skip_contrib
+ # Skip org-jira because it has a build dependency on jira, which is not
+ # in MacPorts
+ post-configure {
+ set org_skip_contrib "org-jira"
+
+ set localmk [open ${worksrcpath}/local.mk "a"]
+ puts $localmk "ORG_ADD_CONTRIB="
+
+ foreach f [glob -directory ${worksrcpath}/contrib/lisp -tails *.el] {
+ set x [file rootname $f]
+ if {[lsearch -exact $org_skip_contrib $x] == -1} {
+ puts $localmk "ORG_ADD_CONTRIB+=$x"
+ }
+ }
+
+ close $localmk
+ }
+}
+
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {Stable version <b>([\w.]+)</b>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130513/7404fa7f/attachment.html>
More information about the macports-changes
mailing list