aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-02-12 22:06:39 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-02-12 22:06:39 +0800
commit46d12e39413fa7101875f8df88bd3ccb72e00a72 (patch)
treebf0770267946b3bc41f16eb25c097199b52f67d1 /security
parenta9a81534a4be1b90059ce88fbac3f6f46c6c0e3d (diff)
downloadfreebsd-ports-gnome-46d12e39413fa7101875f8df88bd3ccb72e00a72.tar.gz
freebsd-ports-gnome-46d12e39413fa7101875f8df88bd3ccb72e00a72.tar.zst
freebsd-ports-gnome-46d12e39413fa7101875f8df88bd3ccb72e00a72.zip
- Update to 1.05
- Respect PORTEXAMPLES Changes: http://search.cpan.org/dist/zxid/Changes
Diffstat (limited to 'security')
-rw-r--r--security/p5-Net-SAML/Makefile17
-rw-r--r--security/p5-Net-SAML/distinfo4
-rw-r--r--security/p5-Net-SAML/pkg-plist6
3 files changed, 13 insertions, 14 deletions
diff --git a/security/p5-Net-SAML/Makefile b/security/p5-Net-SAML/Makefile
index c2ae42f61502..a4beb87b1a4e 100644
--- a/security/p5-Net-SAML/Makefile
+++ b/security/p5-Net-SAML/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= Net-SAML
-PORTVERSION= 0.76
+PORTVERSION= 1.05
CATEGORIES= security perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:SAMPO
PKGNAMEPREFIX= p5-
DISTNAME= zxid-${PORTVERSION}
EXTRACT_SUFX= .tgz
@@ -25,15 +24,15 @@ LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
PERL_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/Net
+MAN3= Net::SAML.3
+
post-patch:
- ${REINPLACE_CMD} -e 's!/apps/openssl/std!${LOCALBASE}!' \
- ${WRKSRC}/Makefile.PL
+ @${REINPLACE_CMD} -e 's|/apps/openssl/std|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
post-install:
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/../zxid.pl ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/../zxidhlo.pl ${EXAMPLESDIR}
-
-MAN3= Net::SAML.3
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}/
+ cd ${WRKSRC}/../ && ${INSTALL_SCRIPT} zxid.pl zxidhlo.pl ${EXAMPLESDIR}/
+.endif
.include <bsd.port.mk>
diff --git a/security/p5-Net-SAML/distinfo b/security/p5-Net-SAML/distinfo
index cbd9f9a70d7f..c05df56e22a2 100644
--- a/security/p5-Net-SAML/distinfo
+++ b/security/p5-Net-SAML/distinfo
@@ -1,2 +1,2 @@
-SHA256 (zxid-0.76.tgz) = 71635a7db0d7c4d3f7ec968cd3e35e631c1c4c1fa9f54c316d8a3bfb620f6a17
-SIZE (zxid-0.76.tgz) = 1754717
+SHA256 (zxid-1.05.tgz) = 779de5245b026abfe73d4e7b9306c033c2dd600fc48c9d5eb0251f4c9914e190
+SIZE (zxid-1.05.tgz) = 1800009
diff --git a/security/p5-Net-SAML/pkg-plist b/security/p5-Net-SAML/pkg-plist
index 4c82cc856fc1..94c247ec5905 100644
--- a/security/p5-Net-SAML/pkg-plist
+++ b/security/p5-Net-SAML/pkg-plist
@@ -1,11 +1,11 @@
-%%EXAMPLESDIR%%/zxid.pl
-%%EXAMPLESDIR%%/zxidhlo.pl
%%SITE_PERL%%/%%PERL_ARCH%%/Net/SAML.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Net/SAML.pod
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SAML/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SAML/SAML.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SAML/SAML.so
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zxid.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zxidhlo.pl
+%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SAML
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net
-@dirrmtry %%EXAMPLESDIR%%