summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-10-21 03:11:14 +0000
committerxtraeme <xtraeme>2004-10-21 03:11:14 +0000
commitd311bb321e7946d2847ea6c3997454191d8be5dc (patch)
tree19e97ac0286af11c5bd69fe5544e5abb75d9ffba
parent1976330401ba7eb7bcb9d76c184e6c969c10cd6c (diff)
downloadpkgsrc-d311bb321e7946d2847ea6c3997454191d8be5dc.tar.gz
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.
-rw-r--r--shells/bash/DESCR10
-rw-r--r--shells/bash/Makefile70
-rw-r--r--shells/bash/PLIST7
-rw-r--r--shells/bash/distinfo4
4 files changed, 91 insertions, 0 deletions
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