summaryrefslogtreecommitdiff
path: root/shells/heirloom-sh
diff options
context:
space:
mode:
authorcheusov <cheusov>2011-05-28 08:53:11 +0000
committercheusov <cheusov>2011-05-28 08:53:11 +0000
commitdec3360a1e7ca28e25fa66092862fba1eae706e4 (patch)
treea3bcf9bff4c820153b3bfaf49f49a8e2097d69d3 /shells/heirloom-sh
parent76e25b4390eff3983ade27963136a802398d0d33 (diff)
downloadpkgsrc-dec3360a1e7ca28e25fa66092862fba1eae706e4.tar.gz
heirloom-sh
Diffstat (limited to 'shells/heirloom-sh')
-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