2003-01-27 10:53:40 +01:00
|
|
|
# New ports collection makefile for: Coro
|
|
|
|
# Date created: 27 Jan 2003
|
|
|
|
# Whom: tobez
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Coro
|
2005-03-04 15:20:27 +01:00
|
|
|
PORTVERSION= 1.11
|
2003-01-27 10:53:40 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Coro
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2004-07-14 12:53:04 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Coro - coroutine process abstraction for perl
|
2003-01-27 10:53:40 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Event.pm:${PORTSDIR}/devel/p5-Event \
|
|
|
|
${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
2005-02-23 18:58:25 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= Changes
|
|
|
|
EXAMPLES= eg/attributes eg/bench eg/cont eg/dns eg/event eg/lwp eg/myhttpd eg/prodcons1 eg/prodcons2 eg/prodcons3 eg/readline
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
|
|
|
|
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
|
|
|
|
.endif
|
|
|
|
|
2003-01-27 10:53:40 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
2003-12-15 23:59:18 +01:00
|
|
|
IGNORE= "This port requires perl 5.6 or newer"
|
2003-01-27 10:53:40 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN3= Coro.3 \
|
|
|
|
Coro::Channel.3 \
|
|
|
|
Coro::Cont.3 \
|
|
|
|
Coro::Event.3 \
|
|
|
|
Coro::Handle.3 \
|
|
|
|
Coro::MakeMaker.3 \
|
|
|
|
Coro::RWLock.3 \
|
2004-07-14 12:53:04 +02:00
|
|
|
Coro::Select.3 \
|
2003-01-27 10:53:40 +01:00
|
|
|
Coro::Semaphore.3 \
|
|
|
|
Coro::SemaphoreSet.3 \
|
|
|
|
Coro::Signal.3 \
|
|
|
|
Coro::Socket.3 \
|
|
|
|
Coro::Specific.3 \
|
|
|
|
Coro::State.3 \
|
|
|
|
Coro::Timer.3 \
|
|
|
|
Coro::Util.3
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|