diff options
-rw-r--r-- | news/newscache/Makefile | 5 | ||||
-rw-r--r-- | news/newscache/pkg-plist | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/news/newscache/Makefile b/news/newscache/Makefile index 63d98d6f973a..b1c42bcc4a1c 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 47ea849c34cc..f6d74ddf91be 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 |