From d311bb321e7946d2847ea6c3997454191d8be5dc Mon Sep 17 00:00:00 2001 From: xtraeme Date: Thu, 21 Oct 2004 03:11:14 +0000 Subject: Initial import of bash-3.0. It's imported as bash (not bash3) because our existing bash package already is called bash2. If you want to see the new features, please take a look at the NEWS file. --- shells/bash/DESCR | 10 ++++++++ shells/bash/Makefile | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++ shells/bash/PLIST | 7 ++++++ shells/bash/distinfo | 4 +++ 4 files changed, 91 insertions(+) create mode 100644 shells/bash/DESCR create mode 100644 shells/bash/Makefile create mode 100644 shells/bash/PLIST create mode 100644 shells/bash/distinfo (limited to 'shells') diff --git a/shells/bash/DESCR b/shells/bash/DESCR new file mode 100644 index 00000000000..5dd431ceb2f --- /dev/null +++ b/shells/bash/DESCR @@ -0,0 +1,10 @@ +Bash is an sh-compatible shell that incorporates useful features from +the Korn shell (ksh) and C shell (csh). It is intended to conform to +the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. + +It offers functional improvements over sh for both programming and +interactive use; these include command line editing, unlimited size +command history, job control, shell functions and aliases, indexed +arrays of unlimited size, and integer arithmetic in any base from two +to sixty-four. In addition, most sh scripts can be run by Bash without +modification. diff --git a/shells/bash/Makefile b/shells/bash/Makefile new file mode 100644 index 00000000000..ca37da68fac --- /dev/null +++ b/shells/bash/Makefile @@ -0,0 +1,70 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/10/21 03:11:14 xtraeme Exp $ +# + +DISTNAME= bash-3.0 +CATEGORIES= shells +MASTER_SITES= ${MASTER_SITE_GNU:=bash/} \ + ftp://ftp.cwru.edu/pub/bash/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.gnu.org/software/bash/bash.html +COMMENT= The GNU Bourne Again Shell + +CONFLICTS= static-bash-[0-9]* + +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= yes +USE_PKGINSTALL= yes +USE_PKGLOCALEDIR= yes +GNU_CONFIGURE= yes +MAKE_ENV+= INSTALL_SCRIPT='${INSTALL_SCRIPT}' +TEST_TARGET= test + +INFO_FILES= bash.info + +PKG_SHELL= ${PREFIX}/bin/bash + +USE_GNU_READLINE= yes + +# All features enabled by default. +CONFIGURE_ARGS+= --enable-readline +CONFIGURE_ARGS+= --enable-progcomp +CONFIGURE_ARGS+= --enable-process-substitution +CONFIGURE_ARGS+= --enable-multibyte +CONFIGURE_ARGS+= --enable-job-control +CONFIGURE_ARGS+= --enable-history +CONFIGURE_ARGS+= --enable-help-builtin +CONFIGURE_ARGS+= --enable-extended-glob +CONFIGURE_ARGS+= --enable-dparen-arithmetic +CONFIGURE_ARGS+= --enable-directory-stack +CONFIGURE_ARGS+= --enable-debugger +CONFIGURE_ARGS+= --enable-cond-regexp +CONFIGURE_ARGS+= --enable-alias +CONFIGURE_ARGS+= --enable-brace-expansion +CONFIGURE_ARGS+= --enable-array-variables + +.include "../../mk/bsd.prefs.mk" + +.if defined(BASH_STATIC) && !empty(BASH_STATIC:M[yY][eE][sS]) +PKG_DEFAULT_OPTIONS+= static +.endif + +PKG_OPTIONS_VAR= PKG_OPTIONS.bash +PKG_SUPPORTED_OPTIONS= static +.include "../../mk/bsd.options.mk" + +## +## Static link +## +.if !empty(PKG_OPTIONS:Mstatic) +CONFIGURE_ARGS+= --enable-static-link +.endif + +post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/bash.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/bashbug.1 ${PREFIX}/man/man1 + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/readline/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/shells/bash/PLIST b/shells/bash/PLIST new file mode 100644 index 00000000000..f781f67e75b --- /dev/null +++ b/shells/bash/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/21 03:11:14 xtraeme Exp $ +bin/bash +bin/bashbug +man/man1/bash.1 +man/man1/bashbug.1 +${PKGLOCALEDIR}/locale/en@boldquot/LC_MESSAGES/bash.mo +${PKGLOCALEDIR}/locale/en@quot/LC_MESSAGES/bash.mo diff --git a/shells/bash/distinfo b/shells/bash/distinfo new file mode 100644 index 00000000000..5697042c31f --- /dev/null +++ b/shells/bash/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/10/21 03:11:14 xtraeme Exp $ + +SHA1 (bash-3.0.tar.gz) = 3acf1ff4910d4bc863620c7533cbf4858370017b +Size (bash-3.0.tar.gz) = 2418293 bytes -- cgit v1.2.3