Initial import of p5-UPS-Nut version 2.6.1:
Perl interface to talk to the NUT upsd network daemon
This commit is contained in:
parent
dbc0b04143
commit
7430a85c10
3 changed files with 31 additions and 0 deletions
1
sysutils/p5-UPS-Nut/DESCR
Normal file
1
sysutils/p5-UPS-Nut/DESCR
Normal file
|
@ -0,0 +1 @@
|
|||
Perl interface to talk to the NUT upsd network daemon
|
21
sysutils/p5-UPS-Nut/Makefile
Normal file
21
sysutils/p5-UPS-Nut/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2011/07/29 15:13:58 bouyer Exp $
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
.include "../../sysutils/ups-nut/Makefile.common"
|
||||
|
||||
PKGNAME= ${DISTNAME:S/nut/p5-UPS-Nut/}
|
||||
COMMENT= Network UPS Tools perl binding
|
||||
CATEGORIES= sysutils perl5
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
PATCHDIR=
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/scripts/perl
|
||||
|
||||
PERL5_PACKLIST= auto/UPS/Nut/.packlist
|
||||
|
||||
pre-configure:
|
||||
${CP} ${FILESDIR}/Makefile.PL ${WRKSRC}
|
||||
|
||||
.include "../../lang/perl5/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
9
sysutils/p5-UPS-Nut/files/Makefile.PL
Normal file
9
sysutils/p5-UPS-Nut/files/Makefile.PL
Normal file
|
@ -0,0 +1,9 @@
|
|||
use ExtUtils::MakeMaker;
|
||||
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
|
||||
# the contents of the Makefile that is written.
|
||||
WriteMakefile(
|
||||
NAME => 'UPS::Nut',
|
||||
VERSION_FROM => 'Nut.pm', # finds $VERSION
|
||||
AUTHOR => 'Gabor Kiss <kissg@ssg.ki.iif.hu>',
|
||||
ABSTRACT => 'A module for communicating with a UPS via the NUT upsd'
|
||||
);
|
Loading…
Reference in a new issue