freebsd-ports/devel/devhelp/files/devhelp.sh
Koop Mast 9130d6b022 Update to 0.10.
Take over maintainership.
Add switches to build agains mozilla and firefox (borrowed from the galeon port).

Approved by:	rui AT ruilopes dot com (previous maintainer)
2005-06-18 12:23:25 +00:00

25 lines
369 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: devhelp
# REQUIRE: ldconfig
# KEYWORD: FreeBSD
. /etc/rc.subr
name=devhelp
start_cmd=devhelp_start
stop_cmd=:
[ -z "$devhelp_libdir" ] && devhelp_libdir="%%X11BASE%%/lib/%%MOZILLA%%"
devhelp_start() {
if [ -d "$devhelp_libdir" ]; then
/sbin/ldconfig -m "$devhelp_libdir"
fi
}
load_rc_config $name
run_rc_command "$1"