aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2004-02-24 19:03:26 +0800
committererwin <erwin@FreeBSD.org>2004-02-24 19:03:26 +0800
commitf44f7fc691c0539bf39fe8262e56e7758f3320fc (patch)
tree58f4d8c5996f3d7bb1f6a26ba514dcfd491b2a68 /devel
parent3b7ae467a6278d8017a779288dd5bb93f66502cc (diff)
downloadfreebsd-ports-gnome-f44f7fc691c0539bf39fe8262e56e7758f3320fc.tar.gz
freebsd-ports-gnome-f44f7fc691c0539bf39fe8262e56e7758f3320fc.tar.zst
freebsd-ports-gnome-f44f7fc691c0539bf39fe8262e56e7758f3320fc.zip
Add p5-Shell-Base 0.04, perl module implementing a simple command shell.
PR: ports/62166 Submitted by: Christopher Nehren <apeiron@comcast.net>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Shell-Base/Makefile26
-rw-r--r--devel/p5-Shell-Base/distinfo1
-rw-r--r--devel/p5-Shell-Base/files/patch-Base.pm15
-rw-r--r--devel/p5-Shell-Base/files/patch-SIGNATURE12
-rw-r--r--devel/p5-Shell-Base/pkg-descr14
-rw-r--r--devel/p5-Shell-Base/pkg-plist5
7 files changed, 74 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f9dce4a79adb..6e1a931c40f9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -830,6 +830,7 @@
SUBDIR += p5-Set-Object
SUBDIR += p5-Set-Scalar
SUBDIR += p5-Shape
+ SUBDIR += p5-Shell-Base
SUBDIR += p5-Sort-ArrayOfArrays
SUBDIR += p5-Sort-Tree
SUBDIR += p5-Sort-Versions
diff --git a/devel/p5-Shell-Base/Makefile b/devel/p5-Shell-Base/Makefile
new file mode 100644
index 000000000000..2ddb756d7697
--- /dev/null
+++ b/devel/p5-Shell-Base/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: Shell::Base
+# Date created: Sat Jan 31 10:41:28 EST 2004
+# Whom: Christopher Nehren <apeiron@comcast.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Shell-Base
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Shell
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= apeiron@comcast.net
+COMMENT= Perl module implementing a simple command shell
+
+BUILD_DEPENDS= ${SITE_PERL}/mach/Term/Size.pm:${PORTSDIR}/devel/p5-Term-Size \
+ ${SITE_PERL}/Text/Shellwords.pm:${PORTSDIR}/textproc/p5-Text-Shellwords
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Shell::Base.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Shell-Base/distinfo b/devel/p5-Shell-Base/distinfo
new file mode 100644
index 000000000000..0372b3ae7699
--- /dev/null
+++ b/devel/p5-Shell-Base/distinfo
@@ -0,0 +1 @@
+MD5 (Shell-Base-0.04.tar.gz) = e5c4c27b1a9980bef34aa7e0529177aa
diff --git a/devel/p5-Shell-Base/files/patch-Base.pm b/devel/p5-Shell-Base/files/patch-Base.pm
new file mode 100644
index 000000000000..77aebe439b7a
--- /dev/null
+++ b/devel/p5-Shell-Base/files/patch-Base.pm
@@ -0,0 +1,15 @@
+--- Base.pm.orig Mon Feb 23 21:03:44 2004
++++ Base.pm Mon Feb 23 21:02:36 2004
+@@ -16,7 +16,7 @@
+ );
+
+ use Carp qw(carp croak);
+-use Env qw($PAGER $SHELL $COLUMNS);
++use Env qw(PAGER SHELL COLUMNS);
+ use IO::File;
+ use File::Basename qw(basename);
+ use Term::Size qw(chars);
+
+Unfortunately, this causes t/signature to fail because of a broken
+checksum. Here's a patch for that:
+
diff --git a/devel/p5-Shell-Base/files/patch-SIGNATURE b/devel/p5-Shell-Base/files/patch-SIGNATURE
new file mode 100644
index 000000000000..d154d43754d1
--- /dev/null
+++ b/devel/p5-Shell-Base/files/patch-SIGNATURE
@@ -0,0 +1,12 @@
+--- SIGNATURE.orig Mon Jan 5 18:12:11 2004
++++ SIGNATURE Mon Feb 23 21:06:31 2004
+@@ -14,7 +14,7 @@
+ -----BEGIN PGP SIGNED MESSAGE-----
+ Hash: SHA1
+
+-SHA1 c941b31eea4980a6c9c77772ed7c9b686ef51d8a Base.pm
++SHA1 ec952ea398e416b8866f8dad9e2794b8745c1e12 Base.pm
+ SHA1 fd7a3bbc15b5e588bfbe5734d81e99e3369d001d Changes
+ SHA1 6773da3ad1af9e5bc9e53ca83703018b54fefbb4 MANIFEST
+ SHA1 c330e5c03d60d95c197e019f6d5a350b6642c3d6 META.yml
+
diff --git a/devel/p5-Shell-Base/pkg-descr b/devel/p5-Shell-Base/pkg-descr
new file mode 100644
index 000000000000..b9b563e65635
--- /dev/null
+++ b/devel/p5-Shell-Base/pkg-descr
@@ -0,0 +1,14 @@
+NAME
+ Shell::Base - A generic class to build line-oriented command
+ interpreters.
+
+DESCRIPTION
+ Shell::Base is a base class designed for building command line programs.
+ It defines a number of useful defaults, simplifies adding commands and
+ help, and integrates well with Term::ReadLine.
+
+COPYRIGHT
+ Copyright (C) 2003 Darren Chamberlain. All Rights Reserved.
+
+ This module is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
diff --git a/devel/p5-Shell-Base/pkg-plist b/devel/p5-Shell-Base/pkg-plist
new file mode 100644
index 000000000000..ba5f70e829be
--- /dev/null
+++ b/devel/p5-Shell-Base/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Shell/Base.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Shell/Base/.packlist
+@dirrm %%SITE_PERL%%/Shell
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Shell/Base
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Shell