diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-29 07:21:11 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-29 07:21:11 +0000 |
commit | 112a8e53c3569a82f3d46081a4e060d73a392420 (patch) | |
tree | 60f77559e4352ceba746158448873eb10ad53d09 | |
parent | c5cf9624ab87c91c8f5f60df6762c39e54b6dff8 (diff) | |
download | ports-112a8e53c3569a82f3d46081a4e060d73a392420.tar.gz ports-112a8e53c3569a82f3d46081a4e060d73a392420.zip |
New port: sysutils/p5-UPS-Nut
p5-UPS-Nut provides a perl interface to setting and retrieving
values from the Network UPS tools servers.
PR: ports/50765
Submitted by: Eric Schnoebelen <eric@mr-bill.cirr.com>
Notes
Notes:
svn path=/head/; revision=79852
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/p5-UPS-Nut/Makefile | 26 | ||||
-rw-r--r-- | sysutils/p5-UPS-Nut/distinfo | 1 | ||||
-rw-r--r-- | sysutils/p5-UPS-Nut/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/p5-UPS-Nut/pkg-plist | 5 |
5 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 1d0267787db5..fda63dccca1f 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -177,6 +177,7 @@ SUBDIR += p5-Sys-CpuLoad SUBDIR += p5-SyslogScan SUBDIR += p5-Tie-Syslog + SUBDIR += p5-UPS-Nut SUBDIR += p5-Unix-ConfigFile SUBDIR += p5-Unix-Syslog SUBDIR += p5-User diff --git a/sysutils/p5-UPS-Nut/Makefile b/sysutils/p5-UPS-Nut/Makefile new file mode 100644 index 000000000000..bcd88e4ec491 --- /dev/null +++ b/sysutils/p5-UPS-Nut/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: sysutils/p5-UPS-Nut +# Date created: Apr 09 2003 +# Whom: somebody who didn't run portlint +# +# $FreeBSD$ +# + +PORTNAME= UPS-Nut +PORTVERSION= 0.04 +CATEGORIES= sysutils perl5 +MASTER_SITES= ftp://ftp.sedl.org/pub/mirrors/CPAN/modules/by-authors/id/K/KP/KPETERS/ \ + http://mirror.hiwaay.net/CPAN/modules/by-authors/id/K/KP/KPETERS/ +PKGNAMEPREFIX= p5- + +MAINTAINER= eric@cirr.com +COMMENT= Perl module for accessing Network UPS Tools' upsd + +PERL_CONFIGURE= yes + +MAN3= UPS::Nut.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +pre-configure: + ${PERL} -pi -e 'm.INSTALLDIRS.&&s,.,,sg' ${WRKSRC}/Makefile.PL + +.include <bsd.port.mk> diff --git a/sysutils/p5-UPS-Nut/distinfo b/sysutils/p5-UPS-Nut/distinfo new file mode 100644 index 000000000000..be6529203885 --- /dev/null +++ b/sysutils/p5-UPS-Nut/distinfo @@ -0,0 +1 @@ +MD5 (UPS-Nut-0.04.tar.gz) = 773695b36d153b2bcb0d9b57a3cdae8c diff --git a/sysutils/p5-UPS-Nut/pkg-descr b/sysutils/p5-UPS-Nut/pkg-descr new file mode 100644 index 000000000000..861fe75d5dc9 --- /dev/null +++ b/sysutils/p5-UPS-Nut/pkg-descr @@ -0,0 +1,2 @@ +Module UPS::Nut implements an object oriented interface to the Network +UPS Tools upsd. diff --git a/sysutils/p5-UPS-Nut/pkg-plist b/sysutils/p5-UPS-Nut/pkg-plist new file mode 100644 index 000000000000..276fb6886872 --- /dev/null +++ b/sysutils/p5-UPS-Nut/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/UPS/Nut/.packlist +lib/perl5/site_perl/%%PERL_VER%%/UPS/Nut.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/UPS/Nut +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/UPS 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/UPS 2>/dev/null || true |