Need advice on porting an Erlang application (Zotonic CMS)
Marc van Woerkom
marc.vanwoerkom at gmail.com
Wed Nov 27 16:06:42 UTC 2013
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
More information about the freebsd-ports
mailing list