aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Gopher-Server
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2004-05-10 21:50:38 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2004-05-10 21:50:38 +0000
commit987079a74ecb13efc70d92d9045d7d7d58396a2c (patch)
tree09f89f756767d6b10836ef20b158230c0988827c /net/p5-Gopher-Server
parent16f8154ebc76a78ccc2517af9092f18903a922ac (diff)
downloadports-987079a74ecb13efc70d92d9045d7d7d58396a2c.tar.gz
ports-987079a74ecb13efc70d92d9045d7d7d58396a2c.zip
Add p5-Gopher-Server 0.1.1, backend for Gopher Servers.
PR: ports/65423 Submitted by: Toni Viemer?<toni.viemero@iki.fi>
Notes
Notes: svn path=/head/; revision=108875
Diffstat (limited to 'net/p5-Gopher-Server')
-rw-r--r--net/p5-Gopher-Server/Makefile38
-rw-r--r--net/p5-Gopher-Server/distinfo2
-rw-r--r--net/p5-Gopher-Server/pkg-descr3
-rw-r--r--net/p5-Gopher-Server/pkg-plist11
4 files changed, 54 insertions, 0 deletions
diff --git a/net/p5-Gopher-Server/Makefile b/net/p5-Gopher-Server/Makefile
new file mode 100644
index 000000000000..b0e0fe557265
--- /dev/null
+++ b/net/p5-Gopher-Server/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: p5-Gopher-Server
+# Date created: 2004-03-31
+# Whom: Toni Viemer?<toni.viemero@iki.fi>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Gopher-Server
+PORTVERSION= 0.1.1
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/T/TM/TMURRAY
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= toni.viemero@iki.fi
+COMMENT= Backend for Gopher Servers
+
+RUN_DEPENDS= ${SITE_PERL}/Net/Gopher.pm:${PORTSDIR}/net/p5-Net-Gopher \
+ ${SITE_PERL}/IO/Scalar.pm:${PORTSDIR}/devel/p5-IO-stringy \
+ ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= Gopher::Server::ParseRequest.3 \
+ Gopher::Server::RequestHandler.3 \
+ Gopher::Server::RequestHandler::DBI.3 \
+ Gopher::Server::RequestHandler::File.3 \
+ Gopher::Server::Response.3 \
+ Gopher::Server::TypeMapper.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "needs at least perl 5.6.0 to work"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-Gopher-Server/distinfo b/net/p5-Gopher-Server/distinfo
new file mode 100644
index 000000000000..cc93364e87fb
--- /dev/null
+++ b/net/p5-Gopher-Server/distinfo
@@ -0,0 +1,2 @@
+MD5 (Gopher-Server-0.1.1.tar.gz) = c98a8459e98286ebcb6153466e05ed06
+SIZE (Gopher-Server-0.1.1.tar.gz) = 11499
diff --git a/net/p5-Gopher-Server/pkg-descr b/net/p5-Gopher-Server/pkg-descr
new file mode 100644
index 000000000000..db0c22500985
--- /dev/null
+++ b/net/p5-Gopher-Server/pkg-descr
@@ -0,0 +1,3 @@
+Backend for Gopher Servers
+
+ WWW: http://search.cpan.org/dist/Gopher-Server/
diff --git a/net/p5-Gopher-Server/pkg-plist b/net/p5-Gopher-Server/pkg-plist
new file mode 100644
index 000000000000..19c9d6a22064
--- /dev/null
+++ b/net/p5-Gopher-Server/pkg-plist
@@ -0,0 +1,11 @@
+%%SITE_PERL%%/Gopher/Server/ParseRequest.pm
+%%SITE_PERL%%/Gopher/Server/RequestHandler.pm
+%%SITE_PERL%%/Gopher/Server/Response.pm
+%%SITE_PERL%%/Gopher/Server/TypeMapper.pm
+%%SITE_PERL%%/Gopher/Server/RequestHandler/DBI.pm
+%%SITE_PERL%%/Gopher/Server/RequestHandler/File.pm
+@unexec rmdir %D/%%SITE_PERL%%/Gopher 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gopher 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Gopher/Server/RequestHandler
+@dirrm %%SITE_PERL%%/Gopher/Server
+@unexec rmdir %D/%%SITE_PERL%%/Gopher 2>/dev/null || true