aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-What
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-07-16 18:06:02 +0800
committerclsung <clsung@FreeBSD.org>2006-07-16 18:06:02 +0800
commite4ce2958d98fd52c9e4d0803cd8c270e08136061 (patch)
tree3410df90a0c847e1c7834c9bf21ebaa321d946e7 /net/p5-What
parent0e061237f15aefa532d5dc22c261b7748680ac10 (diff)
downloadfreebsd-ports-gnome-e4ce2958d98fd52c9e4d0803cd8c270e08136061.tar.gz
freebsd-ports-gnome-e4ce2958d98fd52c9e4d0803cd8c270e08136061.tar.zst
freebsd-ports-gnome-e4ce2958d98fd52c9e4d0803cd8c270e08136061.zip
Add p5-What 1.01, find out about running services.
PR: ports/100333 Submitted by: Gea-Suan Lin <gslin at gslin.org>
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