Ticket #34713: Portfile

File Portfile, 1.7 KB (added by jrblevin@…, 12 years ago)
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$
3
4PortSystem 1.0
5
6name             ess
7version          12.04-3
8categories       math science
9maintainers      nomaintainer
10license          {GPL-2 GPL-3}
11platforms        darwin
12
13description      ESS is an Emacs mode for statistical programming and analysis.
14
15long_description \
16    ESS is a GNU Emacs and XEmacs mode for interactive statistical programming \
17    and data analysis. Languages supported: the S family (S, S-PLUS and R), \
18    SAS, BUGS/JAGS, Stata and XLispStat.
19
20homepage         http://ess.r-project.org/
21
22master_sites     http://ess.r-project.org/downloads/ess/ \
23                 http://stat.ethz.ch/ESS/downloads/ess/
24
25extract.suffix   .tgz
26
27checksums        rmd160  c9b1668cf7d8bcd2ace5f864dd69aab09ed8526a \
28                 sha256  cefe758860a5a0ac4b5fe56479825a6e68c06e442cd569f55131fd99c9db40b5
29
30depends_lib      port:emacs
31
32configure {}
33
34build {}
35
36destroot.args-append        PREFIX=${destroot}${prefix}
37
38variant emacs_app description "If your Emacs is emacs-app" {
39    depends_lib-append      port:emacs-app
40    depends_lib-delete      port:emacs
41    destroot.args-append    EMACS=/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
42    destroot.args-append    LISPDIR=${destroot}/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/ess
43    destroot.args-append    INFODIR=${destroot}/Applications/MacPorts/Emacs.app/Contents/Resources/info/ess
44    destroot.args-append    ETCDIR=${destroot}/Applications/MacPorts/Emacs.app/Contents/Resources/etc/ess
45}
46
47notes "To use this, put the following into your ~/.emacs:\n\
48    (require 'ess-site)"