aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Module-Load-Conditional
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2005-01-19 02:49:01 +0800
committermat <mat@FreeBSD.org>2005-01-19 02:49:01 +0800
commit447556a08ce628653919729d91fbeb877369bc7b (patch)
tree6d4068c8f01a49652fd824c64f4f0a57ff93b58c /devel/p5-Module-Load-Conditional
parent40479b495ae86fc5c31aa1b228e7051050d7ee5f (diff)
downloadfreebsd-ports-graphics-447556a08ce628653919729d91fbeb877369bc7b.tar.gz
freebsd-ports-graphics-447556a08ce628653919729d91fbeb877369bc7b.tar.zst
freebsd-ports-graphics-447556a08ce628653919729d91fbeb877369bc7b.zip
Update to 0.08
Add docs
Diffstat (limited to 'devel/p5-Module-Load-Conditional')
-rw-r--r--devel/p5-Module-Load-Conditional/Makefile15
-rw-r--r--devel/p5-Module-Load-Conditional/distinfo4
2 files changed, 14 insertions, 5 deletions
diff --git a/devel/p5-Module-Load-Conditional/Makefile b/devel/p5-Module-Load-Conditional/Makefile
index de5cdacfa0d..5b53a4eb209 100644
--- a/devel/p5-Module-Load-Conditional/Makefile
+++ b/devel/p5-Module-Load-Conditional/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Module-Load-Conditional
-PORTVERSION= 0.06
+PORTVERSION= 0.08
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Module
@@ -16,15 +16,24 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Looking up Perl modules information/loading at runtime
BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
- ${SITE_PERL}/Module/Load.pm:${PORTSDIR}/devel/p5-Module-Load \
+ ${RUN_DEPENDS}
+RUN_DEPENDS= ${SITE_PERL}/Module/Load.pm:${PORTSDIR}/devel/p5-Module-Load \
${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
${SITE_PERL}/Params/Check.pm:${PORTSDIR}/devel/p5-Params-Check
-RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Module::Load::Conditional.3
+.if !defined(NOPORTDOCS)
+PORTDOCS= README
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500600
diff --git a/devel/p5-Module-Load-Conditional/distinfo b/devel/p5-Module-Load-Conditional/distinfo
index 43e42980a01..420ab5e8464 100644
--- a/devel/p5-Module-Load-Conditional/distinfo
+++ b/devel/p5-Module-Load-Conditional/distinfo
@@ -1,2 +1,2 @@
-MD5 (Module-Load-Conditional-0.06.tar.gz) = 042b12469a1166e0fbc7848c58b276a6
-SIZE (Module-Load-Conditional-0.06.tar.gz) = 6533
+MD5 (Module-Load-Conditional-0.08.tar.gz) = 9e2a706b6511651ca4eb6de0c4c89a12
+SIZE (Module-Load-Conditional-0.08.tar.gz) = 6630