summaryrefslogtreecommitdiff
path: root/time/vixie-cron/Makefile
blob: 6f6a2d139037ece3b2b84bcb95b1c18d7007fa92 (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
27
# $NetBSD: Makefile,v 1.3 2011/11/02 23:47:37 sbd 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}
PKG_DESTDIR_SUPPORT=    user-destdir

# 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"