aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/tmpwatch/Makefile
blob: 23d81437c4ea82d07d926afc0e4d2737cdd6002f (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
# $FreeBSD$

PORTNAME=   tmpwatch
PORTVERSION=    2.11
CATEGORIES= sysutils
MASTER_SITES=   https://fedorahosted.org/releases/t/m/tmpwatch/

MAINTAINER= bapt@FreeBSD.org
COMMENT=    A utility for removing files based on when they were last accessed

LICENSE=    GPLv2

USE_BZIP2=  yes

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>