Using the geode.rb file for Homebrew as a template, I was able to build a
Portfile for macports.org.

Does anyone have any feedback before I submit it to the macports repo?  No
code changes were necessary and it is using the same binary image the
Homebrew version is.  I've tested it as far as "Geode in 5 minutes" takes
you.

I classified it under 'databases' as that is where the cassandra port
lives.

The following is some output from running it.  It properly goes out and
locates a mirror to pull the tarball from.

kduling@kduling-mbpro:*~/tmp/ports*$ port info geode
> geode @1.0.0-incubating.M2 (databases)
> Description:          Apache Geode (incubating) is a data management
> platform that provides real-time, consistent access to data-intensive
> applications throughout widely distributed cloud
>                       architectures.
> Homepage:             https://geode.apache.org/
> Platforms:            darwin
> License:              Apache-2


kduling@kduling-mbpro:*~/tmp/ports*$ sudo port install geode
> --->  Fetching archive for geode
> --->  Attempting to fetch
> geode-1.0.0-incubating.M2_0.darwin_15.noarch.tbz2 from
> http://sea.us.packages.macports.org/macports/packages/geode
> --->  Attempting to fetch
> geode-1.0.0-incubating.M2_0.darwin_15.noarch.tbz2 from
> https://packages.macports.org/geode
> --->  Attempting to fetch
> geode-1.0.0-incubating.M2_0.darwin_15.noarch.tbz2 from
> http://mse.uk.packages.macports.org/sites/packages.macports.org/geode
> --->  Fetching distfiles for geode
> --->  Verifying checksums for geode
> --->  Extracting geode
> --->  Configuring geode
> --->  Building geode
> --->  Staging geode into destroot
> --->  Installing geode @1.0.0-incubating.M2_0
> --->  Activating geode @1.0.0-incubating.M2_0
> Please refer to http://geode.incubator.apache.org/docs/
> --->  Cleaning geode
> --->  Updating database of binaries
>


> kduling@kduling-mbpro:*~/tmp/ports*$ gfsh
>     _________________________     __
>    / _____/ ______/ ______/ /____/ /
>   / /  __/ /___  /_____  / _____  /
>  / /__/ / ____/  _____/ / /    / /
> /______/_/      /______/_/    /_/    v1.0.0-incubating.M2
> Monitor and Manage Apache Geode (incubating)
> gfsh>quit
> Exiting...
>


> kduling@kduling-mbpro:*~/tmp/ports*$ which gfsh
> /opt/local/bin/gfsh
> kduling@kduling-mbpro:*~/tmp/ports*$ sudo port uninstall geode
> --->  Deactivating geode @1.0.0-incubating.M2_0
> --->  Cleaning geode
> --->  Uninstalling geode @1.0.0-incubating.M2_0
> --->  Cleaning geode
> kduling@kduling-mbpro:*~/tmp/ports*$ which gfsh
> kduling@kduling-mbpro:*~/tmp/ports*$

Reply via email to