aboutsummaryrefslogtreecommitdiff
path: root/security/swatch
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-03-17 02:15:28 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-03-17 02:15:28 +0000
commitf5da0fbd58f40f4a4a3589182bec1cf67277ab36 (patch)
tree72799861c97f5e40b4dc8fcb11746d1c2a3ba1d4 /security/swatch
parent68fd3f1caa896105d4ff4882c75a6e5e0982de7f (diff)
downloadports-f5da0fbd58f40f4a4a3589182bec1cf67277ab36.tar.gz
ports-f5da0fbd58f40f4a4a3589182bec1cf67277ab36.zip
Reduce dependency for perl-5.8.x.
Update WWW line in pkg-descr. No response from: maintainer
Notes
Notes: svn path=/head/; revision=104242
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 6c2fa7276bfd..d3f7df55820a 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 2835e733c9ac..8bba4a79abd6 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/