summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-11-10 19:58:16 +0000
committerwiz <wiz@pkgsrc.org>2018-11-10 19:58:16 +0000
commit394a8ee83e961c611afe51054fefbf72e848e055 (patch)
tree08da4da797ae0242a2cbf2f27e70b94f63d3d058 /shells
parent95cfa105b31397c06ac899bd9157460ec3754de3 (diff)
downloadpkgsrc-394a8ee83e961c611afe51054fefbf72e848e055.tar.gz
shells/bosh: import bosh-20181030
Packaged for wip by Michael Bäuerle. The Schily Bourne Shell The Schily Bourne Shell was derived from the Bourne Shell sources from OpenSolaris. The Schily Bourne Shell is actively maintained and enhanced on a regular base. It can be compiled into three variants: - The non-POSIX SVr4/OpenSolaris variant (obosh) - The minimal POSIX compliant variant (pbosh) - The POSIX compliant extended variant (bosh) This package contains the third variant.
Diffstat (limited to 'shells')
-rw-r--r--shells/bosh/DESCR11
-rw-r--r--shells/bosh/Makefile58
-rw-r--r--shells/bosh/PLIST3
-rw-r--r--shells/bosh/distinfo6
4 files changed, 78 insertions, 0 deletions
diff --git a/shells/bosh/DESCR b/shells/bosh/DESCR
new file mode 100644
index 00000000000..1adeadd262c
--- /dev/null
+++ b/shells/bosh/DESCR
@@ -0,0 +1,11 @@
+The Schily Bourne Shell
+
+The Schily Bourne Shell was derived from the Bourne Shell sources from
+OpenSolaris.
+
+The Schily Bourne Shell is actively maintained and enhanced on a regular base.
+It can be compiled into three variants:
+- The non-POSIX SVr4/OpenSolaris variant (obosh)
+- The minimal POSIX compliant variant (pbosh)
+- The POSIX compliant extended variant (bosh)
+This package contains the third variant.
diff --git a/shells/bosh/Makefile b/shells/bosh/Makefile
new file mode 100644
index 00000000000..080033cb5da
--- /dev/null
+++ b/shells/bosh/Makefile
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1 2018/11/10 19:58:16 wiz Exp $
+
+DISTNAME= schily-2018-10-30
+PKGNAME= bosh-20181030
+CATEGORIES= shells
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://schilytools.sourceforge.net/bosh.html
+COMMENT= The Schily Bourne Shell
+LICENSE= cddl-1.0
+
+MAKE_JOBS_SAFE= no
+
+USE_TOOLS+= tbl
+TOOL_DEPENDS+= smake-[0-9]*:../../devel/smake
+SMAKE= MAKEFLAGS= smake
+MAKE_FLAGS+= DESTDIR=${DESTDIR} INS_BASE=${PREFIX} DEFMANBASE=. MANDIR=${PKGMANDIR}
+# Honor CPPFLAGS, CFLAGS and LDFLAGS
+MAKE_FLAGS+= CPPOPTX=${CPPFLAGS:Q} COPTX=${CFLAGS:Q} LDOPTX=${LDFLAGS:Q}
+
+PKG_SHELL= bin/bosh
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+.include "../../mk/bsd.prefs.mk"
+
+# Shared platform specific code for schilytools (provided by smake package)
+.include "../../devel/smake/Makefile.common"
+
+do-configure:
+ cd ${WRKSRC}/inc && ${SMAKE} ${MAKE_FLAGS}
+
+do-build:
+ cd ${WRKSRC} && for library in \
+ libschily libxtermcap libfind libgetopt libshedit; \
+ do \
+ cd ${WRKSRC}/$${library} && ${SMAKE} ${MAKE_FLAGS}; \
+ done
+ cd ${WRKSRC}/sh && ${SMAKE} ${MAKE_FLAGS}
+
+# Process tables in manpage
+post-build:
+ cd ${WRKSRC} && ${TBL} sh/sh.1 >sh/sh.1.tmp; \
+ ${MV} -f sh/sh.1.tmp sh/bosh.1
+
+do-test:
+ cd ${WRKSRC}/sh && \
+ cd tests; ${SMAKE} ${MAKE_FLAGS} tests
+
+do-install:
+ cd ${WRKSRC}/sh && \
+ ${INSTALL_PROGRAM} ${WRKSRC}/sh/OBJ/*/sh \
+ ${DESTDIR}${PREFIX}/bin/bosh; \
+ ${INSTALL_MAN} ${WRKSRC}/sh/bosh.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/shells/bosh/PLIST b/shells/bosh/PLIST
new file mode 100644
index 00000000000..6a2fdcff3d5
--- /dev/null
+++ b/shells/bosh/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/10 19:58:16 wiz Exp $
+bin/bosh
+man/man1/bosh.1
diff --git a/shells/bosh/distinfo b/shells/bosh/distinfo
new file mode 100644
index 00000000000..c757bc8ccdd
--- /dev/null
+++ b/shells/bosh/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/10 19:58:16 wiz Exp $
+
+SHA1 (schily-2018-10-30.tar.bz2) = 2c70cd99d732c70193577d61793c32399fcc7378
+RMD160 (schily-2018-10-30.tar.bz2) = f5a843cde89f3e5d54b1925da288fab97990d3eb
+SHA512 (schily-2018-10-30.tar.bz2) = 72765d11eff52f744a707605a53365da69037c3d982c7b8f4cee98f109f856ee28af3420f63c3fe5a7890649c4eb0fa4dd69d367b7ec41026f288d6237c98d96
+Size (schily-2018-10-30.tar.bz2) = 4311065 bytes