aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/isc-cron/Makefile
blob: 630172ab34e085a429b401bc7be1e99a773b7917 (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
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$

PORTNAME=   isc-cron
PORTVERSION=    4.1
PORTREVISION=   2
CATEGORIES= sysutils
MASTER_SITES=   ISC/cron
DISTNAME=   cron_${PORTVERSION}.shar
EXTRACT_SUFX=   # none

MAINTAINER= ports@FreeBSD.org
COMMENT=    ISC Cron, former Vixie Cron

LICENSE=    ISCL

WRKSRC=     ${WRKDIR}
SUB_FILES=  pkg-message
PLIST_FILES=    sbin/cron \
        "@(root,wheel,4755) bin/crontab" \
        man/man1/crontab.1.gz \
        man/man5/crontab.5.gz \
        man/man8/cron.8.gz

do-extract:
    @${MKDIR} ${WRKSRC}
    cd ${WRKSRC} && ${SH} ${DISTDIR}/${DISTNAME}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/cron ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_PROGRAM} ${WRKSRC}/crontab ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/crontab.1 ${STAGEDIR}${MANPREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/crontab.5 ${STAGEDIR}${MANPREFIX}/man/man5
    ${INSTALL_MAN} ${WRKSRC}/cron.8 ${STAGEDIR}${MANPREFIX}/man/man8

.include <bsd.port.mk>