[106036] trunk/dports/editors/org-mode/Portfile
dports at macports.org
dports at macports.org
Mon May 13 14:46:16 PDT 2013
Revision: 106036
https://trac.macports.org/changeset/106036
Author: dports at macports.org
Date: 2013-05-13 14:46:16 -0700 (Mon, 13 May 2013)
Log Message:
-----------
org-mode: use elisp portgroup to support both emacs and emacs-app
(see #38728 and #39019)
Modified Paths:
--------------
trunk/dports/editors/org-mode/Portfile
Modified: trunk/dports/editors/org-mode/Portfile
===================================================================
--- trunk/dports/editors/org-mode/Portfile 2013-05-13 21:42:14 UTC (rev 106035)
+++ trunk/dports/editors/org-mode/Portfile 2013-05-13 21:46:16 UTC (rev 106036)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup elisp 1.0
name org-mode
version 7.9.4
@@ -23,11 +24,15 @@
checksums rmd160 a3c65d8d83de882b41d77c499a9ecf0b80bf3cc3 \
sha256 2a1b2b9cf5a9c3606aede007d05d5ee978b42d88cfeaaf28f45ae11c21f81848
-depends_lib port:emacs
+depends_lib path:${emacs_binary}:${emacs_binary_provider}
depends_build port:texinfo
-use_configure no
+configure {
+ system -W ${worksrcpath} "make local.mk"
+ reinplace "s|EMACS = emacs|EMACS = ${emacs_binary}|g" ${worksrcpath}/local.mk
+}
+
destroot.destdir prefix=${destroot}${prefix}/share
destroot.target install-lisp install-info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130513/05d8d5e4/attachment.html>
More information about the macports-changes
mailing list