forked from Lainports/freebsd-ports
This port provides a program that can be used to clean out temporary-file directories. It recursively searches the directory, refusing to chdir() across symlinks, and removes files that have not been accessed in a user-specified amount of time. You can specify a set of files to protect from deletion with a shell pattern. It will not remove symlinks, sockets, fifos, or special files unless given a command line option enabling it to. WWW: http://packages.debian.org/stable/admin/tmpreaper.html PR: ports/83868 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
29 lines
614 B
Makefile
29 lines
614 B
Makefile
# New ports collection makefile for: tmpreaper
|
|
# Date created: 21 Jul 2005
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tmpreaper
|
|
PORTVERSION= 1.6.5
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
|
|
DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= ehaupt@critical.ch
|
|
COMMENT= Cleans up files in directories based on their age
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= sbin/tmpreaper
|
|
PORTDOCS= README
|
|
MAN8= tmpreaper.8
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|