d8664ccffe
This port is indented for developers and port maintainers. It is a copy of lang/erlang with a few differences: - Nothing is installed in $PREFIX/bin - Libraries are installed in $PREFIX/lib/erlang15 - You have to change your PATH to actually use it - Support for building PLTs is removed - Other ports are not supposed to install anything inside this environment What is this for: - Building Erlang applications using the R15 runtime, once R16 is committed (think Riak). - Building Erlang applications when there are conflicts with modules provided by other ports (for example, the RabbitMQ client libraries conflict with the server code installed by net/rabbitmq). - Testing new Erlang versions before the main port is upgraded.
25 lines
383 B
Bash
25 lines
383 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: epmd
|
|
# REQUIRE: LOGIN
|
|
#
|
|
# Add the following line to /etc/rc.conf to enable epmd:
|
|
#
|
|
# epmd_enable="YES"
|
|
#
|
|
|
|
epmd_enable=${epmd_enable:-"NO"}
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=epmd
|
|
rcvar=epmd_enable
|
|
|
|
procname=%%PREFIX%%/bin/epmd
|
|
start_cmd="%%PREFIX%%/bin/epmd -daemon"
|
|
stop_cmd="%%PREFIX%%/bin/epmd -kill >/dev/null"
|
|
|
|
load_rc_config ${name}
|
|
run_rc_command "$1"
|