aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2012-08-06 07:19:36 +0800
committerdougb <dougb@FreeBSD.org>2012-08-06 07:19:36 +0800
commitf0d9f58b7f1825fb95236f427a6400ad54ad4b5e (patch)
tree1ed78841e1757014ccc09581c61c3683992d3f77 /sysutils
parent37b2a027341f57b44383efc005905ca41779dce6 (diff)
downloadfreebsd-ports-gnome-f0d9f58b7f1825fb95236f427a6400ad54ad4b5e.tar.gz
freebsd-ports-gnome-f0d9f58b7f1825fb95236f427a6400ad54ad4b5e.tar.zst
freebsd-ports-gnome-f0d9f58b7f1825fb95236f427a6400ad54ad4b5e.zip
Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/3dm/Makefile2
-rw-r--r--sysutils/3dm/files/3dm2.in (renamed from sysutils/3dm/files/3dm2.sh.in)0
-rw-r--r--sysutils/915resolution/Makefile2
-rw-r--r--sysutils/915resolution/files/915resolution.in (renamed from sysutils/915resolution/files/915resolution.sh.in)0
-rw-r--r--sysutils/afbinit/Makefile2
-rw-r--r--sysutils/afbinit/files/afbinit.in (renamed from sysutils/afbinit/files/afbinit.sh.in)0
-rw-r--r--sysutils/anacron/Makefile2
-rw-r--r--sysutils/anacron/files/anacron.in (renamed from sysutils/anacron/files/anacron.sh.in)0
-rw-r--r--sysutils/asusoled/Makefile2
-rw-r--r--sysutils/asusoled/files/asusoled.in (renamed from sysutils/asusoled/files/asusoled.sh.in)0
-rw-r--r--sysutils/asusoled/files/oled_clock.in (renamed from sysutils/asusoled/files/oled_clock.sh.in)0
-rw-r--r--sysutils/be_agent/Makefile2
-rw-r--r--sysutils/be_agent/files/be-agent.in (renamed from sysutils/be_agent/files/be-agent.sh.in)4
-rw-r--r--sysutils/bsd-splash-changer/Makefile2
-rw-r--r--sysutils/bsd-splash-changer/files/change_splash.in (renamed from sysutils/bsd-splash-changer/files/change_splash.sh.in)0
-rw-r--r--sysutils/freqsdwn/Makefile2
-rw-r--r--sysutils/freqsdwn/files/000.freqshpk.in (renamed from sysutils/freqsdwn/files/000.freqshpk.sh.in)0
-rw-r--r--sysutils/freqsdwn/files/freqshpd.in (renamed from sysutils/freqsdwn/files/freqshpd.sh.in)0
-rw-r--r--sysutils/fvcool/Makefile2
-rw-r--r--sysutils/fvcool/files/fvcool.in (renamed from sysutils/fvcool/files/fvcool.sh.in)0
-rw-r--r--sysutils/ganglia-monitor-core/Makefile4
-rw-r--r--sysutils/ganglia-monitor-core/files/gmetad.in (renamed from sysutils/ganglia-monitor-core/files/gmetad.sh.in)0
-rw-r--r--sysutils/ganglia-monitor-core/files/gmond.in (renamed from sysutils/ganglia-monitor-core/files/gmond.sh.in)0
-rw-r--r--sysutils/gkrellm2/Makefile2
-rw-r--r--sysutils/gkrellm2/files/gkrellmd.in (renamed from sysutils/gkrellm2/files/gkrellmd.sh.in)0
-rw-r--r--sysutils/mbmon/Makefile2
-rw-r--r--sysutils/mbmon/files/mbmon.in (renamed from sysutils/mbmon/files/mbmon.sh.in)0
-rw-r--r--sysutils/monit/Makefile2
-rw-r--r--sysutils/monit/files/monit.in (renamed from sysutils/monit/files/monit.sh.in)0
-rw-r--r--sysutils/msyslog/Makefile2
-rw-r--r--sysutils/msyslog/files/msyslogd.in (renamed from sysutils/msyslog/files/msyslogd.sh.in)0
-rw-r--r--sysutils/nagios-statd/Makefile2
-rw-r--r--sysutils/nagios-statd/files/nagiosstatd.in (renamed from sysutils/nagios-statd/files/nagiosstatd.sh.in)0
-rw-r--r--sysutils/netdump-server/Makefile2
-rw-r--r--sysutils/netdump-server/files/netdump-server.in (renamed from sysutils/netdump-server/files/netdump-server.sh.in)0
-rw-r--r--sysutils/nut/Makefile2
-rw-r--r--sysutils/nut/files/nut.in (renamed from sysutils/nut/files/nut.sh.in)0
-rw-r--r--sysutils/nut/files/nut_upslog.in (renamed from sysutils/nut/files/nut_upslog.sh.in)0
-rw-r--r--sysutils/nut/files/nut_upsmon.in (renamed from sysutils/nut/files/nut_upsmon.sh.in)0
-rw-r--r--sysutils/nut22/Makefile2
-rw-r--r--sysutils/nut22/files/nut.in (renamed from sysutils/nut22/files/nut.sh.in)0
-rw-r--r--sysutils/nut22/files/nut_upslog.in (renamed from sysutils/nut22/files/nut_upslog.sh.in)0
-rw-r--r--sysutils/nut22/files/nut_upsmon.in (renamed from sysutils/nut22/files/nut_upsmon.sh.in)0
-rw-r--r--sysutils/powerman/Makefile2
-rw-r--r--sysutils/powerman/files/powerman.in (renamed from sysutils/powerman/files/powerman.sh.in)0
-rw-r--r--sysutils/radmind/Makefile2
-rw-r--r--sysutils/radmind/files/radmind.in (renamed from sysutils/radmind/files/radmind.sh.in)0
-rw-r--r--sysutils/rsyncmanager/Makefile2
-rw-r--r--sysutils/rsyncmanager/files/rsyncmanager.in (renamed from sysutils/rsyncmanager/files/rsyncmanager.sh.in)4
-rw-r--r--sysutils/runit/Makefile2
-rw-r--r--sysutils/runit/files/runsvdir.in (renamed from sysutils/runit/files/runsvdir.sh.in)0
-rw-r--r--sysutils/sge60/Makefile2
-rw-r--r--sysutils/sge60/files/sge.in (renamed from sysutils/sge60/files/sge.sh.in)0
-rw-r--r--sysutils/sge61/Makefile2
-rw-r--r--sysutils/sge61/files/sge.in (renamed from sysutils/sge61/files/sge.sh.in)0
-rw-r--r--sysutils/sge62/Makefile2
-rw-r--r--sysutils/sge62/files/sge.in (renamed from sysutils/sge62/files/sge.sh.in)0
-rw-r--r--sysutils/symon/Makefile4
-rw-r--r--sysutils/symon/files/symon.in (renamed from sysutils/symon/files/symon.sh.in)0
-rw-r--r--sysutils/symon/files/symux.in (renamed from sysutils/symon/files/symux.sh.in)0
-rw-r--r--sysutils/syslog-ng-devel/Makefile2
-rw-r--r--sysutils/syslog-ng-devel/files/syslog-ng.in (renamed from sysutils/syslog-ng-devel/files/syslog-ng.sh.in)0
-rw-r--r--sysutils/syslog-ng/Makefile2
-rw-r--r--sysutils/syslog-ng/files/syslog-ng.in (renamed from sysutils/syslog-ng/files/syslog-ng.sh.in)0
-rw-r--r--sysutils/syslog-ng2/Makefile2
-rw-r--r--sysutils/syslog-ng2/files/syslog-ng.in (renamed from sysutils/syslog-ng2/files/syslog-ng.sh.in)0
-rw-r--r--sysutils/tenshi/Makefile2
-rw-r--r--sysutils/tenshi/files/tenshi.in (renamed from sysutils/tenshi/files/tenshi.sh.in)0
-rw-r--r--sysutils/torque/Makefile2
-rw-r--r--sysutils/torque/files/pbs_mom.in (renamed from sysutils/torque/files/pbs_mom.sh.in)0
-rw-r--r--sysutils/torque/files/pbs_sched.in (renamed from sysutils/torque/files/pbs_sched.sh.in)0
-rw-r--r--sysutils/torque/files/pbs_server.in (renamed from sysutils/torque/files/pbs_server.sh.in)0
-rw-r--r--sysutils/usermin/Makefile2
-rw-r--r--sysutils/usermin/files/usermin.in (renamed from sysutils/usermin/files/usermin.sh.in)0
-rw-r--r--sysutils/webmin/Makefile2
-rw-r--r--sysutils/webmin/files/webmin.in (renamed from sysutils/webmin/files/webmin.sh.in)0
76 files changed, 40 insertions, 38 deletions
diff --git a/sysutils/3dm/Makefile b/sysutils/3dm/Makefile
index 042ec654b4cd..6450191d5fba 100644
--- a/sysutils/3dm/Makefile
+++ b/sysutils/3dm/Makefile
@@ -17,7 +17,7 @@ DIST_SUBDIR= 3dm2
MAINTAINER= ports.maintainer@evilphi.com
COMMENT= 3ware RAID controller monitoring daemon and web server
-USE_RC_SUBR= 3dm2.sh
+USE_RC_SUBR= 3dm2
OPTIONS= SSLFIX "Install KB16625-patched binaries" On
diff --git a/sysutils/3dm/files/3dm2.sh.in b/sysutils/3dm/files/3dm2.in
index 93f0f65962dd..93f0f65962dd 100644
--- a/sysutils/3dm/files/3dm2.sh.in
+++ b/sysutils/3dm/files/3dm2.in
diff --git a/sysutils/915resolution/Makefile b/sysutils/915resolution/Makefile
index 8112ecd3aa9c..9ac099cb2c36 100644
--- a/sysutils/915resolution/Makefile
+++ b/sysutils/915resolution/Makefile
@@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= ehaupt
MAINTAINER= bahamasfranks@gmail.com
COMMENT= Resolution tool for Intel i915 video cards
-USE_RC_SUBR= 915resolution.sh
+USE_RC_SUBR= 915resolution
DOCS= README.txt LICENSE.txt chipset_info.txt changes.log
diff --git a/sysutils/915resolution/files/915resolution.sh.in b/sysutils/915resolution/files/915resolution.in
index 4878ebfa6f07..4878ebfa6f07 100644
--- a/sysutils/915resolution/files/915resolution.sh.in
+++ b/sysutils/915resolution/files/915resolution.in
diff --git a/sysutils/afbinit/Makefile b/sysutils/afbinit/Makefile
index 2f41e79db963..c38f76843778 100644
--- a/sysutils/afbinit/Makefile
+++ b/sysutils/afbinit/Makefile
@@ -26,7 +26,7 @@ MAINTAINER= marius@FreeBSD.org
COMMENT= Sun AFB aka Sun Elite 3D microcode firmware loader
ONLY_FOR_ARCHS= sparc64
-USE_RC_SUBR= afbinit.sh
+USE_RC_SUBR= afbinit
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig
PKGMESSAGE= ${WRKDIR}/pkg-message
diff --git a/sysutils/afbinit/files/afbinit.sh.in b/sysutils/afbinit/files/afbinit.in
index 6e23c9799813..6e23c9799813 100644
--- a/sysutils/afbinit/files/afbinit.sh.in
+++ b/sysutils/afbinit/files/afbinit.in
diff --git a/sysutils/anacron/Makefile b/sysutils/anacron/Makefile
index 6b9632e5d0c7..c20a0bcf8f82 100644
--- a/sysutils/anacron/Makefile
+++ b/sysutils/anacron/Makefile
@@ -17,7 +17,7 @@ COMMENT= Schedules periodic jobs on systems that are not permanently up
MAN8= anacron.8
MAN5= anacrontab.5
USE_GMAKE= yes
-USE_RC_SUBR= anacron.sh
+USE_RC_SUBR= anacron
SUB_FILES= pkg-message
post-patch:
diff --git a/sysutils/anacron/files/anacron.sh.in b/sysutils/anacron/files/anacron.in
index 918d68703403..918d68703403 100644
--- a/sysutils/anacron/files/anacron.sh.in
+++ b/sysutils/anacron/files/anacron.in
diff --git a/sysutils/asusoled/Makefile b/sysutils/asusoled/Makefile
index c93a6fe8b177..94c015c1a20d 100644
--- a/sysutils/asusoled/Makefile
+++ b/sysutils/asusoled/Makefile
@@ -18,7 +18,7 @@ COMMENT= Utility for ASUS USB OLED Display
RUN_DEPENDS= ${FONTDIR}/TTF/luxisr.ttf:${PORTSDIR}/x11-fonts/font-bh-ttf
USE_SDL= image sdl ttf
-USE_RC_SUBR= asusoled.sh oled_clock.sh
+USE_RC_SUBR= asusoled oled_clock
PORTDATA= asus.png asus_clock.png
PORTDOCS= README.FreeBSD
diff --git a/sysutils/asusoled/files/asusoled.sh.in b/sysutils/asusoled/files/asusoled.in
index b43223339368..b43223339368 100644
--- a/sysutils/asusoled/files/asusoled.sh.in
+++ b/sysutils/asusoled/files/asusoled.in
diff --git a/sysutils/asusoled/files/oled_clock.sh.in b/sysutils/asusoled/files/oled_clock.in
index d47d669f0eca..d47d669f0eca 100644
--- a/sysutils/asusoled/files/oled_clock.sh.in
+++ b/sysutils/asusoled/files/oled_clock.in
diff --git a/sysutils/be_agent/Makefile b/sysutils/be_agent/Makefile
index 8be885d53e36..9ea3f9a8243d 100644
--- a/sysutils/be_agent/Makefile
+++ b/sysutils/be_agent/Makefile
@@ -22,7 +22,7 @@ NO_BUILD= yes
ONLY_FOR_ARCHS= i386
NO_INSTALL_MANPAGES= yes
SUB_FILES= pkg-message
-USE_RC_SUBR= be-agent.sh
+USE_RC_SUBR= be-agent
PLIST_FILES= bin/agent.be \
etc/be-agent.cfg.sample
diff --git a/sysutils/be_agent/files/be-agent.sh.in b/sysutils/be_agent/files/be-agent.in
index 2562e6021d61..509b2f95ce7b 100644
--- a/sysutils/be_agent/files/be-agent.sh.in
+++ b/sysutils/be_agent/files/be-agent.in
@@ -1,15 +1,15 @@
#!/bin/sh
+
+# $FreeBSD$
#
# PROVIDE: be-agent
# REQUIRE: LOGIN
# BEFORE: DAEMON
# KEYWORD: shutdown
-
#
# Add the following lines to /etc/rc.conf to enable be-agent:
#
#be_agent_enable="YES"
-#
. /etc/rc.subr
diff --git a/sysutils/bsd-splash-changer/Makefile b/sysutils/bsd-splash-changer/Makefile
index 652d10fea9fd..11df6a0c200f 100644
--- a/sysutils/bsd-splash-changer/Makefile
+++ b/sysutils/bsd-splash-changer/Makefile
@@ -16,7 +16,7 @@ DISTFILES= # none
MAINTAINER= gamato@users.sf.net
COMMENT= Boot Splash Image Changer
-USE_RC_SUBR= change_splash.sh
+USE_RC_SUBR= change_splash
SUB_FILES= pkg-message
NO_BUILD= yes
diff --git a/sysutils/bsd-splash-changer/files/change_splash.sh.in b/sysutils/bsd-splash-changer/files/change_splash.in
index f4a5122f69d7..f4a5122f69d7 100644
--- a/sysutils/bsd-splash-changer/files/change_splash.sh.in
+++ b/sysutils/bsd-splash-changer/files/change_splash.in
diff --git a/sysutils/freqsdwn/Makefile b/sysutils/freqsdwn/Makefile
index 485851f25516..53af4d140573 100644
--- a/sysutils/freqsdwn/Makefile
+++ b/sysutils/freqsdwn/Makefile
@@ -21,7 +21,7 @@ RESTRICTED= See http://www.mitsubishielectric.co.jp/frequps/f_down/keiyaku.html
IGNORE= ${RESTRICTED}
.endif
-USE_RC_SUBR= freqshpd.sh 000.freqshpk.sh
+USE_RC_SUBR= freqshpd 000.freqshpk
PLIST_SUB= PORTNAME=${PORTNAME} CONFDIR=${CONFDIR}
SUB_LIST= PORTNAME=${PORTNAME} CONFDIR=${CONFDIR}
diff --git a/sysutils/freqsdwn/files/000.freqshpk.sh.in b/sysutils/freqsdwn/files/000.freqshpk.in
index 157c96def200..157c96def200 100644
--- a/sysutils/freqsdwn/files/000.freqshpk.sh.in
+++ b/sysutils/freqsdwn/files/000.freqshpk.in
diff --git a/sysutils/freqsdwn/files/freqshpd.sh.in b/sysutils/freqsdwn/files/freqshpd.in
index b3f44ba0000a..b3f44ba0000a 100644
--- a/sysutils/freqsdwn/files/freqshpd.sh.in
+++ b/sysutils/freqsdwn/files/freqshpd.in
diff --git a/sysutils/fvcool/Makefile b/sysutils/fvcool/Makefile
index b6772d9f755e..18264c7d5dc8 100644
--- a/sysutils/fvcool/Makefile
+++ b/sysutils/fvcool/Makefile
@@ -16,7 +16,7 @@ COMMENT= VCool for FreeBSD - Cooling software for AMD Athlon/Duron CPUs
ONLY_FOR_ARCHS= i386
GNU_CONFIGURE= yes
-USE_RC_SUBR= fvcool.sh
+USE_RC_SUBR= fvcool
SUB_FILES= pkg-message
SUB_LIST+= "PORTNAME=${PORTNAME}"
ALL_TARGET= fvcool
diff --git a/sysutils/fvcool/files/fvcool.sh.in b/sysutils/fvcool/files/fvcool.in
index 8d4c0cadc543..8d4c0cadc543 100644
--- a/sysutils/fvcool/files/fvcool.sh.in
+++ b/sysutils/fvcool/files/fvcool.in
diff --git a/sysutils/ganglia-monitor-core/Makefile b/sysutils/ganglia-monitor-core/Makefile
index ee4caf525c3e..0fda3ff272f1 100644
--- a/sysutils/ganglia-monitor-core/Makefile
+++ b/sysutils/ganglia-monitor-core/Makefile
@@ -57,9 +57,9 @@ GMOND_CONF= ${WRKDIR}/gmond.conf
.include <bsd.port.pre.mk>
-USE_RC_SUBR= gmond.sh
+USE_RC_SUBR= gmond
.if defined (WITH_GMETAD)
-USE_RC_SUBR+= gmetad.sh
+USE_RC_SUBR+= gmetad
.endif
.if defined (WITH_GMETAD)
diff --git a/sysutils/ganglia-monitor-core/files/gmetad.sh.in b/sysutils/ganglia-monitor-core/files/gmetad.in
index 77f42fc6bfb2..77f42fc6bfb2 100644
--- a/sysutils/ganglia-monitor-core/files/gmetad.sh.in
+++ b/sysutils/ganglia-monitor-core/files/gmetad.in
diff --git a/sysutils/ganglia-monitor-core/files/gmond.sh.in b/sysutils/ganglia-monitor-core/files/gmond.in
index a8f6dbe139de..a8f6dbe139de 100644
--- a/sysutils/ganglia-monitor-core/files/gmond.sh.in
+++ b/sysutils/ganglia-monitor-core/files/gmond.in
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 0ac1ca9a0e67..5610ce566178 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -21,7 +21,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
USE_GMAKE= yes
-USE_RC_SUBR= gkrellmd.sh
+USE_RC_SUBR= gkrellmd
WANT_GNOME= yes
USE_OPENSSL= yes # cannot set after bsd.port.pre.mk
diff --git a/sysutils/gkrellm2/files/gkrellmd.sh.in b/sysutils/gkrellm2/files/gkrellmd.in
index e588b2a6f54d..e588b2a6f54d 100644
--- a/sysutils/gkrellm2/files/gkrellmd.sh.in
+++ b/sysutils/gkrellm2/files/gkrellmd.in
diff --git a/sysutils/mbmon/Makefile b/sysutils/mbmon/Makefile
index 9f09727b6e29..a0abf62b3598 100644
--- a/sysutils/mbmon/Makefile
+++ b/sysutils/mbmon/Makefile
@@ -29,7 +29,7 @@ PORTDOCS= ChangeLog ChangeLog.jp ReadMe ReadMe.jp ReadMe.tech
OPTIONS= SMB "enable smb(4) support" on
.if ${PORTNAME} == "mbmon"
-USE_RC_SUBR= mbmon.sh
+USE_RC_SUBR= mbmon
.endif
.include <bsd.port.pre.mk>
diff --git a/sysutils/mbmon/files/mbmon.sh.in b/sysutils/mbmon/files/mbmon.in
index a06f60157ae4..a06f60157ae4 100644
--- a/sysutils/mbmon/files/mbmon.sh.in
+++ b/sysutils/mbmon/files/mbmon.in
diff --git a/sysutils/monit/Makefile b/sysutils/monit/Makefile
index 9f087ff2afa9..3e13723f79cf 100644
--- a/sysutils/monit/Makefile
+++ b/sysutils/monit/Makefile
@@ -18,7 +18,7 @@ MAN1= monit.1
GNU_CONFIGURE= yes
USE_BISON= build
USE_GMAKE= yes
-USE_RC_SUBR= ${PORTNAME}.sh
+USE_RC_SUBR= ${PORTNAME}
CONFIGURE_ENV= CONFIG_SHELL="${SH}" \
LOCALBASE="${LOCALBASE}"
diff --git a/sysutils/monit/files/monit.sh.in b/sysutils/monit/files/monit.in
index 83ecd7c959a2..83ecd7c959a2 100644
--- a/sysutils/monit/files/monit.sh.in
+++ b/sysutils/monit/files/monit.in
diff --git a/sysutils/msyslog/Makefile b/sysutils/msyslog/Makefile
index 50db50e69e47..6a7edf38e5d4 100644
--- a/sysutils/msyslog/Makefile
+++ b/sysutils/msyslog/Makefile
@@ -23,7 +23,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_RC_SUBR= msyslogd.sh
+USE_RC_SUBR= msyslogd
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_LDCONFIG= yes
MANCOMPRESSED= yes
diff --git a/sysutils/msyslog/files/msyslogd.sh.in b/sysutils/msyslog/files/msyslogd.in
index 49a413429ee9..49a413429ee9 100644
--- a/sysutils/msyslog/files/msyslogd.sh.in
+++ b/sysutils/msyslog/files/msyslogd.in
diff --git a/sysutils/nagios-statd/Makefile b/sysutils/nagios-statd/Makefile
index 0c8dd3b55b5a..63261dc2255a 100644
--- a/sysutils/nagios-statd/Makefile
+++ b/sysutils/nagios-statd/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= jims@bluenotch.com
COMMENT= Daemon/client to check remote host information for Nagios
USE_PYTHON= yes
-USE_RC_SUBR= nagiosstatd.sh
+USE_RC_SUBR= nagiosstatd
MAN1= nagios-stat.1
MAN8= nagios-statd.8
diff --git a/sysutils/nagios-statd/files/nagiosstatd.sh.in b/sysutils/nagios-statd/files/nagiosstatd.in
index 617f43df4463..617f43df4463 100644
--- a/sysutils/nagios-statd/files/nagiosstatd.sh.in
+++ b/sysutils/nagios-statd/files/nagiosstatd.in
diff --git a/sysutils/netdump-server/Makefile b/sysutils/netdump-server/Makefile
index b145a55d19e0..eabf65b433df 100644
--- a/sysutils/netdump-server/Makefile
+++ b/sysutils/netdump-server/Makefile
@@ -26,7 +26,7 @@ MAN8= netdump.8 netdump-server.8
NETDUMP_OWN?= netdump
NETDUMP_GRP?= operator
-USE_RC_SUBR= netdump-server.sh
+USE_RC_SUBR= netdump-server
PLIST_SUB+= NETDUMP_OWN=${NETDUMP_OWN} \
NETDUMP_GRP=${NETDUMP_GRP}
SUB_FILES+= pkg-message
diff --git a/sysutils/netdump-server/files/netdump-server.sh.in b/sysutils/netdump-server/files/netdump-server.in
index d61938d74f96..d61938d74f96 100644
--- a/sysutils/netdump-server/files/netdump-server.sh.in
+++ b/sysutils/netdump-server/files/netdump-server.in
diff --git a/sysutils/nut/Makefile b/sysutils/nut/Makefile
index e607b3418555..a7ff9b1a8b82 100644
--- a/sysutils/nut/Makefile
+++ b/sysutils/nut/Makefile
@@ -34,7 +34,7 @@ OPTIONS= SERIAL "SERIAL support" on \
CGI "Web CGI interface" off \
BASH "Bash Completion support" off
-USE_RC_SUBR= nut.sh nut_upsmon.sh nut_upslog.sh
+USE_RC_SUBR= nut nut_upsmon nut_upslog
SUB_LIST+= STATEDIR=${STATEDIR}
PLIST_SUB+= STATEDIR=${STATEDIR}
diff --git a/sysutils/nut/files/nut.sh.in b/sysutils/nut/files/nut.in
index 98ba6394389c..98ba6394389c 100644
--- a/sysutils/nut/files/nut.sh.in
+++ b/sysutils/nut/files/nut.in
diff --git a/sysutils/nut/files/nut_upslog.sh.in b/sysutils/nut/files/nut_upslog.in
index 9bb361e1d3be..9bb361e1d3be 100644
--- a/sysutils/nut/files/nut_upslog.sh.in
+++ b/sysutils/nut/files/nut_upslog.in
diff --git a/sysutils/nut/files/nut_upsmon.sh.in b/sysutils/nut/files/nut_upsmon.in
index 6aee6a46c900..6aee6a46c900 100644
--- a/sysutils/nut/files/nut_upsmon.sh.in
+++ b/sysutils/nut/files/nut_upsmon.in
diff --git a/sysutils/nut22/Makefile b/sysutils/nut22/Makefile
index e50cfe404029..52342e9bb8b0 100644
--- a/sysutils/nut22/Makefile
+++ b/sysutils/nut22/Makefile
@@ -37,7 +37,7 @@ OPTIONS= SERIAL "SERIAL support" on \
DEVEL "Install header files" off \
CGI "Web CGI interface" off \
-USE_RC_SUBR= nut.sh nut_upsmon.sh nut_upslog.sh
+USE_RC_SUBR= nut nut_upsmon nut_upslog
SUB_LIST+= STATEDIR=${STATEDIR}
PLIST_SUB+= STATEDIR=${STATEDIR}
diff --git a/sysutils/nut22/files/nut.sh.in b/sysutils/nut22/files/nut.in
index aaf33c5b18b0..aaf33c5b18b0 100644
--- a/sysutils/nut22/files/nut.sh.in
+++ b/sysutils/nut22/files/nut.in
diff --git a/sysutils/nut22/files/nut_upslog.sh.in b/sysutils/nut22/files/nut_upslog.in
index 9bb361e1d3be..9bb361e1d3be 100644
--- a/sysutils/nut22/files/nut_upslog.sh.in
+++ b/sysutils/nut22/files/nut_upslog.in
diff --git a/sysutils/nut22/files/nut_upsmon.sh.in b/sysutils/nut22/files/nut_upsmon.in
index 2470e766f186..2470e766f186 100644
--- a/sysutils/nut22/files/nut_upsmon.sh.in
+++ b/sysutils/nut22/files/nut_upsmon.in
diff --git a/sysutils/powerman/Makefile b/sysutils/powerman/Makefile
index cccca9448b45..af590048d006 100644
--- a/sysutils/powerman/Makefile
+++ b/sysutils/powerman/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ARGS= --with-httppower --localstatedir=${DESTDIR}/var \
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
-USE_RC_SUBR= powerman.sh
+USE_RC_SUBR= powerman
MAN1= pm.1 powerman.1
MAN3= libpowerman.3
diff --git a/sysutils/powerman/files/powerman.sh.in b/sysutils/powerman/files/powerman.in
index a5e64a218e13..a5e64a218e13 100644
--- a/sysutils/powerman/files/powerman.sh.in
+++ b/sysutils/powerman/files/powerman.in
diff --git a/sysutils/radmind/Makefile b/sysutils/radmind/Makefile
index eae329fb33eb..d654e36d95e0 100644
--- a/sysutils/radmind/Makefile
+++ b/sysutils/radmind/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= mikeg@bsd-box.net
COMMENT= Utility for administering filesystem changes
USE_OPENSSL= yes
-USE_RC_SUBR= radmind.sh
+USE_RC_SUBR= radmind
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
diff --git a/sysutils/radmind/files/radmind.sh.in b/sysutils/radmind/files/radmind.in
index d64beb14c971..d64beb14c971 100644
--- a/sysutils/radmind/files/radmind.sh.in
+++ b/sysutils/radmind/files/radmind.in
diff --git a/sysutils/rsyncmanager/Makefile b/sysutils/rsyncmanager/Makefile
index 8785554812e2..da6b107f3994 100644
--- a/sysutils/rsyncmanager/Makefile
+++ b/sysutils/rsyncmanager/Makefile
@@ -24,7 +24,7 @@ NO_BUILD= yes
PORTDOCS= README
-USE_RC_SUBR= ${PORTNAME}.sh
+USE_RC_SUBR= ${PORTNAME}
SUB_LIST= RUBY_WITHOUT_SUFFIX="${RUBY_WITHOUT_SUFFIX}"
do-install:
diff --git a/sysutils/rsyncmanager/files/rsyncmanager.sh.in b/sysutils/rsyncmanager/files/rsyncmanager.in
index a00eafac24c5..d9794e730527 100644
--- a/sysutils/rsyncmanager/files/rsyncmanager.sh.in
+++ b/sysutils/rsyncmanager/files/rsyncmanager.in
@@ -1,4 +1,6 @@
#!/bin/sh
+
+# $FreeBSD$
#
# PROVIDE: rsyncmanager
# REQUIRE: DAEMON
@@ -8,7 +10,7 @@
# Set it to "YES" to enable rsyncmanager
# rsyncmanager_flags (str): Set to "-C -c %%PREFIX%%/etc/rsyncmanager.conf" by default.
# Extra flags passed to start command
-#
+
. /etc/rc.subr
name="rsyncmanager"
diff --git a/sysutils/runit/Makefile b/sysutils/runit/Makefile
index 6fed6fd7c2ee..93e770c61e9e 100644
--- a/sysutils/runit/Makefile
+++ b/sysutils/runit/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= http://smarden.org/${PORTNAME}/ \
MAINTAINER= crees@FreeBSD.org
COMMENT= Service supervision tools compatible with DJB daemontools
-USE_RC_SUBR= runsvdir.sh
+USE_RC_SUBR= runsvdir
WRKSRC= ${WRKDIR}/admin/${DISTNAME}
SERVICE_DIR?= /var/service
diff --git a/sysutils/runit/files/runsvdir.sh.in b/sysutils/runit/files/runsvdir.in
index 69e5e8e9aa62..69e5e8e9aa62 100644
--- a/sysutils/runit/files/runsvdir.sh.in
+++ b/sysutils/runit/files/runsvdir.in
diff --git a/sysutils/sge60/Makefile b/sysutils/sge60/Makefile
index cf4bde3e8ce7..d059aa3aca98 100644
--- a/sysutils/sge60/Makefile
+++ b/sysutils/sge60/Makefile
@@ -46,7 +46,7 @@ PLIST_SUB+= SGE_BASE=${SGE_BASE}
SUB_FILES= pkg-message pkg-install
SUB_LIST+= SGE_BASE=${SGE_BASE}
-USE_RC_SUBR= sge.sh
+USE_RC_SUBR= sge
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGINSTALL= ${WRKDIR}/pkg-install
diff --git a/sysutils/sge60/files/sge.sh.in b/sysutils/sge60/files/sge.in
index f5e939500966..f5e939500966 100644
--- a/sysutils/sge60/files/sge.sh.in
+++ b/sysutils/sge60/files/sge.in
diff --git a/sysutils/sge61/Makefile b/sysutils/sge61/Makefile
index 60224320076a..e02a7c6fea41 100644
--- a/sysutils/sge61/Makefile
+++ b/sysutils/sge61/Makefile
@@ -49,7 +49,7 @@ PLIST_SUB+= SGE_BASE=${SGE_BASE}
SUB_FILES= pkg-message pkg-install
SUB_LIST+= SGE_BASE=${SGE_BASE}
-USE_RC_SUBR= sge.sh
+USE_RC_SUBR= sge
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGINSTALL= ${WRKDIR}/pkg-install
diff --git a/sysutils/sge61/files/sge.sh.in b/sysutils/sge61/files/sge.in
index f5e939500966..f5e939500966 100644
--- a/sysutils/sge61/files/sge.sh.in
+++ b/sysutils/sge61/files/sge.in
diff --git a/sysutils/sge62/Makefile b/sysutils/sge62/Makefile
index 6382882efcbc..b98a400ee8cb 100644
--- a/sysutils/sge62/Makefile
+++ b/sysutils/sge62/Makefile
@@ -46,7 +46,7 @@ PLIST_SUB+= SGE_BASE=${SGE_BASE}
SUB_FILES= pkg-message pkg-install
SUB_LIST+= SGE_BASE=${SGE_BASE}
-USE_RC_SUBR= sge.sh
+USE_RC_SUBR= sge
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGINSTALL= ${WRKDIR}/pkg-install
diff --git a/sysutils/sge62/files/sge.sh.in b/sysutils/sge62/files/sge.in
index f5e939500966..f5e939500966 100644
--- a/sysutils/sge62/files/sge.sh.in
+++ b/sysutils/sge62/files/sge.in
diff --git a/sysutils/symon/Makefile b/sysutils/symon/Makefile
index 1daa8b88fcaf..90e31c342526 100644
--- a/sysutils/symon/Makefile
+++ b/sysutils/symon/Makefile
@@ -39,7 +39,7 @@ SUBDIR= lib
SUBDIR+= symon
MAN8+= symon.8
PLIST_SUB+= SYMON=""
-USE_RC_SUBR+= symon.sh
+USE_RC_SUBR+= symon
.else
PLIST_SUB+= SYMON="@comment "
.endif
@@ -47,7 +47,7 @@ PLIST_SUB+= SYMON="@comment "
SUBDIR+= symux
MAN8+= symux.8
PLIST_SUB+= SYMUX=""
-USE_RC_SUBR+= symux.sh
+USE_RC_SUBR+= symux
.else
PLIST_SUB+= SYMUX="@comment "
.endif
diff --git a/sysutils/symon/files/symon.sh.in b/sysutils/symon/files/symon.in
index e75de3ed895a..e75de3ed895a 100644
--- a/sysutils/symon/files/symon.sh.in
+++ b/sysutils/symon/files/symon.in
diff --git a/sysutils/symon/files/symux.sh.in b/sysutils/symon/files/symux.in
index 8b2788e3fe24..8b2788e3fe24 100644
--- a/sysutils/symon/files/symux.sh.in
+++ b/sysutils/symon/files/symux.in
diff --git a/sysutils/syslog-ng-devel/Makefile b/sysutils/syslog-ng-devel/Makefile
index 674f6ad793a5..965dfedbc01b 100644
--- a/sysutils/syslog-ng-devel/Makefile
+++ b/sysutils/syslog-ng-devel/Makefile
@@ -40,7 +40,7 @@ MAN5= syslog-ng.conf.5
MAN8= syslog-ng.8
USE_LDCONFIG= yes
-USE_RC_SUBR= syslog-ng.sh
+USE_RC_SUBR= syslog-ng
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= glib20 gnomehack
diff --git a/sysutils/syslog-ng-devel/files/syslog-ng.sh.in b/sysutils/syslog-ng-devel/files/syslog-ng.in
index 804bf6ec36fa..804bf6ec36fa 100644
--- a/sysutils/syslog-ng-devel/files/syslog-ng.sh.in
+++ b/sysutils/syslog-ng-devel/files/syslog-ng.in
diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile
index dc185495402b..a50694b1c1b2 100644
--- a/sysutils/syslog-ng/Makefile
+++ b/sysutils/syslog-ng/Makefile
@@ -38,7 +38,7 @@ MAN5= syslog-ng.conf.5
MAN8= syslog-ng.8
USE_LDCONFIG= yes
-USE_RC_SUBR= syslog-ng.sh
+USE_RC_SUBR= syslog-ng
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= glib20 gnomehack
diff --git a/sysutils/syslog-ng/files/syslog-ng.sh.in b/sysutils/syslog-ng/files/syslog-ng.in
index 804bf6ec36fa..804bf6ec36fa 100644
--- a/sysutils/syslog-ng/files/syslog-ng.sh.in
+++ b/sysutils/syslog-ng/files/syslog-ng.in
diff --git a/sysutils/syslog-ng2/Makefile b/sysutils/syslog-ng2/Makefile
index f52766d6e60c..84837cddc20a 100644
--- a/sysutils/syslog-ng2/Makefile
+++ b/sysutils/syslog-ng2/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= evtlog.0:${PORTSDIR}/sysutils/eventlog
MAN5= syslog-ng.conf.5
MAN8= syslog-ng.8
-USE_RC_SUBR= syslog-ng.sh
+USE_RC_SUBR= syslog-ng
GNU_CONFIGURE= yes
USE_GNOME= glib20
SUB_FILES= pkg-message
diff --git a/sysutils/syslog-ng2/files/syslog-ng.sh.in b/sysutils/syslog-ng2/files/syslog-ng.in
index 804bf6ec36fa..804bf6ec36fa 100644
--- a/sysutils/syslog-ng2/files/syslog-ng.sh.in
+++ b/sysutils/syslog-ng2/files/syslog-ng.in
diff --git a/sysutils/tenshi/Makefile b/sysutils/tenshi/Makefile
index 7cd754d9c92e..ca15e5cc21d8 100644
--- a/sysutils/tenshi/Makefile
+++ b/sysutils/tenshi/Makefile
@@ -20,7 +20,7 @@ MAN8= tenshi.8
USE_PERL5= yes
NO_BUILD= yes
-USE_RC_SUBR= tenshi.sh
+USE_RC_SUBR= tenshi
SUB_LIST= PERL=${PERL}
PLIST_FILES= bin/tenshi etc/tenshi.conf.sample
diff --git a/sysutils/tenshi/files/tenshi.sh.in b/sysutils/tenshi/files/tenshi.in
index 65044ae547b8..65044ae547b8 100644
--- a/sysutils/tenshi/files/tenshi.sh.in
+++ b/sysutils/tenshi/files/tenshi.in
diff --git a/sysutils/torque/Makefile b/sysutils/torque/Makefile
index 48b244b7d13a..514491b07274 100644
--- a/sysutils/torque/Makefile
+++ b/sysutils/torque/Makefile
@@ -17,7 +17,7 @@ USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-rcp=scp
USE_GMAKE= yes
-USE_RC_SUBR= pbs_server.sh pbs_sched.sh pbs_mom.sh
+USE_RC_SUBR= pbs_server pbs_sched pbs_mom
SUB_FILES= pkg-message
USE_PERL5= yes
USE_LDCONFIG= yes
diff --git a/sysutils/torque/files/pbs_mom.sh.in b/sysutils/torque/files/pbs_mom.in
index 07359e11a08e..07359e11a08e 100644
--- a/sysutils/torque/files/pbs_mom.sh.in
+++ b/sysutils/torque/files/pbs_mom.in
diff --git a/sysutils/torque/files/pbs_sched.sh.in b/sysutils/torque/files/pbs_sched.in
index 86df72fbd322..86df72fbd322 100644
--- a/sysutils/torque/files/pbs_sched.sh.in
+++ b/sysutils/torque/files/pbs_sched.in
diff --git a/sysutils/torque/files/pbs_server.sh.in b/sysutils/torque/files/pbs_server.in
index 1a639251689e..1a639251689e 100644
--- a/sysutils/torque/files/pbs_server.sh.in
+++ b/sysutils/torque/files/pbs_server.in
diff --git a/sysutils/usermin/Makefile b/sysutils/usermin/Makefile
index 9512bd8e89c5..e4d70a042eba 100644
--- a/sysutils/usermin/Makefile
+++ b/sysutils/usermin/Makefile
@@ -24,7 +24,7 @@ RUN_DEPENDS= p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay \
FETCH_CMD?= /usr/bin/fetch -pRr
NO_BUILD= yes
USE_PERL5= yes
-USE_RC_SUBR= usermin.sh
+USE_RC_SUBR= usermin
SUB_LIST= PERL5=${PERL}
USERMIN_MODULES=
diff --git a/sysutils/usermin/files/usermin.sh.in b/sysutils/usermin/files/usermin.in
index 54c8aebb44d8..54c8aebb44d8 100644
--- a/sysutils/usermin/files/usermin.sh.in
+++ b/sysutils/usermin/files/usermin.in
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 9420e7747a99..f2e0d3189aff 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS= p5-Net-SSLeay>=0:${PORTSDIR}/security/p5-Net-SSLeay \
USE_PERL5= yes
USE_PYTHON= yes
-USE_RC_SUBR= webmin.sh
+USE_RC_SUBR= webmin
SUB_LIST= PERL5=${PERL}
SUB_FILES= pkg-message
diff --git a/sysutils/webmin/files/webmin.sh.in b/sysutils/webmin/files/webmin.in
index 8bc39869c77e..8bc39869c77e 100644
--- a/sysutils/webmin/files/webmin.sh.in
+++ b/sysutils/webmin/files/webmin.in