aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Socket-GetAddrInfo/Makefile
blob: 149415b43523517b29453a251c3d5e24d5806300 (plain) (blame)
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
# Created by: Sahil Tandon <sahil@tandon.net>
# $FreeBSD$

PORTNAME=	Socket-GetAddrInfo
PORTVERSION=	0.22
PORTREVISION=	2
CATEGORIES=	net perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	RFC 2553's getaddrinfo and getnameinfo functions

BUILD_DEPENDS=	p5-ExtUtils-CChecker>=0.06:${PORTSDIR}/devel/p5-ExtUtils-CChecker

USES=		perl5 shebangfix
USE_PERL5=	modbuild
SHEBANG_FILES=	bin/getaddrinfo bin/getnameinfo

.include <bsd.port.pre.mk>

# It only needs to compile stuff on perl older than 5.16.
.if ${PERL_LEVEL} < 501600
PLIST_SUB+=	OLD_PERL="" NEW_PERL="@comment "
.else
PLIST_SUB+=	OLD_PERL="@comment " NEW_PERL=""
.endif

.include <bsd.port.post.mk>