aboutsummaryrefslogtreecommitdiff
path: root/sysutils/checkrestart/Makefile
blob: 772fcb9d9b3941802696746ae96ace6545ca9a59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
PORTNAME=	checkrestart
DISTVERSIONPREFIX=	v
DISTVERSION=	0.5.0
PORTREVISION=	1
CATEGORIES=	sysutils

MAINTAINER=	tom@hur.st
COMMENT=	Find processes that need restarting after an upgrade
WWW=		https://github.com/Freaky/checkrestart

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

USE_GITHUB=	yes
GH_ACCOUNT=	Freaky

SUB_FILES=	checkrestart

PLIST_FILES=	bin/checkrestart \
		share/man/man1/checkrestart.1.gz \
		${PERIODIC_SECURITY}/checkrestart

PERIODIC_SECURITY=	etc/periodic/security

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/checkrestart ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/checkrestart.1 ${STAGEDIR}${PREFIX}/share/man/man1
	@${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_SECURITY}
	${INSTALL_SCRIPT} ${WRKDIR}/checkrestart ${STAGEDIR}${PREFIX}/${PERIODIC_SECURITY}

.include <bsd.port.mk>