Date: Mon, 08 Mar 2004 10:32:07 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: joseph@randomnetworks.com Cc: Jun Kuriyama <kuriyama@imgsrc.co.jp> Subject: Reduce dependency for ports/security/swatch Message-ID: <7mvflgi0o8.wl@black.imgsrc.co.jp>
next in thread | raw e-mail | index | archive | help
Hi, I made a patch to reduce dependency when using perl-5.8.x. And it looks website for this software was moved to sourceforge. Is it okay to commit this? Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/swatch/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- Makefile 10 Nov 2003 22:10:58 -0000 1.18 +++ Makefile 8 Mar 2004 01:30:50 -0000 @@ -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 @@ 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> Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/security/swatch/pkg-descr,v retrieving revision 1.3 diff -u -r1.3 pkg-descr --- pkg-descr 29 Dec 2000 15:42:30 -0000 1.3 +++ pkg-descr 26 Feb 2004 13:53:49 -0000 @@ -4,4 +4,4 @@ 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/ -- Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. <kuriyama@FreeBSD.org> // FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mvflgi0o8.wl>