aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2010-03-28 14:25:22 +0800
committerdougb <dougb@FreeBSD.org>2010-03-28 14:25:22 +0800
commit2cff994f91a2b9cc6ebdf1c83056d6e0bfbf5f54 (patch)
tree98f25dbf3501acd10c28bc121ac8d0aeb8018fd3 /misc
parent5143bf9ec1ba721c73c66ca16ae30923200ffd57 (diff)
downloadfreebsd-ports-gnome-2cff994f91a2b9cc6ebdf1c83056d6e0bfbf5f54.tar.gz
freebsd-ports-gnome-2cff994f91a2b9cc6ebdf1c83056d6e0bfbf5f54.tar.zst
freebsd-ports-gnome-2cff994f91a2b9cc6ebdf1c83056d6e0bfbf5f54.zip
The rc.d script is already set up for USE_RC_SUBR, so do it.
Diffstat (limited to 'misc')
-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