d0774cb5fd
-- Net::Ping::External is a module which interfaces with the ping(1) command on the system. It presently provides a single function, ping(), that takes in a hostname and (optionally) a timeout and returns true if the host is alive, and false otherwise. Unless you have the ability (and willingness) to run your scripts as the superuser on your system, this module will probably provide more accurate results than Net::Ping (bundled with the perl base installation) will.
29 lines
622 B
Makefile
29 lines
622 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2001/09/20 14:00:26 heko Exp $
|
|
|
|
COMMENT= "alternative Perl interface to ping(1)"
|
|
|
|
DISTNAME= Net-Ping-External-0.06
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= net
|
|
NEED_VERSION= 1.457
|
|
|
|
MAINTAINER= Heikki Korpela <heko@openbsd.org>
|
|
|
|
# License: Artistic / GPL.
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Net
|
|
|
|
CONFIGURE_STYLE= perl
|
|
|
|
test: build
|
|
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} test
|
|
|
|
.include <bsd.port.mk>
|