aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-LWP-Authen-Wsse
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-08-10 09:24:49 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-08-10 09:24:49 +0800
commit21e9a82722f5559a4d7498b5573a8a31d5af16b4 (patch)
tree24ea806d2616f83c9730b821ac450581b1b62bdd /www/p5-LWP-Authen-Wsse
parent4171834056e23b1922889a0780b38d1a821f9767 (diff)
downloadfreebsd-ports-gnome-21e9a82722f5559a4d7498b5573a8a31d5af16b4.tar.gz
freebsd-ports-gnome-21e9a82722f5559a4d7498b5573a8a31d5af16b4.tar.zst
freebsd-ports-gnome-21e9a82722f5559a4d7498b5573a8a31d5af16b4.zip
- Make conditional dependency on p5-MIME-Base64.
- Cleanup pkg-plist.
Diffstat (limited to 'www/p5-LWP-Authen-Wsse')
-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