diff options
author | bouyer <bouyer> | 2011-07-29 15:13:58 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2011-07-29 15:13:58 +0000 |
commit | c552e9a60575ca3f736d95232deea5b829a3f1d5 (patch) | |
tree | 79d89fbf8f1439f602a9b5f01dd8c076f61c7903 /sysutils | |
parent | 8eaf2868ea9b29178a2102953694bc099d7259dc (diff) | |
download | pkgsrc-c552e9a60575ca3f736d95232deea5b829a3f1d5.tar.gz |
Initial import of p5-UPS-Nut version 2.6.1:
Perl interface to talk to the NUT upsd network daemon
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/p5-UPS-Nut/DESCR | 1 | ||||
-rw-r--r-- | sysutils/p5-UPS-Nut/Makefile | 21 | ||||
-rw-r--r-- | sysutils/p5-UPS-Nut/files/Makefile.PL | 9 |
3 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/p5-UPS-Nut/DESCR b/sysutils/p5-UPS-Nut/DESCR new file mode 100644 index 00000000000..438dcc45068 --- /dev/null +++ b/sysutils/p5-UPS-Nut/DESCR @@ -0,0 +1 @@ +Perl interface to talk to the NUT upsd network daemon diff --git a/sysutils/p5-UPS-Nut/Makefile b/sysutils/p5-UPS-Nut/Makefile new file mode 100644 index 00000000000..63a2f05c49b --- /dev/null +++ b/sysutils/p5-UPS-Nut/Makefile @@ -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" diff --git a/sysutils/p5-UPS-Nut/files/Makefile.PL b/sysutils/p5-UPS-Nut/files/Makefile.PL new file mode 100644 index 00000000000..f14a5ce47e4 --- /dev/null +++ b/sysutils/p5-UPS-Nut/files/Makefile.PL @@ -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' +); |