aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-08-10 01:24:49 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-08-10 01:24:49 +0000
commit27473f06b4aa63d0f61eecc36b5c4d1d358a4cb9 (patch)
tree0eefdfc5d68bcecc52239659b51f13120b276e85 /www
parent9b87366d7a64f4a2a98f3f778eaad0f8c5832610 (diff)
downloadports-27473f06b4aa63d0f61eecc36b5c4d1d358a4cb9.tar.gz
ports-27473f06b4aa63d0f61eecc36b5c4d1d358a4cb9.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/p5-LWP-Authen-Wsse/Makefile12
-rw-r--r--www/p5-LWP-Authen-Wsse/pkg-plist1
2 files changed, 10 insertions, 3 deletions
diff --git a/www/p5-LWP-Authen-Wsse/Makefile b/www/p5-LWP-Authen-Wsse/Makefile
index 483b68fc9338..7a32105e1190 100644
--- a/www/p5-LWP-Authen-Wsse/Makefile
+++ b/www/p5-LWP-Authen-Wsse/Makefile
@@ -7,6 +7,7 @@
PORTNAME= LWP-Authen-Wsse
PORTVERSION= 0.04
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= LWP
@@ -16,12 +17,17 @@ MAINTAINER= ports@freebsd.org
COMMENT= Library for enabling X-WSSE authentication in LWP
BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
- ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
- ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+ ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= LWP::Authen::Wsse.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500805
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/p5-LWP-Authen-Wsse/pkg-plist b/www/p5-LWP-Authen-Wsse/pkg-plist
index 2434e4eca574..73b43e71e7c5 100644
--- a/www/p5-LWP-Authen-Wsse/pkg-plist
+++ b/www/p5-LWP-Authen-Wsse/pkg-plist
@@ -1,5 +1,6 @@
%%SITE_PERL%%/LWP/Authen/Wsse.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/LWP/Authen/Wsse/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/LWP/Authen/Wsse 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/LWP/Authen 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/LWP 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/LWP/Authen 2>/dev/null || true