| 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 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | PortGroup github 1.0 |
|---|
| 6 | PortGroup cmake 1.0 |
|---|
| 7 | |
|---|
| 8 | version 0.98.493 |
|---|
| 9 | github.setup rstudio rstudio ${version} v |
|---|
| 10 | name rstudio-server |
|---|
| 11 | #fetch.type git |
|---|
| 12 | checksums rmd160 45159d4177f79aad045937c0484c0ee3f994de9f \ |
|---|
| 13 | sha256 d72dc6f0d4a9a6c03fb7a8e5f70c80883b0091dee61d4f3271f6a46b77466c31 |
|---|
| 14 | |
|---|
| 15 | categories math science |
|---|
| 16 | maintainers gmail.com:jeremy.mcmillan |
|---|
| 17 | license AGPLv3 |
|---|
| 18 | |
|---|
| 19 | description RStudio server IDE webUI |
|---|
| 20 | long_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 | |
|---|
| 25 | homepage http://www.rstudio.com/ide/server/ |
|---|
| 26 | platforms darwin |
|---|
| 27 | supported_archs x86_64 |
|---|
| 28 | |
|---|
| 29 | depends_build port:cmake |
|---|
| 30 | depends_lib port:R \ |
|---|
| 31 | port:boost |
|---|
| 32 | |
|---|
| 33 | universal_variant no |
|---|
| 34 | |
|---|
| 35 | configure.pre_args-append \ |
|---|
| 36 | -DRSTUDIO_TARGET=Server |
|---|
| 37 | |
|---|
| 38 | pre-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 |
|---|
| 45 | configure.cppflags "-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0" |
|---|
| 46 | configure.ldflags "-lboost_atomic-mt" |
|---|
| 47 | |
|---|