summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2011-05-28 08:53:11 +0000
committercheusov <cheusov@pkgsrc.org>2011-05-28 08:53:11 +0000
commit452b06c41eaaa410ef3590c98d512562db8ff2af (patch)
treea3bcf9bff4c820153b3bfaf49f49a8e2097d69d3 /shells
parent4fad95e02541c37bea32edae27f776f7669ed4c0 (diff)
downloadpkgsrc-452b06c41eaaa410ef3590c98d512562db8ff2af.tar.gz
heirloom-sh
Diffstat (limited to 'shells')
-rw-r--r--shells/heirloom-sh/DESCR3
-rw-r--r--shells/heirloom-sh/Makefile43
-rw-r--r--shells/heirloom-sh/PLIST9
-rw-r--r--shells/heirloom-sh/distinfo5
4 files changed, 60 insertions, 0 deletions
diff --git a/shells/heirloom-sh/DESCR b/shells/heirloom-sh/DESCR
new file mode 100644
index 00000000000..fe68a54bafd
--- /dev/null
+++ b/shells/heirloom-sh/DESCR
@@ -0,0 +1,3 @@
+The Heirloom Bourne Shell is a portable variant of the traditional Unix
+shell. It has been derived from OpenSolaris code and thus implements
+the SVR4/SVID3 level of the shell.
diff --git a/shells/heirloom-sh/Makefile b/shells/heirloom-sh/Makefile
new file mode 100644
index 00000000000..ba61751e203
--- /dev/null
+++ b/shells/heirloom-sh/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/05/28 08:53:11 cheusov Exp $
+#
+
+DISTNAME= heirloom-sh-050706
+PKGREVISION= 2
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=heirloom/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= cheusov@tut.by
+HOMEPAGE= http://heirloom.sourceforge.net/
+COMMENT= Traditional Unix shell derived from OpenSolaris code
+LICENSE= cddl-1.0
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../mk/bsd.prefs.mk"
+
+CPPFLAGS.Linux+= -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L
+
+PKG_SHELL= ${PREFIX}/heirloom/bin/jsh
+
+PKGDOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+INSTALLATION_DIRS+= ${PKGDOCDIR}
+
+DOC_FILES= CHANGES CALDERA.LICENSE OPENSOLARIS.LICENSE README
+
+MAKE_FILE= makefile
+MAKE_FLAGS+= ROOT=${DESTDIR}
+MAKE_FLAGS+= SV3BIN=${PREFIX}/heirloom/bin
+MAKE_FLAGS+= MANDIR=${PREFIX}/heirloom/man
+MAKE_FLAGS+= UCBINST=${INSTALL_DATA:Q}
+MAKE_FLAGS+= STRIP=true #${STRIP}
+MAKE_FLAGS+= WARN=
+MAKE_FLAGS+= WERROR=
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
+
+post-install:
+.for i in ${DOC_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PKGDOCDIR}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/shells/heirloom-sh/PLIST b/shells/heirloom-sh/PLIST
new file mode 100644
index 00000000000..919831fe241
--- /dev/null
+++ b/shells/heirloom-sh/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/28 08:53:11 cheusov Exp $
+heirloom/bin/jsh
+heirloom/bin/sh
+heirloom/man/man1/jsh.1
+heirloom/man/man1/sh.1
+share/doc/${PKGBASE}/CHANGES
+share/doc/${PKGBASE}/CALDERA.LICENSE
+share/doc/${PKGBASE}/OPENSOLARIS.LICENSE
+share/doc/${PKGBASE}/README
diff --git a/shells/heirloom-sh/distinfo b/shells/heirloom-sh/distinfo
new file mode 100644
index 00000000000..1d2a1dd0218
--- /dev/null
+++ b/shells/heirloom-sh/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/05/28 08:53:11 cheusov Exp $
+
+SHA1 (heirloom-sh-050706.tar.bz2) = 0ce709c21e09ef183986347cf1ed80d5884aa12d
+RMD160 (heirloom-sh-050706.tar.bz2) = 584458f73e7cd2376b333de2a5fd8a13f364d516
+Size (heirloom-sh-050706.tar.bz2) = 82725 bytes