summaryrefslogtreecommitdiff
path: root/net/p5-What
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-07-16 10:06:02 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-07-16 10:06:02 +0000
commita72a83dae6439074038e234198a1ee6ad40b3ff2 (patch)
tree9abf383a64df741418ca0c4a0badeedd039ccc93 /net/p5-What
parentAdd port audio/audacious-crossfade: (diff)
Add p5-What 1.01, find out about running services.
PR: ports/100333 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Notes
Notes: svn path=/head/; revision=167967
Diffstat (limited to 'net/p5-What')
-rw-r--r--net/p5-What/Makefile37
-rw-r--r--net/p5-What/distinfo3
-rw-r--r--net/p5-What/pkg-descr4
-rw-r--r--net/p5-What/pkg-plist6
4 files changed, 50 insertions, 0 deletions
diff --git a/net/p5-What/Makefile b/net/p5-What/Makefile
new file mode 100644
index 000000000000..dbb0e6f28bb6
--- /dev/null
+++ b/net/p5-What/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: p5-What
+# Date created: 2006-07-15
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= What
+PORTVERSION= 1.01
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/T/TP/TPG
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Find out about running services
+
+BUILD_DEPENDS= ${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \
+ ${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
+ ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= What.3 What::MTA.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600 # Inherited from devel/p5-Error
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 then try again
+.endif
+
+.if ${PERL_LEVEL} < 500702
+BUILD_DEPENDS+= ${SITE_PERL}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-What/distinfo b/net/p5-What/distinfo
new file mode 100644
index 000000000000..ac3ec724f6e2
--- /dev/null
+++ b/net/p5-What/distinfo
@@ -0,0 +1,3 @@
+MD5 (What-1.01.tar.gz) = cf69a02eb4ae482cfed30e2b8c2f8ba8
+SHA256 (What-1.01.tar.gz) = 9ab347981f2f502c493d5b0615d53da35c58a39597429148e41778e2c0fe8d2f
+SIZE (What-1.01.tar.gz) = 28219
diff --git a/net/p5-What/pkg-descr b/net/p5-What/pkg-descr
new file mode 100644
index 000000000000..391d72f75fb8
--- /dev/null
+++ b/net/p5-What/pkg-descr
@@ -0,0 +1,4 @@
+The What class is interface to classes providing information about
+running services.
+
+WWW: http://search.cpan.org/dist/What/
diff --git a/net/p5-What/pkg-plist b/net/p5-What/pkg-plist
new file mode 100644
index 000000000000..723c2cf89ee0
--- /dev/null
+++ b/net/p5-What/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/What/.packlist
+%%SITE_PERL%%/What.pm
+%%SITE_PERL%%/What/MTA.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/What
+@dirrmtry %%SITE_PERL%%/What