aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-Event/Makefile8
-rw-r--r--devel/p5-Event/pkg-plist6
2 files changed, 10 insertions, 4 deletions
diff --git a/devel/p5-Event/Makefile b/devel/p5-Event/Makefile
index 232512f56c88..75aa049068fd 100644
--- a/devel/p5-Event/Makefile
+++ b/devel/p5-Event/Makefile
@@ -14,8 +14,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= A Generic Perl Event Loop
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+
PERL_CONFIGURE= yes
-DOCS= Tutorial.pdf
+DOCS= ANNOUNCE ChangeLog INSTALL MANIFEST README TODO Tutorial.pdf
MAN3= Event.3 Event::MakeMaker.3 Event::generic.3
@@ -23,9 +25,7 @@ post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@${MKDIR} ${DOCSDIR}
-.for DOCFILE in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${DOCFILE} ${DOCSDIR}
-.endfor
+ @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/devel/p5-Event/pkg-plist b/devel/p5-Event/pkg-plist
index 5935ad13a980..c4d9c6dc20da 100644
--- a/devel/p5-Event/pkg-plist
+++ b/devel/p5-Event/pkg-plist
@@ -17,6 +17,12 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Event/Event.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Event/Event.so
%%PORTDOCS%%%%DOCSDIR%%/Tutorial.pdf
+%%PORTDOCS%%%%DOCSDIR%%/ANNOUNCE
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/MANIFEST
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Event
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Event