diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2005-02-23 17:58:25 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2005-02-23 17:58:25 +0000 |
commit | 1a264764ab2de951014b683b345c06dc0e756b9c (patch) | |
tree | b9421a06505fce99707d10d78fe9bc237fdea665 /devel/p5-Coro/Makefile | |
parent | a619d1ccf421d6a74e8448e85dc52296558d0cb2 (diff) |
Notes
Diffstat (limited to 'devel/p5-Coro/Makefile')
-rw-r--r-- | devel/p5-Coro/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/devel/p5-Coro/Makefile b/devel/p5-Coro/Makefile index ab6c9720a341..88739d143300 100644 --- a/devel/p5-Coro/Makefile +++ b/devel/p5-Coro/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Coro -PORTVERSION= 1.0a +PORTVERSION= 1.1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Coro @@ -19,10 +19,21 @@ 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} -WRKSRC= ${WRKDIR}/${DISTNAME:S/a$//} - 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 + .include <bsd.port.pre.mk> .if ${PERL_LEVEL} < 500600 |