From 35735abf86714bf3427fc6ec481fdbffe02e3c05 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 10 Nov 2018 19:59:54 +0000 Subject: shells/pbosh: import pbosh-20181030 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 second variant. --- shells/pbosh/DESCR | 11 +++++++++++ shells/pbosh/Makefile | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ shells/pbosh/PLIST | 3 +++ shells/pbosh/distinfo | 6 ++++++ 4 files changed, 74 insertions(+) create mode 100644 shells/pbosh/DESCR create mode 100644 shells/pbosh/Makefile create mode 100644 shells/pbosh/PLIST create mode 100644 shells/pbosh/distinfo diff --git a/shells/pbosh/DESCR b/shells/pbosh/DESCR new file mode 100644 index 00000000000..b79f971896e --- /dev/null +++ b/shells/pbosh/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 second variant. diff --git a/shells/pbosh/Makefile b/shells/pbosh/Makefile new file mode 100644 index 00000000000..a0c4cf5e5bc --- /dev/null +++ b/shells/pbosh/Makefile @@ -0,0 +1,54 @@ +# $NetBSD: Makefile,v 1.1 2018/11/10 19:59:54 wiz Exp $ + +DISTNAME= schily-2018-10-30 +PKGNAME= pbosh-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/pbosh +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}/pbosh && ${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/pbosh.1 + +do-install: + cd ${WRKSRC}/sh && \ + ${INSTALL_PROGRAM} ${WRKSRC}/pbosh/OBJ/*/pbosh \ + ${DESTDIR}${PREFIX}/bin/pbosh; \ + ${INSTALL_MAN} ${WRKSRC}/sh/pbosh.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \ + +.include "../../mk/bsd.pkg.mk" diff --git a/shells/pbosh/PLIST b/shells/pbosh/PLIST new file mode 100644 index 00000000000..36fd3fbf3cf --- /dev/null +++ b/shells/pbosh/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2018/11/10 19:59:54 wiz Exp $ +bin/pbosh +man/man1/pbosh.1 diff --git a/shells/pbosh/distinfo b/shells/pbosh/distinfo new file mode 100644 index 00000000000..5b4cc3b4717 --- /dev/null +++ b/shells/pbosh/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/11/10 19:59:54 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 -- cgit v1.2.3