aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2007-08-19 22:12:18 +0800
committergabor <gabor@FreeBSD.org>2007-08-19 22:12:18 +0800
commite2a7cc695475591c6a6bbd4f65e7e5cd7f06fd03 (patch)
tree79e6337b13cedd504560912fe759e114aebfba43
parent1a88c558246937b7bf37abc770ba225cb8c9f1bd (diff)
downloadfreebsd-ports-gnome-e2a7cc695475591c6a6bbd4f65e7e5cd7f06fd03.tar.gz
freebsd-ports-gnome-e2a7cc695475591c6a6bbd4f65e7e5cd7f06fd03.tar.zst
freebsd-ports-gnome-e2a7cc695475591c6a6bbd4f65e7e5cd7f06fd03.zip
- Update to 5.45
- Install example dups file when NOPORTEXAMPLES unset PR: ports/115347 Submitted by: Felippe de Meirelles Motta <lippe@freebsdbrasil.com.br>
-rw-r--r--security/p5-Digest-SHA-PurePerl/Makefile8
-rw-r--r--security/p5-Digest-SHA-PurePerl/distinfo6
-rw-r--r--security/p5-Digest-SHA-PurePerl/pkg-plist2
3 files changed, 12 insertions, 4 deletions
diff --git a/security/p5-Digest-SHA-PurePerl/Makefile b/security/p5-Digest-SHA-PurePerl/Makefile
index ffc82ac99441..f49cf805c7cd 100644
--- a/security/p5-Digest-SHA-PurePerl/Makefile
+++ b/security/p5-Digest-SHA-PurePerl/Makefile
@@ -4,7 +4,7 @@
# $FreeBSD$
PORTNAME= Digest-SHA-PurePerl
-PORTVERSION= 5.44
+PORTVERSION= 5.45
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Digest
@@ -28,4 +28,10 @@ RUN_DEPENDS+= ${SITE_PERL}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
RUN_DEPENDS+= ${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest
.endif
+.if !defined(NOPORTEXAMPLES)
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/examples/dups ${EXAMPLESDIR}
+.endif
+
.include <bsd.port.post.mk>
diff --git a/security/p5-Digest-SHA-PurePerl/distinfo b/security/p5-Digest-SHA-PurePerl/distinfo
index 987920450e1f..3c14befe1913 100644
--- a/security/p5-Digest-SHA-PurePerl/distinfo
+++ b/security/p5-Digest-SHA-PurePerl/distinfo
@@ -1,3 +1,3 @@
-MD5 (Digest-SHA-PurePerl-5.44.tar.gz) = 23d2aef3786a1dab150e92b23111e6c9
-SHA256 (Digest-SHA-PurePerl-5.44.tar.gz) = 807ac21cb35652e3aece48ab52b6c56f6e14be412b68ba33cd0d1d0c43cfff60
-SIZE (Digest-SHA-PurePerl-5.44.tar.gz) = 33348
+MD5 (Digest-SHA-PurePerl-5.45.tar.gz) = c6eb524b65da0c9ecf428c934b30660b
+SHA256 (Digest-SHA-PurePerl-5.45.tar.gz) = 925e87396b2c66cbfcb232b33c937b5a0429df04fabd4e1221be37f06d4107a5
+SIZE (Digest-SHA-PurePerl-5.45.tar.gz) = 30514
diff --git a/security/p5-Digest-SHA-PurePerl/pkg-plist b/security/p5-Digest-SHA-PurePerl/pkg-plist
index 0693252d084a..f5970d2061b8 100644
--- a/security/p5-Digest-SHA-PurePerl/pkg-plist
+++ b/security/p5-Digest-SHA-PurePerl/pkg-plist
@@ -6,3 +6,5 @@ bin/shasum
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/
@dirrmtry %%SITE_PERL%%/Digest/SHA/
@dirrmtry %%SITE_PERL%%/Digest/
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dups
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%