diff options
Diffstat (limited to 'news')
-rw-r--r-- | news/nzbget/Makefile | 1 | ||||
-rw-r--r-- | news/nzbget/pkg-plist | 2 |
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 |