git: 52dea9071b68 - main - sysutils/fakertc: Update to v3

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 29 Sep 2022 18:55:02 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=52dea9071b68d0a89193e15b985da717b9e561f3

commit 52dea9071b68d0a89193e15b985da717b9e561f3
Author:     Ronald Klop <ronald-lists@klop.ws>
AuthorDate: 2022-09-29 18:51:49 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-09-29 18:54:50 +0000

    sysutils/fakertc: Update to v3
    
     - Added slashes to the install commands to make sure they error on
       non-existent dirs
    
    ChangeLog:      https://github.com/ronaldklop/fakertc/releases/tag/v3
    PR:             266702
---
 sysutils/fakertc/Makefile | 9 ++++++---
 sysutils/fakertc/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/sysutils/fakertc/Makefile b/sysutils/fakertc/Makefile
index 38fe9351913a..1fbc0743c27b 100644
--- a/sysutils/fakertc/Makefile
+++ b/sysutils/fakertc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fakertc
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2
+DISTVERSION=	3
 CATEGORIES=	sysutils
 
 MAINTAINER=	ronald-lists@klop.ws
@@ -15,10 +15,13 @@ GH_ACCOUNT=	ronaldklop
 
 NO_ARCH=	yes
 NO_BUILD=	yes
-PLIST_FILES=	etc/rc.d/${PORTNAME}
+PLIST_FILES=	etc/cron.d/${PORTNAME} etc/rc.d/${PORTNAME}
 
 do-install:
+		${MKDIR} ${STAGEDIR}${PREFIX}/etc/cron.d
+		${INSTALL_DATA} ${WRKSRC}/src/etc/cron.d/${PORTNAME} \
+			${STAGEDIR}${PREFIX}/etc/cron.d/
 		${INSTALL_SCRIPT} ${WRKSRC}/src/etc/rc.d/${PORTNAME} \
-			${STAGEDIR}${PREFIX}/etc/rc.d
+			${STAGEDIR}${PREFIX}/etc/rc.d/
 
 .include <bsd.port.mk>
diff --git a/sysutils/fakertc/distinfo b/sysutils/fakertc/distinfo
index bbe3b44cfd92..70bc3731abd6 100644
--- a/sysutils/fakertc/distinfo
+++ b/sysutils/fakertc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662623841
-SHA256 (ronaldklop-fakertc-v2_GH0.tar.gz) = 82deabbf2ea0fc451ab92dc9f645a315b30ffbb8c3716a1580154a36792047e5
-SIZE (ronaldklop-fakertc-v2_GH0.tar.gz) = 2718
+TIMESTAMP = 1664450861
+SHA256 (ronaldklop-fakertc-v3_GH0.tar.gz) = 56059b74bc110b2900e1e8ef46e2115d5983745abd601cad73e7a516f69cac14
+SIZE (ronaldklop-fakertc-v3_GH0.tar.gz) = 2835