aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Event/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Event/Makefile')
-rw-r--r--devel/p5-Event/Makefile17
1 files changed, 14 insertions, 3 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>