summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2005-01-18 18:49:01 +0000
committerMathieu Arnold <mat@FreeBSD.org>2005-01-18 18:49:01 +0000
commitd8b4f908b9503ab262e81ed1bef0e5bd1d33f24d (patch)
tree6626b76b8fb68b4b69d413227348124eb88bedcc /devel
parent- update to iroffer-1.4.b02 (diff)
Update to 0.08
Add docs
Notes
Notes: svn path=/head/; revision=126738
Diffstat (limited to 'devel')
-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 de5cdacfa0d9..5b53a4eb2093 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 43e42980a010..420ab5e84645 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