aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Coro/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-09 13:35:41 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-09 13:35:41 +0000
commit72428dcd613ab70982d6bb2c7f573efa909b1c0b (patch)
tree75073e5b8334ded86c5338575cc9324a12e2ba29 /devel/p5-Coro/Makefile
parentc980b28dbd02b16d0cd17c6ce00de9096305c57f (diff)
downloadports-72428dcd613ab70982d6bb2c7f573efa909b1c0b.tar.gz
ports-72428dcd613ab70982d6bb2c7f573efa909b1c0b.zip
- Update to 3.1.1
PR: 106528 Submitted by: Gea-Suan Lin <gslin@gslin.org>
Notes
Notes: svn path=/head/; revision=179297
Diffstat (limited to 'devel/p5-Coro/Makefile')
-rw-r--r--devel/p5-Coro/Makefile51
1 files changed, 18 insertions, 33 deletions
diff --git a/devel/p5-Coro/Makefile b/devel/p5-Coro/Makefile
index 8dbb7dcf7611..9e698f6c9d15 100644
--- a/devel/p5-Coro/Makefile
+++ b/devel/p5-Coro/Makefile
@@ -6,34 +6,29 @@
#
PORTNAME= Coro
-PORTVERSION= 1.9
+PORTVERSION= 3.1.1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Coro
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-3.11
MAINTAINER= perl@FreeBSD.org
COMMENT= Coro - coroutine process abstraction for perl
-BUILD_DEPENDS= p5-Event>=0.89:${PORTSDIR}/devel/p5-Event \
- ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Event>=0.89:${PORTSDIR}/devel/p5-Event \
+ ${SITE_PERL}/AnyEvent.pm:${PORTSDIR}/devel/p5-AnyEvent \
+ ${SITE_PERL}/${PERL_ARCH}/IO/AIO.pm:${PORTSDIR}/devel/p5-IO-AIO
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
-.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
+MAN3= Coro.3 Coro::AIO.3 Coro::Channel.3 Coro::Handle.3 \
+ Coro::LWP.3 Coro::MakeMaker.3 Coro::RWLock.3 Coro::Select.3 \
+ 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.pre.mk>
@@ -41,22 +36,12 @@ post-install:
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif
-MAN3= Coro.3 \
- Coro::AIO.3 \
- Coro::Channel.3 \
- Coro::Cont.3 \
- Coro::Event.3 \
- Coro::Handle.3 \
- Coro::MakeMaker.3 \
- Coro::RWLock.3 \
- Coro::Select.3 \
- Coro::Semaphore.3 \
- Coro::SemaphoreSet.3 \
- Coro::Signal.3 \
- Coro::Socket.3 \
- Coro::Specific.3 \
- Coro::State.3 \
- Coro::Timer.3 \
- Coro::Util.3
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/eg/* ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/cede-vs-schedule ${DOCSDIR}
+.endif
.include <bsd.port.post.mk>