Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2013 17:06:39 +0100
From:      Marc van Woerkom <marc.vanwoerkom@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Need advice on porting an Erlang application (Zotonic CMS)
Message-ID:  <CAF_qSm7wVwwQZfBHKCQZ=yim_gYEnWy41UZsMiqUO4KpEsSoQw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi Matthew,

thanks for the advice.

I already looked into some of the other erlang ports, to see how the
other guys did it and got some insight, probably not enough. :-)

ejabberd seems to be an easier case, but it does interesting things in
its pkg-plist file, which I need to look at and understand.

So far I think I end up with something similar to database/riak.

Regards,
Marc

----

On 11/27/13 14:17, Marc van Woerkom wrote:
>* To make this work under FreeBSD, I need to find a healthy compromise
*>* beetween the FreeBSD standards (as written down in the FreeBSD Porter's
*>* Handbook and the hier(7) man page) and the directory layout assumed by
*>* Erlang/OTP and rebar, modulo some differences between the Linux and FreeBSD
*>* operating systems.
*
Take a look at net-im/ejabberd which is another erlang application in
the ports.  That installs most of the .beam and other working files
under /usr/local/lib/erlang/lib/ -- AFAIK, the layout under there is
pretty much standard for erlang apps.

	Cheers,

	Matthew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF_qSm7wVwwQZfBHKCQZ=yim_gYEnWy41UZsMiqUO4KpEsSoQw>