Skip to content

Commit 4ee49e1

Browse files
committed
update README.md with homebrew info
- Don't forget to update the homebrew forumula via PR when a new version is tagged. - Currently the --HEAD option will fail when installing with homebrew due to the recent resolution of #103. Line # 30 of json-fortran.rb needs to be replaced with `system "make", "check" if build.with? "test"` as the `all` target no longer will build the test executables as per #103
1 parent 0c0062e commit 4ee49e1

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

README.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,29 @@ modern Fortran. The source code is a single Fortran module file ([json_module.F
4444
Download [![GitHub release](https://img.shields.io/github/release/jacobwilliams/json-fortran.svg?style=plastic)](https://github.com/jacobwilliams/json-fortran/releases)
4545
--------------------
4646

47-
Download the official versioned releases [here](https://github.com/jacobwilliams/json-fortran/releases/latest). Or, get the latest development code from the master branch [here](https://github.com/jacobwilliams/json-fortran.git).
47+
Download the official versioned releases
48+
[here](https://github.com/jacobwilliams/json-fortran/releases/latest).
49+
Or, get the latest development code from the master branch
50+
[here](https://github.com/jacobwilliams/json-fortran.git).
51+
52+
__NEWS:__ As of June 7, 2015,
53+
[json-fortran](https://github.com/jacobwilliams/json-fortran) can be
54+
downloaded and installed with the [homebrew](https://brew.sh) package
55+
manager on Mac OS X. Once [homebrew](https://brew.sh) is installed,
56+
make sure that the formulae are up to date, view the package options
57+
and caveates, and install the
58+
[json-fortran formula](http://braumeister.org/formula/json-fortran):
59+
60+
```bash
61+
brew update
62+
brew info json-fortran
63+
brew install --with-unicode-support json-fortran
64+
```
65+
66+
_Please note_, if you wish to support usage of json-fortran with
67+
multiple Fortran compilers, please follow the CMake installation
68+
instructions below, as the homebrew installation is only intended to
69+
support a single Fortran compiler. Cheers! :beers:
4870

4971
[top](#json-fortran-)
5072
Building the library
@@ -66,9 +88,9 @@ Currently, several ways are provided to build the jsonfortran library
6688

6789
* A [Visual Studio](http://www.visualstudio.com) project is included for building the library (and unit tests) on Windows with the Intel Fortran Compiler. The project has been tested with Visual Studio 2010 and 2013.
6890

69-
* An [SCons](http://www.scons.org) `SConstruct` file. The library and unit tests are built by typing `scons` and tested by typing `scons test`. The library may be optionally installed by `scons install` or `sudo scons install`.
91+
* A [SCons](http://www.scons.org) `SConstruct` file. The library and unit tests are built by typing `scons` and tested by typing `scons test`. The library may be optionally installed by `scons install` or `sudo scons install`.
7092

71-
* Additionally, a [CMake](http://www.cmake.org) build
93+
* A [CMake](http://www.cmake.org) build
7294
system is provided. This build system has been tested on Mac and Linux
7395
using the Intel Fortran Compiler, gfortran 4.9, and NAG Fortran 6.0. It has not been
7496
tested on Windows. This CMake based build provides an install target,

0 commit comments

Comments
 (0)