source: trunk/dports/math/ess/Portfile

Last change on this file was 115925, checked in by macsforever2000@…, 4 years ago

ess: Fix for emacs_app variant. (#42117)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 115925 2014-01-14 16:11:51Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name             ess
7version          13.09-1
8categories       math science
9maintainers      sdf.org:jrblevin openmaintainer
10license          GPL-3+
11platforms        darwin
12supported_archs  noarch
13
14description      Emacs mode for statistical programming and analysis
15
16long_description \
17    ESS is a GNU Emacs and XEmacs mode for interactive statistical programming \
18    and data analysis. Languages supported: the S family (S, S-PLUS and R), \
19    SAS, BUGS/JAGS, Stata and XLispStat.
20
21homepage         http://ess.r-project.org/
22
23master_sites     http://ess.r-project.org/downloads/ess/ \
24                 http://stat.ethz.ch/ESS/downloads/ess/
25
26extract.suffix   .tgz
27
28checksums        rmd160 e86dd26932de00ee2f224dcc1c8eb0de78e7c2be \
29                 sha256 3ad92bc0235329dae5236a674a7048bf4afab2b2894356ffb43a363fe0944113
30
31depends_lib      port:emacs
32depends_build    port:texinfo
33use_configure    no
34
35destroot.args-append        PREFIX=${destroot}${prefix}
36
37variant emacs_app description "If your Emacs is emacs-app" {
38    depends_lib-append      port:emacs-app
39    depends_lib-delete      port:emacs
40    destroot.args-append    EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
41    destroot.args-append    LISPDIR=${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp/ess
42    destroot.args-append    SITELISP=${destroot}${applications_dir}/Emacs.app/Contents/Resources/site-lisp
43    destroot.args-append    INFODIR=${destroot}${applications_dir}/Emacs.app/Contents/Resources/info/ess
44    destroot.args-append    ETCDIR=${destroot}${applications_dir}/Emacs.app/Contents/Resources/etc/ess
45}
46
47notes "To use this, put the following into your ~/.emacs:\n\
48    (require 'ess-site)"
49
50livecheck.type  regex
51livecheck.url   ${homepage}/index.php?Section=download
52livecheck.regex {Download ESS Version ([-\d.]+)}
Note: See TracBrowser for help on using the repository browser.