summaryrefslogtreecommitdiff
path: root/time/vixie-cron/Makefile
blob: 5fe32357de70091804020cfad8142f27cf293b02 (plain)
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
# $NetBSD: Makefile,v 1.4 2012/10/08 13:04:29 asau Exp $

DISTNAME=		cron_4.1
PKGNAME=		vixie-cron-4.1
PKGREVISION=		2
CATEGORIES=		sysutils time
MASTER_SITES=		ftp://ftp.isc.org/isc/cron/
EXTRACT_SUFX=		.shar

MAINTAINER=		reed@reedmedia.net
COMMENT=		Execute and maintain scheduled commands

SPECIAL_PERMS+=		bin/crontab ${SETUID_ROOT_PERMS}

# Don't extract into WRKDIR because rc.d script is replaced with binary
EXTRACT_CMD=   ${MKDIR} ${WRKSRC} && cd ${WRKSRC} && ${CAT} $$extract_file | ${SH}

RCD_SCRIPTS=		cron

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
INSTALLATION_DIRS+=	${PKGMANDIR}/man8 sbin
OWN_DIRS+=		${VARBASE}/cron
BUILD_DEFS+=		VARBASE
CPPFLAGS+=		-DCRONDIR=\"${VARBASE:Q}/cron\"

.include "../../mk/bsd.pkg.mk"