aboutsummaryrefslogtreecommitdiff
path: root/sysutils/tmpwatch/Makefile
blob: dd15cdc9fb5a29620ce139aa4285a5e70f28711f (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

PORTNAME=	tmpwatch
PORTVERSION=	2.11
CATEGORIES=	sysutils
MASTER_SITES=	https://releases.pagure.org/tmpwatch/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Utility for removing files based on when they were last accessed

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		cpe tar:bzip2
CPE_VENDOR=	redhat

GNU_CONFIGURE=	yes

PLIST_FILES=	sbin/tmpwatch \
		man/man8/tmpwatch.8.gz

post-patch:
	@${REINPLACE_CMD} -E "s/^#include.+mntent.h.+//g" ${WRKSRC}/tmpwatch.c

.include <bsd.port.mk>