aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2013-02-18 19:46:13 +0000
committerSteve Wills <swills@FreeBSD.org>2013-02-18 19:46:13 +0000
commit6e4db9c08685d582ead4bbe381584b3c530ec972 (patch)
tree2972b57b4f28936027bd812e2b077f90e0378f91 /news
parent04197d6c487cc6d397d47fee1988929cabcec2eb (diff)
downloadports-6e4db9c08685d582ead4bbe381584b3c530ec972.tar.gz
ports-6e4db9c08685d582ead4bbe381584b3c530ec972.zip
Notes
Diffstat (limited to 'news')
-rw-r--r--news/nzbget/Makefile1
-rw-r--r--news/nzbget/pkg-plist2
2 files changed, 2 insertions, 1 deletions
diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile
index 38050efb7f8d..6250806ef4d6 100644
--- a/news/nzbget/Makefile
+++ b/news/nzbget/Makefile
@@ -15,6 +15,7 @@ LICENSE= GPLv2
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
sigc-2:${PORTSDIR}/devel/libsigc++20
+USE_RC_SUBR= nzbget
GNU_CONFIGURE= yes
CONFIGURE_ENV= LOCALBASE="${LOCALBASE}"
MAKE_JOBS_UNSAFE=yes
diff --git a/news/nzbget/pkg-plist b/news/nzbget/pkg-plist
index 0cd00dfbfccd..3a792f696567 100644
--- a/news/nzbget/pkg-plist
+++ b/news/nzbget/pkg-plist
@@ -36,6 +36,6 @@ sbin/nzbgetd
@dirrm %%DATADIR%%/webui/lib
@dirrm %%DATADIR%%/webui
@dirrm %%DATADIR%%
-etc/nzbget.conf.sample
@unexec if cmp -s %D/etc/nzbget.conf %D/etc/nzbget.conf.sample; then rm -f %D/etc/nzbget.conf; fi
+etc/nzbget.conf.sample
@exec [ -f %D/etc/nzbget.conf ] || cp %D/etc/nzbget.conf.sample %D/etc/nzbget.conf