aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/isc-cron/Makefile
blob: 9faf912f0de1eb032e868d434af5dd7dd21869bc (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
37
38
39
40
41
42
43
44
# New ports collection makefile for:    isc-cron
# Date created:             7 August 2008
# Whom:                 Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
#

PORTNAME=   isc-cron
PORTVERSION=    4.1
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= cron
DISTNAME=   cron_${PORTVERSION}.shar
EXTRACT_SUFX=

MAINTAINER= edwin@mavetju.org
COMMENT=    ISC Cron, former Vixie Cron

WRKSRC=     ${WRKDIR}
SUB_FILES=  pkg-message
PLIST_FILES=    sbin/cron bin/crontab
PKGMESSAGE= ${WRKDIR}/pkg-message

MAN1=       crontab.1
MAN5=       crontab.5
MAN8=       cron.8

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

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

post-install:
    ${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>