2013-09-11 15:54:50 +02:00
|
|
|
# Created by: Martin Matuska <martin@tradex.sk>
|
2002-05-25 19:54:38 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= File-Scan
|
2005-05-05 21:11:33 +02:00
|
|
|
PORTVERSION= 1.43
|
2014-11-26 14:08:24 +01:00
|
|
|
PORTREVISION= 1
|
2002-05-25 19:54:38 +02:00
|
|
|
CATEGORIES= security perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2002-05-25 19:54:38 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2004-03-10 16:40:25 +01:00
|
|
|
MAINTAINER= jims@bluenotch.com
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Perl5 anti-virus file scanning package
|
2002-05-25 19:54:38 +02:00
|
|
|
|
2014-02-06 15:24:30 +01:00
|
|
|
USES= perl5 shebangfix
|
2013-09-11 15:54:50 +02:00
|
|
|
USE_PERL5= configure
|
2002-05-25 19:54:38 +02:00
|
|
|
|
2014-02-06 15:24:30 +01:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
|
|
|
|
SHEBANG_FILES= examples/*.pl examples/procmail/scanvirus.pl
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2003-01-27 01:03:44 +01:00
|
|
|
|
|
|
|
post-install:
|
2014-02-06 15:24:30 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/docs
|
2003-01-27 01:03:44 +01:00
|
|
|
.for file in Changes FAQ README TODO
|
2014-02-06 15:24:30 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
2003-01-27 01:03:44 +01:00
|
|
|
.endfor
|
2004-03-20 02:58:39 +01:00
|
|
|
.for f in docs/write_sign_bin.txt
|
2014-02-06 15:24:30 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/docs
|
2003-01-27 01:03:44 +01:00
|
|
|
.endfor
|
2014-02-06 15:24:30 +01:00
|
|
|
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/procmail
|
2004-03-20 02:58:39 +01:00
|
|
|
.for f in latest.pl scan.pl
|
2014-02-06 15:24:30 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
|
2003-01-27 01:03:44 +01:00
|
|
|
.endfor
|
2004-03-20 02:58:39 +01:00
|
|
|
.for f in procmail/.procmailrc procmail/README procmail/scanvirus.pl
|
2014-02-06 15:24:30 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR}/procmail
|
2003-01-27 01:03:44 +01:00
|
|
|
.endfor
|
2002-05-25 19:54:38 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|