Ticket #42205: Portfile

File Portfile, 1.8 KB (added by aphor (Jeremy McMillan), 11 years ago)

math/rstudio-server Portfile

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
5PortGroup github 1.0
6PortGroup cmake 1.0
7
8version                 0.98.493
9github.setup            rstudio rstudio ${version} v
10name                    rstudio-server
11#fetch.type              git
12checksums           rmd160  45159d4177f79aad045937c0484c0ee3f994de9f \
13                    sha256  d72dc6f0d4a9a6c03fb7a8e5f70c80883b0091dee61d4f3271f6a46b77466c31
14
15categories              math science
16maintainers             gmail.com:jeremy.mcmillan
17license                 AGPLv3
18
19description             RStudio server IDE webUI
20long_description        RStudio is an open-source IDE environment for the R statistical \
21                        software. This port provides a web based user interface that can \
22                        host multiple persistent resumable users' sessions on a large \
23                        machine, shared across the web.
24
25homepage                http://www.rstudio.com/ide/server/
26platforms               darwin
27supported_archs         x86_64
28
29depends_build           port:cmake
30depends_lib             port:R \
31                        port:boost
32
33universal_variant       no
34
35configure.pre_args-append \
36                        -DRSTUDIO_TARGET=Server
37                       
38pre-configure {
39            system -W ${worksrcpath}/dependencies/common "./install-dictionaries"
40            system -W ${worksrcpath}/dependencies/common "./install-mathjax"
41            system -W ${worksrcpath}/dependencies/common "./install-gwt"
42            }
43
44# workarounds for OSX boost preprocessing/linking idiosyncrasies
45configure.cppflags      "-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0"
46configure.ldflags       "-lboost_atomic-mt"
47