aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Event
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2002-01-25 14:24:27 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2002-01-25 14:24:27 +0000
commita86fad7524aa86f201a58a8ad1618c1ccfdff5eb (patch)
tree301aac255194ef4a97888fdf02b0dbabf1330ff7 /devel/p5-Event
parent862813b75f3ad8dc53479fbdbe0857828b3d23dd (diff)
downloadports-a86fad7524aa86f201a58a8ad1618c1ccfdff5eb.tar.gz
ports-a86fad7524aa86f201a58a8ad1618c1ccfdff5eb.zip
Notes
Diffstat (limited to 'devel/p5-Event')
-rw-r--r--devel/p5-Event/Makefile17
-rw-r--r--devel/p5-Event/distinfo2
-rw-r--r--devel/p5-Event/pkg-descr9
-rw-r--r--devel/p5-Event/pkg-plist2
4 files changed, 24 insertions, 6 deletions
diff --git a/devel/p5-Event/Makefile b/devel/p5-Event/Makefile
index 20321d8ce0c3..91f51a69f887 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 cd7f17e11e2c..a82f45c1be5d 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 36a7c1e41b22..149d3178e322 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 ea135c5b291e..56db556d075e 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