summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-03-28 06:25:22 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-03-28 06:25:22 +0000
commit1c61847a1158728babbb2e3016e7b369abef3304 (patch)
tree6f111a8cef75798ee6e64be658515340180fa7aa
parentCleanse more RC_SUBR and RC_SUBR_SUFFIX variables (diff)
The rc.d script is already set up for USE_RC_SUBR, so do it.
Notes
Notes: svn path=/head/; revision=251604
-rw-r--r--misc/upclient/Makefile6
-rw-r--r--misc/upclient/pkg-plist1
2 files changed, 1 insertions, 6 deletions
diff --git a/misc/upclient/Makefile b/misc/upclient/Makefile
index 8b9defd6393c..2174e8046a52 100644
--- a/misc/upclient/Makefile
+++ b/misc/upclient/Makefile
@@ -21,7 +21,7 @@ COMMENT= The Uptimes project client
#
USE_GETTEXT= yes
-USE_RC_SUBR= yes
+USE_RC_SUBR= upclient.sh
ALL_TARGET= bsd
BUILD_WRKSRC= ${WRKSRC}/src
@@ -93,10 +93,6 @@ install-conf:
${PREFIX}/etc/upclient.conf
.endif
-install-startup:
- @${INSTALL_SCRIPT} ${WRKDIR}/upclient.sh \
- ${PREFIX}/etc/rc.d/upclient.sh
-
install-doc:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/misc/upclient/pkg-plist b/misc/upclient/pkg-plist
index 83e0006b61fd..fa229c334f3a 100644
--- a/misc/upclient/pkg-plist
+++ b/misc/upclient/pkg-plist
@@ -1,5 +1,4 @@
@comment $FreeBSD$
-etc/rc.d/upclient.sh
@unexec if cmp -s %D/etc/upclient.conf %D/etc/upclient.conf.sample; then rm -f %D/etc/upclient.conf; fi
etc/upclient.conf.sample
@exec [ -f %D/etc/upclient.conf ] || cp -p %D/etc/upclient.conf.sample %D/etc/upclient.conf