aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-IO-KQueue/Makefile
blob: 3303ec248d50908074751f0217d1cf48acff873a (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
PORTNAME=	IO-KQueue
PORTVERSION=	0.39
CATEGORIES=	devel perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl interface to the BSD kqueue system call
WWW=		https://metacpan.org/release/IO-KQueue

LICENSE=	ART10 GPLv2
LICENSE_COMB=	dual

BUILD_DEPENDS=	${_BUILD_RUN_DEPENDS}
RUN_DEPENDS=	${_BUILD_RUN_DEPENDS}

USES=		perl5
USE_PERL5=	configure

OPTIONS_DEFINE=	EXAMPLES

_BUILD_RUN_DEPENDS=	p5-Devel-CheckLib>=0:devel/p5-Devel-CheckLib

post-install:
	${STRIP_CMD} ${STAGEDIR}${SITE_ARCH}/auto/IO/KQueue/KQueue.so

post-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>