diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/Makefile /usr/ports/net-mgmt/ndpmon/Makefile --- /usr/ports/net-mgmt/ndpmon.orig/Makefile 2007-08-03 23:40:26.000000000 +0200 +++ /usr/ports/net-mgmt/ndpmon/Makefile 2007-08-24 22:24:50.000000000 +0200 @@ -7,6 +7,7 @@ PORTNAME= ndpmon PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,6 +18,7 @@ USE_GNOME= libxml2 USE_PERL5_RUN= yes +USE_RC_SUBR= ndpmonitor WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/ndpmonitor.in /usr/ports/net-mgmt/ndpmon/files/ndpmonitor.in --- /usr/ports/net-mgmt/ndpmon.orig/files/ndpmonitor.in 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/net-mgmt/ndpmon/files/ndpmonitor.in 2007-08-24 22:25:44.000000000 +0200 @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: ndpmonitor +# REQUIRE: DAEMON NETWORKING +# + +. %%RC_SUBR%% + +name="ndpmonitor" + +ndpmonitor_enable=${ndpmonitor_enable:-NO} + +load_rc_config $name + +rcvar=`set_rcvar` + +command="%%PREFIX%%/sbin/ndpmon >/dev/null &" + +required_files=/usr/local/etc/config_ndpmon.xml + +info "Running NDPMon." + +run_rc_command "$1"