44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Zane C. Bowers
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= comiccron
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= sysutils deskutils
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:VVELOX
|
|
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= p5-DateTime-Event-Cron>=0:${PORTSDIR}/devel/p5-DateTime-Event-Cron \
|
|
p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
|
|
p5-DateTime-Format-Strptime>=0:${PORTSDIR}/devel/p5-DateTime-Format-Strptime
|
|
|
|
USES= perl5
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
MAN1= comiccron.1
|
|
|
|
PLIST_FILES= bin/comiccron
|
|
|
|
NO_STAGE= yes
|
|
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>
|