aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/p5-Net-ILO
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2012-04-07 07:22:35 +0000
committerFrederic Culot <culot@FreeBSD.org>2012-04-07 07:22:35 +0000
commit97032579e0e2561b7e1e385dc7f276eb5053bdc4 (patch)
tree8c58c9c3020fb9b4cdd2b0a144b161320bff25f4 /net-mgmt/p5-Net-ILO
parent9cf37d93fcc586e02cb77a5684fd02e001c0d40c (diff)
downloadports-97032579e0e2561b7e1e385dc7f276eb5053bdc4.tar.gz
ports-97032579e0e2561b7e1e385dc7f276eb5053bdc4.zip
Notes
Diffstat (limited to 'net-mgmt/p5-Net-ILO')
-rw-r--r--net-mgmt/p5-Net-ILO/Makefile30
-rw-r--r--net-mgmt/p5-Net-ILO/distinfo2
-rw-r--r--net-mgmt/p5-Net-ILO/files/patch-Makefile.PL17
-rw-r--r--net-mgmt/p5-Net-ILO/pkg-descr7
-rw-r--r--net-mgmt/p5-Net-ILO/pkg-plist5
5 files changed, 61 insertions, 0 deletions
diff --git a/net-mgmt/p5-Net-ILO/Makefile b/net-mgmt/p5-Net-ILO/Makefile
new file mode 100644
index 000000000000..366de279ee56
--- /dev/null
+++ b/net-mgmt/p5-Net-ILO/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: p5-Net-ILO
+# Date created: 2012-04-03
+# Whom: Tsung-Han Yeh <snowfly@yuntech.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-ILO
+PORTVERSION= 0.54
+CATEGORIES= net-mgmt perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= snowfly@yuntech.edu.tw
+COMMENT= Interface to HP Integrated Lights-Out
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-IO-Socket-SSL>0:${PORTSDIR}/security/p5-IO-Socket-SSL \
+ p5-XML-Simple>0:${PORTSDIR}/textproc/p5-XML-Simple
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::ILO.3
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-Net-ILO/distinfo b/net-mgmt/p5-Net-ILO/distinfo
new file mode 100644
index 000000000000..5c9156d97519
--- /dev/null
+++ b/net-mgmt/p5-Net-ILO/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Net-ILO-0.54.tar.gz) = 79168b91106d36c10cf9bf3f3e8ec7e9604580d51ffcfb28e1069cfc023eb786
+SIZE (Net-ILO-0.54.tar.gz) = 31120
diff --git a/net-mgmt/p5-Net-ILO/files/patch-Makefile.PL b/net-mgmt/p5-Net-ILO/files/patch-Makefile.PL
new file mode 100644
index 000000000000..abab84bff774
--- /dev/null
+++ b/net-mgmt/p5-Net-ILO/files/patch-Makefile.PL
@@ -0,0 +1,17 @@
+--- Makefile.PL.orig 2012-04-06 04:48:50.000000000 -0400
++++ Makefile.PL 2012-04-06 04:51:58.000000000 -0400
+@@ -16,3 +16,14 @@
+ dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+ clean => { FILES => 'Net-ILO-*' },
+ );
++
++package MY;
++
++sub init_PM {
++ my $self = shift;
++
++ $self->SUPER::init_PM(@_);
++
++ # Do not install README.pod
++ delete $self->{PM}{"README.pod"};
++}
diff --git a/net-mgmt/p5-Net-ILO/pkg-descr b/net-mgmt/p5-Net-ILO/pkg-descr
new file mode 100644
index 000000000000..a4fa39204bc6
--- /dev/null
+++ b/net-mgmt/p5-Net-ILO/pkg-descr
@@ -0,0 +1,7 @@
+The Net::ILO module is an interface to a subset of Hewlett-Packards
+Integrated Lights-Out out-of-band management system.
+HP's API is XML-based and cumbersome to use; this module aims to
+simplify accessing the iLO from Perl while retaining as much
+functionality as possible.
+
+WWW: http://search.cpan.org/dist/Net-ILO/
diff --git a/net-mgmt/p5-Net-ILO/pkg-plist b/net-mgmt/p5-Net-ILO/pkg-plist
new file mode 100644
index 000000000000..f427b4efa46b
--- /dev/null
+++ b/net-mgmt/p5-Net-ILO/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Net/ILO.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ILO/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ILO
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net