aboutsummaryrefslogtreecommitdiff
path: root/sysutils/p5-UPS-Nut
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-29 07:21:11 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-29 07:21:11 +0000
commit112a8e53c3569a82f3d46081a4e060d73a392420 (patch)
tree60f77559e4352ceba746158448873eb10ad53d09 /sysutils/p5-UPS-Nut
parentc5cf9624ab87c91c8f5f60df6762c39e54b6dff8 (diff)
downloadports-112a8e53c3569a82f3d46081a4e060d73a392420.tar.gz
ports-112a8e53c3569a82f3d46081a4e060d73a392420.zip
Notes
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