aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/p5-UPS-Nut
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-04-29 15:21:11 +0800
committeredwin <edwin@FreeBSD.org>2003-04-29 15:21:11 +0800
commit9b82c78540b9e5090baa03c6bd3b08c9ce914139 (patch)
treea937c444086fe3f6e4016b8781886312e172ca09 /sysutils/p5-UPS-Nut
parent42f0f598e3fcbd4bf79fdac58448ca610cb4f6e2 (diff)
downloadfreebsd-ports-gnome-9b82c78540b9e5090baa03c6bd3b08c9ce914139.tar.gz
freebsd-ports-gnome-9b82c78540b9e5090baa03c6bd3b08c9ce914139.tar.zst
freebsd-ports-gnome-9b82c78540b9e5090baa03c6bd3b08c9ce914139.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>
Diffstat (limited to 'sysutils/p5-UPS-Nut')
-rw-r--r--sysutils/p5-UPS-Nut/Makefile26
-rw-r--r--sysutils/p5-UPS-Nut/distinfo1
-rw-r--r--sysutils/p5-UPS-Nut/pkg-descr2
-rw-r--r--sysutils/p5-UPS-Nut/pkg-plist5
4 files changed, 34 insertions, 0 deletions
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