1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add p5-Net-Gopher 1.05, net::Gopher is the Perl Gopher/Gopher+ API.

PR:		ports/64972
Submitted by:	Toni Viemero <toni.viemero@iki.fi>
This commit is contained in:
Vanilla I. Shu 2004-04-07 15:04:44 +00:00
parent 1abda59b82
commit 45a5f7c4b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106419
6 changed files with 71 additions and 0 deletions

View File

@ -418,6 +418,7 @@
SUBDIR += p5-Net-Divert
SUBDIR += p5-Net-Finger
SUBDIR += p5-Net-Google
SUBDIR += p5-Net-Gopher
SUBDIR += p5-Net-ICQ2000
SUBDIR += p5-Net-Ident
SUBDIR += p5-Net-Jabber

View File

@ -0,0 +1,37 @@
# New ports collection makefile for: p5-Net-Gopher
# Date created: 2004-03-31
# Whom: Toni Viemero <toni.viemero@iki.fi>
#
# $FreeBSD$
#
PORTNAME= Net-Gopher
PORTVERSION= 1.05
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= toni.viemero@iki.fi
COMMENT= Net::Gopher is the Perl Gopher/Gopher+ API
RUN_DEPENDS= ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Net::Gopher.3 \
Net::Gopher::Constants.3 \
Net::Gopher::Request.3 \
Net::Gopher::Response.3 \
Net::Gopher::Response::InformationBlock.3 \
Net::Gopher::Response::MenuItem.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket.pm:${PORTSDIR}/devel/p5-IO
BUILD_DEPENDS= ${RUN_DEPENDS}
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
MD5 (Net-Gopher-1.05.tar.gz) = 20f3c1628fed59a2b626c13d5de3589f
SIZE (Net-Gopher-1.05.tar.gz) = 90018

View File

@ -0,0 +1,11 @@
--- Makefile.PL.orig Sun Mar 21 19:09:20 2004
+++ Makefile.PL Wed Apr 7 22:56:11 2004
@@ -7,7 +7,7 @@
# don't prompt the user if we're not being called interactively (e.g., if we're
# being called from cron or some such program instead of directly by the user):
my $interactive = 1;
-$interactive = 1 if (-t STDIN and -t STDOUT);
+$interactive = 0 if (-t STDIN and -t STDOUT);
# first, make sure the line endings in the test items are correct:
my %files_and_newlines = (

View File

@ -0,0 +1,4 @@
Net::Gopher is the Perl Gopher/Gopher+ API. This library will enable you to
communicate with Gopher and Gopher+ servers using Perl.
WWW: http://search.cpan.org/dist/Net-Gopher/

View File

@ -0,0 +1,16 @@
%%SITE_PERL%%/Net/Gopher.pm
%%SITE_PERL%%/Net/Gopher/Constants.pm
%%SITE_PERL%%/Net/Gopher/Debugging.pm
%%SITE_PERL%%/Net/Gopher/Exception.pm
%%SITE_PERL%%/Net/Gopher/Request.pm
%%SITE_PERL%%/Net/Gopher/Response.pm
%%SITE_PERL%%/Net/Gopher/Response/InformationBlock.pm
%%SITE_PERL%%/Net/Gopher/Response/MenuItem.pm
%%SITE_PERL%%/Net/Gopher/Utility.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Gopher/.packlist
@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Gopher
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
@dirrm %%SITE_PERL%%/Net/Gopher/Response
@dirrm %%SITE_PERL%%/Net/Gopher
@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true