freebsd-ports/sysutils/comiccron/Makefile
Martin Wilke f150edce03 This will act on any cronfile it is pointed at. For it to run the command,
the last or next time it will be will have to be within a minute and 15
seconds. For most usages, you will want to have the hour and minute set
to *. This allows a user to do something how ever many times they want any
time during the period it is active.

After running through every entry in the crontab, it then exits.

Why not cron?

You can have cron open opera or the like on a specific display by either
switch or enviromental options, but it will always open it. This allows
you to open it any time along the point it is active.

PR:		ports/109120
Submitted by:	Zane C. Bowers
2007-02-26 15:49:55 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: comiccron
# Date created: 12 February 2007
# Whom: Zane C. Bowers
#
# $FreeBSD$
#
PORTNAME= comiccron
PORTVERSION= 1.0.0
CATEGORIES= sysutils deskutils
DISTNAME= comiccron-${PORTVERSION}.pl
EXTRACT_SUFX=
EXTRACT_ONLY=
MAINTAINER= vvelox@vvelox.net
COMMENT= A cron like tool that performs a single pass on a cronfile
RUN_DEPENDS= ${SITE_PERL}/DateTime/Event/Cron.pm:${PORTSDIR}/devel/p5-DateTime-Event-Cron \
${SITE_PERL}/${PERL_ARCH}/DateTime/Duration.pm:${PORTSDIR}/devel/p5-DateTime \
${SITE_PERL}/DateTime/Format/Strptime.pm:${PORTSDIR}/devel/p5-DateTime-Format-Strptime
USE_PERL5= yes
NO_WRKSUBDIR= yes
MASTER_SITES= http://cpan.org/authors/id/V/VV/VVELOX/
MAN1= comiccron.1
PLIST_FILES= bin/comiccron
post-extract:
@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
#nothing to configure
do-configure:
@${ECHO} -n
do-build:
@${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=comiccron --center="comiccron user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
do-install:
@${CP} -v ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/comiccron
@${CP} -v ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1
@${CHMOD} +x ${PREFIX}/bin/comiccron
.include <bsd.port.mk>