pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators Add a TCL based simulator for the programmab...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf597b7f99ba
branches:  trunk
changeset: 312293:bf597b7f99ba
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Fri Aug 31 09:24:25 2018 +0000

description:
Add a TCL based simulator for the programmable RPN pocket calculator
Hewlett-Packard HP-15C

diffstat:

 emulators/Makefile                   |    3 +-
 emulators/tcl-hp-15c/DESCR           |   10 +++
 emulators/tcl-hp-15c/Makefile        |   47 ++++++++++++++
 emulators/tcl-hp-15c/PLIST           |  114 +++++++++++++++++++++++++++++++++++
 emulators/tcl-hp-15c/distinfo        |    6 +
 emulators/tcl-hp-15c/files/hp-15c.sh |    3 +
 6 files changed, 182 insertions(+), 1 deletions(-)

diffs (217 lines):

diff -r aaf2bfb55a12 -r bf597b7f99ba emulators/Makefile
--- a/emulators/Makefile        Fri Aug 31 09:20:31 2018 +0000
+++ b/emulators/Makefile        Fri Aug 31 09:24:25 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.282 2018/08/17 12:54:48 nia Exp $
+# $NetBSD: Makefile,v 1.283 2018/08/31 09:24:25 hauke Exp $
 #
 
 COMMENT=       Emulators for other operating systems
@@ -368,6 +368,7 @@
 SUBDIR+=       suse131_x11
 SUBDIR+=       swarm
 SUBDIR+=       sys161
+SUBDIR+=       tcl-hp-15c
 SUBDIR+=       tme
 SUBDIR+=       tuxnes
 SUBDIR+=       twin
