aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-W3C-LogValidator
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-02-28 21:22:53 +0800
committerleeym <leeym@FreeBSD.org>2005-02-28 21:22:53 +0800
commit1888e6f2ce776533c63d9a56a11b0c21b35762cd (patch)
treeaeb616f720f37fcb5a9d4dce0ba92779bb6c7156 /www/p5-W3C-LogValidator
parentbd61393536da6534149b3dd3817845476be3d7e9 (diff)
downloadfreebsd-ports-gnome-1888e6f2ce776533c63d9a56a11b0c21b35762cd.tar.gz
freebsd-ports-gnome-1888e6f2ce776533c63d9a56a11b0c21b35762cd.tar.zst
freebsd-ports-gnome-1888e6f2ce776533c63d9a56a11b0c21b35762cd.zip
- Update to 0.5 [1]
- Fix pkg-plist [1] - Fix missing MAN3 problem under perl 5.00503 [2] PR: 74723 Submitted by: Toni Viemero <toni.viemero@iki.fi> [1], leeym [2]
Diffstat (limited to 'www/p5-W3C-LogValidator')
-rw-r--r--www/p5-W3C-LogValidator/Makefile14
-rw-r--r--www/p5-W3C-LogValidator/distinfo4
-rw-r--r--www/p5-W3C-LogValidator/files/patch-Makefile.PL20
-rw-r--r--www/p5-W3C-LogValidator/pkg-plist4
4 files changed, 30 insertions, 12 deletions
diff --git a/www/p5-W3C-LogValidator/Makefile b/www/p5-W3C-LogValidator/Makefile
index 6ccaeab61c64..c7db95c455e6 100644
--- a/www/p5-W3C-LogValidator/Makefile
+++ b/www/p5-W3C-LogValidator/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= W3C-LogValidator
-PORTVERSION= 0.4.1
+PORTVERSION= 0.5
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= W3C
@@ -21,12 +21,11 @@ BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/Mail/Sendmail.pm:${PORTSDIR}/mail/p5-Mail-Sendmail
RUN_DEPENDS= ${BUILD_DEPENDS}
-BROKEN= Incomplete pkg-plist
-
PERL_CONFIGURE= yes
MAN3= W3C::LogValidator.3 \
W3C::LogValidator::Basic.3 \
+ W3C::LogValidator::Config.3 \
W3C::LogValidator::CSSValidator.3 \
W3C::LogValidator::HTMLValidator.3 \
W3C::LogValidator::SurveyEngine.3 \
@@ -38,17 +37,16 @@ MAN3= W3C::LogValidator.3 \
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
.if ${PERL_LEVEL} < 500600
post-patch:
- @${PERL} -pi -e 's/^our ([^;=]+)/use vars qw($$1); $$1/;' \
- ${WRKSRC}/lib/W3C/LogValidator.pm ${WRKSRC}/lib/W3C/LogValidator/*
-.endif
+ @${FIND} ${WRKSRC} -name "*.pm" | \
+ ${XARGS} ${PERL5} -pi -e 's/^our ([^;=]+)/use vars qw(\1); \1/;'
.endif
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/samples/logprocess.conf ${EXAMPLESDIR}
-.endif
.include <bsd.port.post.mk>
diff --git a/www/p5-W3C-LogValidator/distinfo b/www/p5-W3C-LogValidator/distinfo
index 3a182eca51fb..13a78ad2fcc0 100644
--- a/www/p5-W3C-LogValidator/distinfo
+++ b/www/p5-W3C-LogValidator/distinfo
@@ -1,2 +1,2 @@
-MD5 (W3C-LogValidator-0.4.1.tar.gz) = 0c089a90502671172a434564a08a681e
-SIZE (W3C-LogValidator-0.4.1.tar.gz) = 24927
+MD5 (W3C-LogValidator-0.5.tar.gz) = 7ce3cf9611daf40222a429d8f63b65fc
+SIZE (W3C-LogValidator-0.5.tar.gz) = 25313
diff --git a/www/p5-W3C-LogValidator/files/patch-Makefile.PL b/www/p5-W3C-LogValidator/files/patch-Makefile.PL
new file mode 100644
index 000000000000..33f84040b877
--- /dev/null
+++ b/www/p5-W3C-LogValidator/files/patch-Makefile.PL
@@ -0,0 +1,20 @@
+--- Makefile.PL.orig Thu Feb 10 18:57:36 2005
++++ Makefile.PL Thu Feb 10 19:10:24 2005
+@@ -24,6 +24,17 @@
+ 'Mail::Sendmail' => 0,
+ 'WebService::Validator::CSS::W3C' => 0
+ },
++ 'MAN3PODS' => {
++ 'lib/W3C/LogValidator.pm' => 'blib/man3/W3C::LogValidator.3',
++ 'lib/W3C/LogValidator/Basic.pm' => 'blib/man3/W3C::LogValidator::Basic.3',
++ 'lib/W3C/LogValidator/Config.pm' => 'blib/man3/W3C::LogValidator::Config.3',
++ 'lib/W3C/LogValidator/CSSValidator.pm' => 'blib/man3/W3C::LogValidator::CSSValidator.3',
++ 'lib/W3C/LogValidator/HTMLValidator.pm' => 'blib/man3/W3C::LogValidator::HTMLValidator.3',
++ 'lib/W3C/LogValidator/Output/HTML.pm' => 'blib/man3/W3C::LogValidator::Output::HTML.3',
++ 'lib/W3C/LogValidator/Output/Mail.pm' => 'blib/man3/W3C::LogValidator::Output::Mail.3',
++ 'lib/W3C/LogValidator/Output/Raw.pm' => 'blib/man3/W3C::LogValidator::Output::Raw.3',
++ 'lib/W3C/LogValidator/SurveyEngine.pm' => 'blib/man3/W3C::LogValidator::SurveyEngine.3',
++ },
+ 'EXE_FILES' => [ 'bin/logprocess.pl' ],
+ 'dist' => { COMPRESS => 'gzip -9f', SUFFIX => '.gz' },
+ );
diff --git a/www/p5-W3C-LogValidator/pkg-plist b/www/p5-W3C-LogValidator/pkg-plist
index 3ef16bcf626e..ba4164c34a08 100644
--- a/www/p5-W3C-LogValidator/pkg-plist
+++ b/www/p5-W3C-LogValidator/pkg-plist
@@ -9,8 +9,8 @@ bin/logprocess.pl
%%SITE_PERL%%/W3C/LogValidator/Output/Raw.pm
%%SITE_PERL%%/W3C/LogValidator/SurveyEngine.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/W3C/LogValidator/.packlist
-%%PORTDOCS%%%%EXAMPLESDIR%%/logprocess.conf
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%EXAMPLESDIR%%/logprocess.conf
+@dirrm %%EXAMPLESDIR%%
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/W3C/LogValidator
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/W3C 2>/dev/null || true
@dirrm %%SITE_PERL%%/W3C/LogValidator/Output