summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/newscache/Makefile5
-rw-r--r--news/newscache/pkg-plist1
2 files changed, 1 insertions, 5 deletions
diff --git a/news/newscache/Makefile b/news/newscache/Makefile
index 63d98d6..b1c42bc 100644
--- a/news/newscache/Makefile
+++ b/news/newscache/Makefile
@@ -24,7 +24,7 @@ AUTOMAKE_ARGS= --add-missing
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc
-SUB_FILES= newscache.sh
+USE_RC_SUBR= ${PORTNAME}.sh
MAN5= newscache.conf.5
MAN8= newscache.8 newscacheclean.8 updatenews.8
@@ -36,7 +36,4 @@ post-patch:
pre-configure:
(cd ${WRKSRC}; ${SETENV} ${SCRIPTS_ENV} ${SH} ./autogen)
-post-install:
- cp ${WRKDIR}/newscache.sh ${PREFIX}/etc/rc.d
-
.include <bsd.port.mk>
diff --git a/news/newscache/pkg-plist b/news/newscache/pkg-plist
index 47ea849..f6d74dd 100644
--- a/news/newscache/pkg-plist
+++ b/news/newscache/pkg-plist
@@ -1,6 +1,5 @@
bin/updatenews
etc/newscache.conf-dist
etc/newscache.auth-dist
-etc/rc.d/newscache.sh
sbin/newscache
sbin/newscacheclean
OpenPOWER on IntegriCloud