aboutsummaryrefslogtreecommitdiffstats
path: root/security/swatch
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-03-17 10:15:28 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-03-17 10:15:28 +0800
commitc8c41c3287ec06da8144c0590d73de1864431ee0 (patch)
tree9ac6894174d94bf04d360349a9cae36659838f25 /security/swatch
parent8b51cf42b7ab101c31950ad6e60bbb13592bdfff (diff)
downloadfreebsd-ports-graphics-c8c41c3287ec06da8144c0590d73de1864431ee0.tar.gz
freebsd-ports-graphics-c8c41c3287ec06da8144c0590d73de1864431ee0.tar.zst
freebsd-ports-graphics-c8c41c3287ec06da8144c0590d73de1864431ee0.zip
Reduce dependency for perl-5.8.x.
Update WWW line in pkg-descr. No response from: maintainer
Diffstat (limited to 'security/swatch')
-rw-r--r--security/swatch/Makefile22
-rw-r--r--security/swatch/pkg-descr2
2 files changed, 15 insertions, 9 deletions
diff --git a/security/swatch/Makefile b/security/swatch/Makefile
index 6c2fa7276bf..d3f7df55820 100644
--- a/security/swatch/Makefile
+++ b/security/swatch/Makefile
@@ -7,6 +7,7 @@
PORTNAME= swatch
PORTVERSION= 3.0.8
+PORTREVISION= 1
CATEGORIES= security sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= swatch
@@ -14,17 +15,22 @@ MASTER_SITE_SUBDIR= swatch
MAINTAINER= joseph@randomnetworks.com
COMMENT= The Simple WATCHer and filter
-BUILD_DEPENDS= ${site_perl}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
- ${site_perl}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail \
- ${site_perl}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
- ${site_perl}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
-site_perl= ${SITE_PERL}
+BUILD_DEPENDS= ${BUILD_DEPENDS_56} \
+ ${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
+ ${SITE_PERL}/File/Tail.pm:${PORTSDIR}/devel/p5-File-Tail \
+ ${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc
PERL_CONFIGURE= yes
CONFIGURE_ARGS= INSTALLMAN1DIR=${PREFIX}/man/man1
MAN1= swatch.1 swatch_oldrc2newrc.1
-.include <bsd.port.mk>
+.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>
diff --git a/security/swatch/pkg-descr b/security/swatch/pkg-descr
index 2835e733c9a..8bba4a79abd 100644
--- a/security/swatch/pkg-descr
+++ b/security/swatch/pkg-descr
@@ -4,4 +4,4 @@ Swatch is designed to monitor system activity. Swatch
requires a configuration file which contains pattern(s) to
look for and action(s) to do when each pattern is found.
-WWW: http://www.stanford.edu/~atkins/swatch/
+WWW: http://swatch.sourceforge.net/