1997-05-03 02:22:09 +02:00
|
|
|
# New ports collection makefile for: swatch
|
|
|
|
# Date created: May 2 97
|
|
|
|
# Whom: jfitz
|
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1997-05-03 02:22:09 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= swatch
|
2004-08-11 18:14:07 +02:00
|
|
|
PORTVERSION= 3.1.1
|
2004-11-17 02:42:53 +01:00
|
|
|
PORTREVISION= 1
|
2000-04-09 20:34:06 +02:00
|
|
|
CATEGORIES= security sysutils
|
2003-06-07 01:22:52 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= swatch
|
1997-05-03 02:22:09 +02:00
|
|
|
|
2000-11-17 22:53:47 +01:00
|
|
|
MAINTAINER= joseph@randomnetworks.com
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= The Simple WATCHer and filter
|
1997-05-03 02:22:09 +02:00
|
|
|
|
2004-03-17 03:15:28 +01:00
|
|
|
BUILD_DEPENDS= ${BUILD_DEPENDS_56} \
|
|
|
|
${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
|
2004-08-11 18:14:07 +02:00
|
|
|
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
|
2004-03-17 03:15:28 +01:00
|
|
|
${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc
|
1997-05-03 02:22:09 +02:00
|
|
|
|
2000-12-29 16:42:32 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2001-08-30 22:10:55 +02:00
|
|
|
CONFIGURE_ARGS= INSTALLMAN1DIR=${PREFIX}/man/man1
|
2004-11-17 02:42:53 +01:00
|
|
|
USE_RC_SUBR= yes
|
2000-12-29 16:42:32 +01:00
|
|
|
|
2004-08-11 18:14:07 +02:00
|
|
|
MAN1= swatch.1
|
|
|
|
MAN3= Swatch::Actions.3 Swatch::Throttle.3
|
1997-05-03 02:22:09 +02:00
|
|
|
|
2004-11-17 02:42:53 +01:00
|
|
|
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
|
|
|
${FILESDIR}/swatch.sh > ${WRKSRC}/swatch.sh
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/swatch.sh ${PREFIX}/etc/rc.d
|
|
|
|
|
2004-03-17 03:15:28 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500800
|
|
|
|
BUILD_DEPENDS_56= \
|
|
|
|
${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
|
|
|
|
.endif
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|