summaryrefslogtreecommitdiffstats
path: root/security/p5-File-Scan/Makefile
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2003-01-27 00:03:44 +0000
committertobez <tobez@FreeBSD.org>2003-01-27 00:03:44 +0000
commitfb93cb69105361243e5ef0885ac3e054d0059fbd (patch)
tree1f90bff9d5892ff09d4f18d89bef185e0a0f8cff /security/p5-File-Scan/Makefile
parent72ab7a42114f8edde863aef85450ef20ac13c412 (diff)
downloadFreeBSD-ports-fb93cb69105361243e5ef0885ac3e054d0059fbd.zip
FreeBSD-ports-fb93cb69105361243e5ef0885ac3e054d0059fbd.tar.gz
Update to 0.43.
Submitted by: maintainer PR: 47521
Diffstat (limited to 'security/p5-File-Scan/Makefile')
-rw-r--r--security/p5-File-Scan/Makefile22
1 files changed, 21 insertions, 1 deletions
diff --git a/security/p5-File-Scan/Makefile b/security/p5-File-Scan/Makefile
index c2029b6..b9372a1 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>
OpenPOWER on IntegriCloud