freebsd-ports/sysutils/isc-cron/Makefile
2013-10-17 06:22:36 +00:00

42 lines
977 B
Makefile

# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$
PORTNAME= isc-cron
PORTVERSION= 4.1
PORTREVISION= 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
NO_STAGE= yes
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>