aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-IO-AIO/Makefile
blob: c317c995c6cff39b7cf9d5cb20e6c9762ef74c85 (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
30
31
# New ports collection makefile for:    p5-IO-AIO
# Date created:     2006-12-09
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   IO-AIO
PORTVERSION=    2.2
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= IO
PKGNAMEPREFIX=  p5-

MAINTAINER= gslin@gslin.org
COMMENT=    Asynchronous Input/Output

PERL_CONFIGURE= yes

MAN3=       IO::AIO.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=     requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif

post-patch:
    ${PERL} -e 's,-lpthreads?,${PTHREAD_LIBS},g' ${WRKSRC}/Makefile.PL

.include <bsd.port.post.mk>