This does a basic check if something is a perl script or not.

It can also optionally exclude scripts that use /usr/bin/env.

WWW: http://search.cpan.org/dist/Script-isAperlScripat/

PR:		ports/176837
Submitted by:	Zane C, Bowers-Hadley <vvelox@vvelox.net>
This commit is contained in:
Martin Wilke 2013-03-29 01:51:02 +00:00
parent 0995591141
commit 02dd0b6153
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315517
5 changed files with 32 additions and 0 deletions

View file

@ -747,6 +747,7 @@
SUBDIR += p5-SOAP-MySOAP SUBDIR += p5-SOAP-MySOAP
SUBDIR += p5-SOAP-Transport-TCP SUBDIR += p5-SOAP-Transport-TCP
SUBDIR += p5-Samba-LDAP SUBDIR += p5-Samba-LDAP
SUBDIR += p5-Script-isAperlScript
SUBDIR += p5-Server-Starter SUBDIR += p5-Server-Starter
SUBDIR += p5-Socket SUBDIR += p5-Socket
SUBDIR += p5-Socket-Class SUBDIR += p5-Socket-Class

View file

@ -0,0 +1,20 @@
# Created by: Zane C, Bowers-Hadley <vvelox@vvelox.net>
# $FreeBSD$
PORTNAME= Script-isAperlScript
PORTVERSION= 1.0.0
CATEGORIES= net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:VVELOX
PKGNAMEPREFIX= p5-
MAINTAINER= vvelox@vvelox.net
COMMENT= Checks if something is a Perl script
RUN_DEPENDS= p5-Error-Helper>=1.0.0:${PORTSDIR}/devel/p5-Error-Helper
PERL_CONFIGURE= yes
MAN3= Script::isAperlScript.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Script-isAperlScript-1.0.0.tar.gz) = 2c5af6e53fafdfe222a3d6a1abd8a1cd33c3c8057ee6824034af855aac8ffca1
SIZE (Script-isAperlScript-1.0.0.tar.gz) = 4078

View file

@ -0,0 +1,4 @@
This does a basic check if something is a perl script or not.
It can also optionally exclude scripts that use /usr/bin/env.
WWW: http://search.cpan.org/dist/Script-isAperlScripat/

View file

@ -0,0 +1,5 @@
%%SITE_PERL%%/Script/isAperlScript.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Script/isAperlScript/.packlist
@dirrmtry %%SITE_PERL%%/Script/
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Script/isAperlScript/
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Script/