aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-29 09:51:02 +0800
committermiwi <miwi@FreeBSD.org>2013-03-29 09:51:02 +0800
commitffd25d2bf1ed2f8462d6236b6b97bc7ed4d01c7f (patch)
tree0ae391dc78a0d911484100103da3b47c250448d7 /net
parent82d42c5f10d8335f6dc78b7fc08ad2f0cb696ebf (diff)
downloadfreebsd-ports-gnome-ffd25d2bf1ed2f8462d6236b6b97bc7ed4d01c7f.tar.gz
freebsd-ports-gnome-ffd25d2bf1ed2f8462d6236b6b97bc7ed4d01c7f.tar.zst
freebsd-ports-gnome-ffd25d2bf1ed2f8462d6236b6b97bc7ed4d01c7f.zip
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>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Script-isAperlScript/Makefile20
-rw-r--r--net/p5-Script-isAperlScript/distinfo2
-rw-r--r--net/p5-Script-isAperlScript/pkg-descr4
-rw-r--r--net/p5-Script-isAperlScript/pkg-plist5
5 files changed, 32 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 2ffafca39983..5169ea5ec90d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -747,6 +747,7 @@
SUBDIR += p5-SOAP-MySOAP
SUBDIR += p5-SOAP-Transport-TCP
SUBDIR += p5-Samba-LDAP
+ SUBDIR += p5-Script-isAperlScript
SUBDIR += p5-Server-Starter
SUBDIR += p5-Socket
SUBDIR += p5-Socket-Class
diff --git a/net/p5-Script-isAperlScript/Makefile b/net/p5-Script-isAperlScript/Makefile
new file mode 100644
index 000000000000..a9326531a4eb
--- /dev/null
+++ b/net/p5-Script-isAperlScript/Makefile
@@ -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>
diff --git a/net/p5-Script-isAperlScript/distinfo b/net/p5-Script-isAperlScript/distinfo
new file mode 100644
index 000000000000..70765ad09252
--- /dev/null
+++ b/net/p5-Script-isAperlScript/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Script-isAperlScript-1.0.0.tar.gz) = 2c5af6e53fafdfe222a3d6a1abd8a1cd33c3c8057ee6824034af855aac8ffca1
+SIZE (Script-isAperlScript-1.0.0.tar.gz) = 4078
diff --git a/net/p5-Script-isAperlScript/pkg-descr b/net/p5-Script-isAperlScript/pkg-descr
new file mode 100644
index 000000000000..c67d235a2e4d
--- /dev/null
+++ b/net/p5-Script-isAperlScript/pkg-descr
@@ -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/
diff --git a/net/p5-Script-isAperlScript/pkg-plist b/net/p5-Script-isAperlScript/pkg-plist
new file mode 100644
index 000000000000..b2fe967219cd
--- /dev/null
+++ b/net/p5-Script-isAperlScript/pkg-plist
@@ -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/