diff options
author | mat <mat@FreeBSD.org> | 2005-02-24 01:58:25 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2005-02-24 01:58:25 +0800 |
commit | b06b86e1f62cedc298e2cc72776c2c51989a9531 (patch) | |
tree | 4ef7c325adf731649cdfd0f3e5984559ef99ecb3 | |
parent | 64fb144f52d357a0c7c30582e978d946af5ef424 (diff) | |
download | freebsd-ports-gnome-b06b86e1f62cedc298e2cc72776c2c51989a9531.tar.gz freebsd-ports-gnome-b06b86e1f62cedc298e2cc72776c2c51989a9531.tar.zst freebsd-ports-gnome-b06b86e1f62cedc298e2cc72776c2c51989a9531.zip |
Update to 1.1
Add some doc and examples
-rw-r--r-- | devel/p5-Coro/Makefile | 17 | ||||
-rw-r--r-- | devel/p5-Coro/distinfo | 4 | ||||
-rw-r--r-- | devel/p5-Coro/pkg-plist | 14 |
3 files changed, 29 insertions, 6 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 diff --git a/devel/p5-Coro/distinfo b/devel/p5-Coro/distinfo index 6dced3c7ecfa..378f5ad4ae31 100644 --- a/devel/p5-Coro/distinfo +++ b/devel/p5-Coro/distinfo @@ -1,2 +1,2 @@ -MD5 (Coro-1.0a.tar.gz) = f453b72e943238c1be1ef713a22957e3 -SIZE (Coro-1.0a.tar.gz) = 53985 +MD5 (Coro-1.1.tar.gz) = b15568b1e739dc4d585c2de9f1324d63 +SIZE (Coro-1.1.tar.gz) = 54121 diff --git a/devel/p5-Coro/pkg-plist b/devel/p5-Coro/pkg-plist index 333baf004d9d..006a17f10d89 100644 --- a/devel/p5-Coro/pkg-plist +++ b/devel/p5-Coro/pkg-plist @@ -1,3 +1,4 @@ +@comment $FreeBSD$ %%SITE_PERL%%/%%PERL_ARCH%%/auto/Coro/Event/Event.so %%SITE_PERL%%/%%PERL_ARCH%%/auto/Coro/Event/Event.bs %%SITE_PERL%%/%%PERL_ARCH%%/auto/Coro/State/State.so @@ -20,8 +21,19 @@ %%SITE_PERL%%/%%PERL_ARCH%%/Coro/Util.pm %%SITE_PERL%%/%%PERL_ARCH%%/Coro/Event.pm %%SITE_PERL%%/%%PERL_ARCH%%/Coro/Socket.pm +%%PORTDOCS%%%%EXAMPLESDIR%%/attributes +%%PORTDOCS%%%%EXAMPLESDIR%%/bench +%%PORTDOCS%%%%EXAMPLESDIR%%/cont +%%PORTDOCS%%%%EXAMPLESDIR%%/dns +%%PORTDOCS%%%%EXAMPLESDIR%%/event +%%PORTDOCS%%%%EXAMPLESDIR%%/lwp +%%PORTDOCS%%%%EXAMPLESDIR%%/myhttpd +%%PORTDOCS%%%%EXAMPLESDIR%%/prodcons1 +%%PORTDOCS%%%%EXAMPLESDIR%%/prodcons2 +%%PORTDOCS%%%%EXAMPLESDIR%%/prodcons3 +%%PORTDOCS%%%%EXAMPLESDIR%%/readline +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Coro/Event @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Coro/State @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Coro @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Coro -@unexec rmdir %D/%%SITE_PERL%%/mach 2>/dev/null || true |