1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/devel/p5-Coro/Makefile
Dag-Erling Smørgrav 9dff352320 Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.

Approved by:	portmgr (adamw)
2018-10-06 13:06:42 +00:00

51 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= Coro
PORTVERSION= 6.514
PORTEPOCH= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Coroutine process abstraction for perl
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS} \
p5-Canary-Stability>=0:devel/p5-Canary-Stability
RUN_DEPENDS= p5-AnyEvent>=7:devel/p5-AnyEvent \
p5-AnyEvent-AIO>=1.0:devel/p5-AnyEvent-AIO \
p5-EV>=4:devel/p5-EV \
p5-Event>=1.08:devel/p5-Event \
p5-Guard>=0.5:devel/p5-Guard \
p5-IO-AIO>=3.1:devel/p5-IO-AIO \
p5-common-sense>=0:devel/p5-common-sense
OPTIONS_DEFINE= DOCS EXAMPLES
USES= perl5 shebangfix
USE_PERL5= configure
PORTDOCS= *
PORTEXAMPLES= *
SHEBANG_FILES= Coro/*.pl eg/*
perl_OLD_CMD= /.*/bin/perl
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Coro/EV/EV.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Coro/Event/Event.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Coro/State/State.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/cede-vs-schedule ${STAGEDIR}${DOCSDIR}/
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/eg/* ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>