diff -r aaf2bfb55a12 -r bf597b7f99ba emulators/tcl-hp-15c/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/tcl-hp-15c/DESCR        Fri Aug 31 09:24:25 2018 +0000
@@ -0,0 +1,10 @@
+The HP-15C Simulator is intended to be a useful RPN calculator for
+your PC desktop. It therefore makes use of the features of the
+underlying operating system and its GUI: Programs can be saved in
+files, so that you need to key them in only once. Pop-up menus provide
+easy and fast access to many HP-15C functions and features. However,
+no new function, which is not supported by the real HP-15C, is added.
+
+The Simulator supports almost all functions and features of the real
+HP-15C. Differences between the real HP-15C and the Simulator are
+rather small.
diff -r aaf2bfb55a12 -r bf597b7f99ba emulators/tcl-hp-15c/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/tcl-hp-15c/Makefile     Fri Aug 31 09:24:25 2018 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1 2018/08/31 09:24:25 hauke Exp $
+
+DISTNAME=      HP-15C_4.0.00_Source
+PKGNAME=       tcl-hp-15c-${PKGVER}
+PKGVER=                4.0.00.5811
+CATEGORIES=    emulators math
+MASTER_SITES=  -http://bit.ly/2FQ82VL
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    hauke%NetBSD.org@localhost
+HOMEPAGE=      http://hp-15c.homepage.t-online.de/
+COMMENT=       Simulated HP-15C RPN calculator
+LICENSE=       gnu-gpl-v3
+
+DEPENDS+=       tk>=8.3.2:../../x11/tk
+
+NO_CONFIGURE=   YES
+NO_BUILD=       YES
+
+USE_TOOLS+=     unzip pax find sed
+
+HP15CDIR=      share/tcl-hp-15c
+
+INSTALLATION_DIRS=     share/fonts/X11/TTF
+INSTALLATION_DIRS+=    ${HP15CDIR}
+INSTALLATION_DIRS+=    bin
+
+FONTS_DIRS.ttf=        ${PREFIX}/share/fonts/X11/TTF
+
+do-extract:
+       ${MKDIR} ${WRKSRC} ; \
+       cd ${WRKSRC} ; \
+       ${UNZIP_CMD} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
+
+post-extract:
+       ${SED} -e "s,@PREFIX@,${PREFIX},g" \
+               < ${FILESDIR}/hp-15c.sh > ${WRKDIR}/hp-15c.sh
+
+do-install:
+       ${FIND} ${WRKSRC} -type f -exec chmod -x \{\} \;
+       cd ${WRKSRC} ; ${PAX} -rw . ${DESTDIR}${PREFIX}/${HP15CDIR}
+       ${INSTALL_DATA} ${WRKSRC}/HP-15C_Simulator_Font.ttf \
+               ${DESTDIR}${FONTS_DIRS.ttf}/HP-15C_Simulator_Font.ttf
+       ${INSTALL_SCRIPT} ${WRKDIR}/hp-15c.sh ${DESTDIR}${PREFIX}/bin/hp-15c
+
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r aaf2bfb55a12 -r bf597b7f99ba emulators/tcl-hp-15c/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/tcl-hp-15c/PLIST        Fri Aug 31 09:24:25 2018 +0000
@@ -0,0 +1,114 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/31 09:24:25 hauke Exp $
+bin/hp-15c
+share/fonts/X11/TTF/HP-15C_Simulator_Font.ttf
+share/tcl-hp-15c/HP-15C.ico
+share/tcl-hp-15c/HP-15C.tcl
+share/tcl-hp-15c/HP-15C_Simulator_Font.ttf
+share/tcl-hp-15c/Read Me & Release Notes.html
+share/tcl-hp-15c/css/HP-15C_css.txt
+share/tcl-hp-15c/doc/FAQ.htm
+share/tcl-hp-15c/doc/convert.htm
+share/tcl-hp-15c/doc/dm15.htm
+share/tcl-hp-15c/doc/formats/formats.css
+share/tcl-hp-15c/doc/formats/layout.css
+share/tcl-hp-15c/doc/images/HP-15C.png
+share/tcl-hp-15c/doc/images/HP-15C_small.png
+share/tcl-hp-15c/doc/images/Quick Start.gif
+share/tcl-hp-15c/doc/images/complex_1.gif
+share/tcl-hp-15c/doc/images/display_area_small.gif
+share/tcl-hp-15c/doc/images/display_error_small.gif
+share/tcl-hp-15c/doc/images/display_small.gif
+share/tcl-hp-15c/doc/images/favicon.ico
+share/tcl-hp-15c/doc/images/gsb_menu_sorted.png
+share/tcl-hp-15c/doc/images/gsb_menu_unsorted.png
+share/tcl-hp-15c/doc/images/key_backspace_char_missing.png
+share/tcl-hp-15c/doc/images/key_backspace_char_ok.png
+share/tcl-hp-15c/doc/images/key_rolldown_char_missing.png
+share/tcl-hp-15c/doc/images/key_rolldown_char_ok.png
+share/tcl-hp-15c/doc/images/mail_logo.gif
+share/tcl-hp-15c/doc/images/matrix_4x3_elements.png
+share/tcl-hp-15c/doc/images/matrix_4x3_rowcolumn.png
+share/tcl-hp-15c/doc/images/matrix_functions.png
+share/tcl-hp-15c/doc/images/matrix_stack_descriptor.png
+share/tcl-hp-15c/doc/images/matrix_stack_submenu.png
+share/tcl-hp-15c/doc/images/prefs_strict_hp15c_off.png
+share/tcl-hp-15c/doc/images/prefs_strict_hp15c_on.png
+share/tcl-hp-15c/doc/images/prgm_code.gif
+share/tcl-hp-15c/doc/images/prgm_code_col.gif
+share/tcl-hp-15c/doc/images/prgm_mnemonics.gif
+share/tcl-hp-15c/doc/images/prgm_mnemonics_col.gif
+share/tcl-hp-15c/doc/images/prgm_step_000.gif
+share/tcl-hp-15c/doc/images/prgm_step_001.gif
+share/tcl-hp-15c/doc/images/prgm_step_021.gif
+share/tcl-hp-15c/doc/images/prgm_step_run.gif
+share/tcl-hp-15c/doc/images/prgm_step_small.gif
+share/tcl-hp-15c/doc/images/stack_complex.gif
+share/tcl-hp-15c/doc/images/stack_fix2.gif
+share/tcl-hp-15c/doc/images/stack_fix4.gif
+share/tcl-hp-15c/doc/images/stack_sci3.gif
+share/tcl-hp-15c/doc/images/storage_1cols.gif
+share/tcl-hp-15c/doc/images/storage_2cols.gif
+share/tcl-hp-15c/doc/images/storage_7regs1col.gif
+share/tcl-hp-15c/doc/images/storage_7regs2col.gif
+share/tcl-hp-15c/doc/images/test_menu.gif
+share/tcl-hp-15c/doc/index.htm
+share/tcl-hp-15c/doc/introduction.htm
+share/tcl-hp-15c/doc/js/MnemonicConverter.js
+share/tcl-hp-15c/doc/keyboard.htm
+share/tcl-hp-15c/doc/keyboard_n.htm
+share/tcl-hp-15c/doc/links.htm
+share/tcl-hp-15c/doc/menus.htm
+share/tcl-hp-15c/doc/preferences.htm
+share/tcl-hp-15c/doc/programs.htm
+share/tcl-hp-15c/doc/usage.htm
+share/tcl-hp-15c/icons/HP-15C-logo.icns
+share/tcl-hp-15c/icons/HP-15C-logo.ico
+share/tcl-hp-15c/icons/HP-15C-logo.zip
+share/tcl-hp-15c/icons/HP-15C-picture.icns
+share/tcl-hp-15c/icons/HP-15C-picture.ico
+share/tcl-hp-15c/icons/HP-15C-picture.zip
+share/tcl-hp-15c/images/HP-15C-logo-256.png
+share/tcl-hp-15c/images/HP-15C-logo-512.png
+share/tcl-hp-15c/images/PrefIconDM15CC.gif
+share/tcl-hp-15c/images/PrefIconFiles.gif
+share/tcl-hp-15c/images/PrefIconFonts.gif
+share/tcl-hp-15c/images/PrefIconHelp.gif
+share/tcl-hp-15c/images/PrefIconSimulator.gif
+share/tcl-hp-15c/images/PrefIconSystem.gif
+share/tcl-hp-15c/images/PrevIconDev.gif
+share/tcl-hp-15c/images/dispframe.gif
+share/tcl-hp-15c/lib/dm15cc/dm15cc.tcl
+share/tcl-hp-15c/lib/dm15cc/pkgIndex.tcl
+share/tcl-hp-15c/lib/hplcd/hplcd.tcl
+share/tcl-hp-15c/lib/hplcd/pkgIndex.tcl
+share/tcl-hp-15c/lib/html/html.tcl
+share/tcl-hp-15c/lib/html/pkgIndex.tcl
+share/tcl-hp-15c/lib/math/combinatorics.tcl
+share/tcl-hp-15c/lib/math/fuzzy.tcl
+share/tcl-hp-15c/lib/math/linalg.tcl
+share/tcl-hp-15c/lib/math/math.tcl
+share/tcl-hp-15c/lib/math/pkgIndex.tcl
+share/tcl-hp-15c/lib/math/tclIndex
+share/tcl-hp-15c/lib/matrix/matrix.tcl
+share/tcl-hp-15c/lib/matrix/matrix_0.0.9.tcl
+share/tcl-hp-15c/lib/matrix/pkgIndex.tcl
+share/tcl-hp-15c/lib/ncgi/ncgi.tcl
+share/tcl-hp-15c/lib/ncgi/pkgIndex.tcl
+share/tcl-hp-15c/lib/prdoc/pkgIndex.tcl
+share/tcl-hp-15c/lib/prdoc/prdoc.tcl
+share/tcl-hp-15c/lib/saturn/pkgIndex.tcl
+share/tcl-hp-15c/lib/saturn/s56b.tcl
+share/tcl-hp-15c/logo/HP-15C-logo-22x22.png
+share/tcl-hp-15c/logo/HP-15C-logo-256x256.png
+share/tcl-hp-15c/logo/HP-15C-logo-32x32.png
+share/tcl-hp-15c/logo/HP-15C-logo-48x48.png
+share/tcl-hp-15c/logo/HP-15C-logo-512x512.png
+share/tcl-hp-15c/msgs/ROOT.msg
+share/tcl-hp-15c/msgs/de.msg
+share/tcl-hp-15c/msgs/en_gb.msg
+share/tcl-hp-15c/msgs/en_us.msg
+share/tcl-hp-15c/msgs/es.msg
+share/tcl-hp-15c/msgs/fr.msg
+share/tcl-hp-15c/msgs/it.msg
+share/tcl-hp-15c/msgs/nl.msg
+share/tcl-hp-15c/msgs/pt_br.msg
diff -r aaf2bfb55a12 -r bf597b7f99ba emulators/tcl-hp-15c/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/tcl-hp-15c/distinfo     Fri Aug 31 09:24:25 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/08/31 09:24:25 hauke Exp $
+
+SHA1 (HP-15C_4.0.00_Source.zip) = c78f6dc60eb8a1beedc354d514324da3f039df1a
+RMD160 (HP-15C_4.0.00_Source.zip) = 0091c6c25621b8231b974230837ae9222b2eb0f4
+SHA512 (HP-15C_4.0.00_Source.zip) = d81de895086ab7b9b9f855fd1c7b518dc5104db6f94ba449630ea6de11942f7535a704a2603bfe5640253beed1a5b681193d12e71cddb4aa65d85283ad3de487
+Size (HP-15C_4.0.00_Source.zip) = 944359 bytes
diff -r aaf2bfb55a12 -r bf597b7f99ba emulators/tcl-hp-15c/files/hp-15c.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/tcl-hp-15c/files/hp-15c.sh      Fri Aug 31 09:24:25 2018 +0000
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cd @PREFIX@/share/tcl-hp-15c && @PREFIX@/bin/wish HP-15C.tcl



Home | Main Index | Thread Index | Old Index