summaryrefslogtreecommitdiffstats
path: root/net/p5-Net-Gopher/Makefile
blob: 6b31cdf250967933ef420187ff1439e22fb07755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>
OpenPOWER on IntegriCloud