forked from Lainports/freebsd-ports
32 lines
686 B
Makefile
32 lines
686 B
Makefile
# New ports collection makefile for: p5-Socket
|
|
# Date created: 2011-12-12
|
|
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Socket
|
|
PORTVERSION= 2.002
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:PEVANS
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Networking constants and support functions
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Socket.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 501000
|
|
BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} < 501400
|
|
BUILD_DEPENDS+= p5-ExtUtils-Constant>=0.23:${PORTSDIR}/devel/p5-ExtUtils-Constant
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|