From owner-svn-ports-head@FreeBSD.ORG Thu Feb 6 14:24:31 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 962B3C7D; Thu, 6 Feb 2014 14:24:31 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6605F1A96; Thu, 6 Feb 2014 14:24:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s16EOVRf066488; Thu, 6 Feb 2014 14:24:31 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s16EOVaD066486; Thu, 6 Feb 2014 14:24:31 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402061424.s16EOVaD066486@svn.freebsd.org> From: Emanuel Haupt Date: Thu, 6 Feb 2014 14:24:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343090 - head/security/p5-File-Scan X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 14:24:31 -0000 Author: ehaupt Date: Thu Feb 6 14:24:30 2014 New Revision: 343090 URL: http://svnweb.freebsd.org/changeset/ports/343090 QAT: https://qat.redports.org/buildarchive/r343090/ Log: - Support staging - Use shebangfix Modified: head/security/p5-File-Scan/Makefile head/security/p5-File-Scan/pkg-plist Modified: head/security/p5-File-Scan/Makefile ============================================================================== --- head/security/p5-File-Scan/Makefile Thu Feb 6 14:19:13 2014 (r343089) +++ head/security/p5-File-Scan/Makefile Thu Feb 6 14:24:30 2014 (r343090) @@ -10,28 +10,34 @@ PKGNAMEPREFIX= p5- MAINTAINER= jims@bluenotch.com COMMENT= Perl5 anti-virus file scanning package -USES= perl5 +USES= perl5 shebangfix USE_PERL5= configure -MAN3= File::Scan.3 +OPTIONS_DEFINE= DOCS EXAMPLES + +PORTDOCS= * +PORTEXAMPLES= * + +SHEBANG_FILES= examples/*.pl examples/procmail/scanvirus.pl + +.include -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} ${DOCSDIR}/docs + ${MKDIR} ${STAGEDIR}${DOCSDIR}/docs .for file in Changes FAQ README TODO - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .for f in docs/write_sign_bin.txt - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/docs + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/docs .endfor -.endif - @${MKDIR} ${EXAMPLESDIR} ${EXAMPLESDIR}/procmail + + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/procmail .for f in latest.pl scan.pl - @${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor .for f in procmail/.procmailrc procmail/README procmail/scanvirus.pl - @${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}/procmail + ${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} \ + ${STAGEDIR}${EXAMPLESDIR}/procmail .endfor .include Modified: head/security/p5-File-Scan/pkg-plist ============================================================================== --- head/security/p5-File-Scan/pkg-plist Thu Feb 6 14:19:13 2014 (r343089) +++ head/security/p5-File-Scan/pkg-plist Thu Feb 6 14:24:30 2014 (r343090) @@ -1,19 +1,6 @@ %%SITE_PERL%%/File/Scan.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Scan/.packlist -%%PORTDOCS%%%%DOCSDIR%%/Changes -%%PORTDOCS%%%%DOCSDIR%%/FAQ -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%%%DOCSDIR%%/docs/write_sign_bin.txt -%%EXAMPLESDIR%%/latest.pl -%%EXAMPLESDIR%%/scan.pl -%%EXAMPLESDIR%%/procmail/.procmailrc -%%EXAMPLESDIR%%/procmail/README -%%EXAMPLESDIR%%/procmail/scanvirus.pl -@dirrm %%EXAMPLESDIR%%/procmail -@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs -%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PERL5_MAN3%%/File::Scan.3.gz @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/File/Scan @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/File @dirrmtry %%SITE_PERL%%/File