aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-File-Scan
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2003-01-27 08:03:44 +0800
committertobez <tobez@FreeBSD.org>2003-01-27 08:03:44 +0800
commitfb93cb69105361243e5ef0885ac3e054d0059fbd (patch)
tree1f90bff9d5892ff09d4f18d89bef185e0a0f8cff /security/p5-File-Scan
parent72ab7a42114f8edde863aef85450ef20ac13c412 (diff)
downloadfreebsd-ports-graphics-fb93cb69105361243e5ef0885ac3e054d0059fbd.tar.gz
freebsd-ports-graphics-fb93cb69105361243e5ef0885ac3e054d0059fbd.tar.zst
freebsd-ports-graphics-fb93cb69105361243e5ef0885ac3e054d0059fbd.zip
Update to 0.43.
Submitted by: maintainer PR: 47521
Diffstat (limited to 'security/p5-File-Scan')
-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 c2029b634c7..b9372a13528 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 0e29798fb04..4d17b81c810 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 5e991d608ca..66ad705ab8b 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