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:
parent
1abda59b82
commit
45a5f7c4b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106419
@ -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
|
||||
|
37
net/p5-Net-Gopher/Makefile
Normal file
37
net/p5-Net-Gopher/Makefile
Normal 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>
|
2
net/p5-Net-Gopher/distinfo
Normal file
2
net/p5-Net-Gopher/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Net-Gopher-1.05.tar.gz) = 20f3c1628fed59a2b626c13d5de3589f
|
||||
SIZE (Net-Gopher-1.05.tar.gz) = 90018
|
11
net/p5-Net-Gopher/files/patch-Makefile.PL
Normal file
11
net/p5-Net-Gopher/files/patch-Makefile.PL
Normal 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 = (
|
4
net/p5-Net-Gopher/pkg-descr
Normal file
4
net/p5-Net-Gopher/pkg-descr
Normal 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/
|
16
net/p5-Net-Gopher/pkg-plist
Normal file
16
net/p5-Net-Gopher/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user