aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/amule-devel
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2012-08-05 23:19:36 +0000
committerDoug Barton <dougb@FreeBSD.org>2012-08-05 23:19:36 +0000
commit9aac569eaa031e27191a3f4165b389a17f467ad2 (patch)
tree1ed78841e1757014ccc09581c61c3683992d3f77 /net-p2p/amule-devel
parent47b836bfe5c397deb173a868525d4cba22cbb5fa (diff)
downloadports-9aac569eaa031e27191a3f4165b389a17f467ad2.tar.gz
ports-9aac569eaa031e27191a3f4165b389a17f467ad2.zip
Notes
Diffstat (limited to 'net-p2p/amule-devel')
-rw-r--r--net-p2p/amule-devel/Makefile2
-rw-r--r--net-p2p/amule-devel/files/amuled.in (renamed from net-p2p/amule-devel/files/amuled.sh.in)6
2 files changed, 4 insertions, 4 deletions
diff --git a/net-p2p/amule-devel/Makefile b/net-p2p/amule-devel/Makefile
index 41624c732b6e..e22dd47df2f7 100644
--- a/net-p2p/amule-devel/Makefile
+++ b/net-p2p/amule-devel/Makefile
@@ -112,7 +112,7 @@ PLIST_SUB+= AMULECMD="@comment "
.if ${PORT_OPTIONS:MAMULEDAEMON}
CONFIGURE_ARGS+= --enable-amule-daemon
PLIST_SUB+= AMULEDAEMON=""
-USE_RC_SUBR= amuled.sh
+USE_RC_SUBR= amuled
.else
CONFIGURE_ARGS+= --disable-amule-daemon
PLIST_SUB+= AMULEDAEMON="@comment "
diff --git a/net-p2p/amule-devel/files/amuled.sh.in b/net-p2p/amule-devel/files/amuled.in
index 2ed3fa8d8548..2d6af76340f7 100644
--- a/net-p2p/amule-devel/files/amuled.sh.in
+++ b/net-p2p/amule-devel/files/amuled.in
@@ -1,14 +1,14 @@
#!/bin/sh
+
+# $FreeBSD$
#
# aMule RCng startup script
# Ogirinal work from Gabriele Cecchetti (amule.org forum)
#
-
# PROVIDE: amuled
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown
-
#
# Add the following lines to /etc/rc.conf to enable amuled at startup
# amuled (bool): Set to "NO" by default.
@@ -17,7 +17,7 @@
# (default 'aMule')
# amuled_home (str): Set to home directory of user running amuled
# (default /home/${amuled_user})
-#
+
. /etc/rc.subr
name="amuled"