summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2003-01-27 00:03:44 +0000
committerAnton Berezin <tobez@FreeBSD.org>2003-01-27 00:03:44 +0000
commit0ada4625ad3cb34ef299dfd4d703dc54b0eaeb84 (patch)
tree9116950e936280eebaba5a5a1546cb2cadca336a /security
parentAdd NO_LATEST_LINK. (diff)
Update to 0.43.
Submitted by: maintainer PR: 47521
Notes
Notes: svn path=/head/; revision=74057
Diffstat (limited to 'security')
-rw-r--r--security/p5-File-Scan/Makefile22
-rw-r--r--security/p5-File-Scan/distinfo2
-rw-r--r--security/p5-File-Scan/pkg-plist14
3 files changed, 36 insertions, 2 deletions
diff --git a/security/p5-File-Scan/Makefile b/security/p5-File-Scan/Makefile
index c2029b634c79..b9372a135287 100644
--- a/security/p5-File-Scan/Makefile
+++ b/security/p5-File-Scan/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= File-Scan
-PORTVERSION= 0.38
+PORTVERSION= 0.43
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File/HDIAS
@@ -18,5 +18,25 @@ PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= File::Scan.3
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR} ${DOCSDIR}/docs
+.for file in Changes FAQ README TODO
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.for file in docs/write_sign_bin.txt
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/docs
+.endfor
+.endif
+ @${MKDIR} ${EXAMPLESDIR} ${EXAMPLESDIR}/procmail
+.for file in latest.pl scan.pl
+ @${INSTALL_SCRIPT} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
+.endfor
+.for file in procmail/.procmailrc procmail/README procmail/scanvirus.pl
+ @${INSTALL_SCRIPT} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}/procmail
+.endfor
.include <bsd.port.mk>
diff --git a/security/p5-File-Scan/distinfo b/security/p5-File-Scan/distinfo
index 0e29798fb04b..4d17b81c8101 100644
--- a/security/p5-File-Scan/distinfo
+++ b/security/p5-File-Scan/distinfo
@@ -1 +1 @@
-MD5 (File-Scan-0.38.tar.gz) = 6d55fa54b68abf1dd37133570476c41d
+MD5 (File-Scan-0.43.tar.gz) = 0c5c07bfa259b4144733fcf9244bec4e
diff --git a/security/p5-File-Scan/pkg-plist b/security/p5-File-Scan/pkg-plist
index 5e991d608ca9..66ad705ab8be 100644
--- a/security/p5-File-Scan/pkg-plist
+++ b/security/p5-File-Scan/pkg-plist
@@ -1,5 +1,19 @@
lib/perl5/site_perl/%%PERL_VER%%/File/Scan.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Scan/.packlist
+%%PORTDOCS%%share/doc/p5-File-Scan/Changes
+%%PORTDOCS%%share/doc/p5-File-Scan/FAQ
+%%PORTDOCS%%share/doc/p5-File-Scan/README
+%%PORTDOCS%%share/doc/p5-File-Scan/TODO
+%%PORTDOCS%%share/doc/p5-File-Scan/docs/write_sign_bin.txt
+share/examples/p5-File-Scan/latest.pl
+share/examples/p5-File-Scan/scan.pl
+share/examples/p5-File-Scan/procmail/.procmailrc
+share/examples/p5-File-Scan/procmail/README
+share/examples/p5-File-Scan/procmail/scanvirus.pl
+@dirrm share/examples/p5-File-Scan/procmail
+@dirrm share/examples/p5-File-Scan
+%%PORTDOCS%%@dirrm share/doc/p5-File-Scan/docs
+%%PORTDOCS%%@dirrm share/doc/p5-File-Scan
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File/Scan
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/File 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/File 2>/dev/null || true