diff options
-rw-r--r-- | devel/p5-Event/Makefile | 17 | ||||
-rw-r--r-- | devel/p5-Event/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Event/pkg-descr | 9 | ||||
-rw-r--r-- | devel/p5-Event/pkg-plist | 2 |
4 files changed, 24 insertions, 6 deletions
diff --git a/devel/p5-Event/Makefile b/devel/p5-Event/Makefile index 20321d8..91f51a6 100644 --- a/devel/p5-Event/Makefile +++ b/devel/p5-Event/Makefile @@ -6,17 +6,28 @@ # PORTNAME= Event -PORTVERSION= 0.83 +PORTVERSION= 0.84 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Event PKGNAMEPREFIX= p5- -MAINTAINER= skv@protey.ru +MAINTAINER= skv@FreeBSD.org +PLIST_SUB= DOCSDIR="share/doc/${PORTNAME}" PERL_CONFIGURE= yes +DOCS= Tutorial.pdf MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -MAN3= Event::MakeMaker.3 Event.3 +MAN3= Event.3 Event::MakeMaker.3 + +post-install: +.ifndef(NOPORTDOCS) + @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" + @${MKDIR} ${DOCSDIR} +.for DOCFILE in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${DOCFILE} ${DOCSDIR} +.endfor +.endif .include <bsd.port.mk> diff --git a/devel/p5-Event/distinfo b/devel/p5-Event/distinfo index cd7f17e..a82f45c 100644 --- a/devel/p5-Event/distinfo +++ b/devel/p5-Event/distinfo @@ -1 +1 @@ -MD5 (Event-0.83.tar.gz) = 48f7b7221d9c32e8ac7e0d3a02d9a300 +MD5 (Event-0.84.tar.gz) = 7e5cf10f388e51df9f30979bec0611ed diff --git a/devel/p5-Event/pkg-descr b/devel/p5-Event/pkg-descr index 36a7c1e..149d317 100644 --- a/devel/p5-Event/pkg-descr +++ b/devel/p5-Event/pkg-descr @@ -1,4 +1,9 @@ Event - A Generic Perl Event Loop -This extension aims to provide an simple and optimized event loop for -a broad class of applications. +This extension aims to provide a simple and optimized event loop for a +broad class of applications. + +WWW: http://search.cpan.org/search?dist=Event + +-- Sergey Skvortsov +skv@FreeBSD.org diff --git a/devel/p5-Event/pkg-plist b/devel/p5-Event/pkg-plist index ea135c5..56db556 100644 --- a/devel/p5-Event/pkg-plist +++ b/devel/p5-Event/pkg-plist @@ -14,5 +14,7 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Event/typemap lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Event/var.pm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Event/Event.bs lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Event/Event.so +%%PORTDOCS%%%%DOCSDIR%%/Tutorial.pdf +%%PORTDOCS%%@dirrm %%DOCSDIR%% @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Event 2>/dev/null || true @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Event 2>/dev/null || true |