pkgsrc/lang/pforth/Makefile
jtb be19c6c2ef Update to pforth-21.
V20
    - Expand PAD for ConvertNumberToText so "-1 binary .s" doesn't crash.
      Thank you Michael Connor of Vancouver for reporting this bug.

    - Removed FDROP in REPRESENT to fix stack underflow after "0.0 F.".
      Thank you Jim Rosenow of Minnesota for reporting this bug.
	- Changed pfCharToLower to function to prevent macro expansion
	bugs under VXWORKS
      Thank you Jim Rosenow of Minnesota for reporting this bug.

	- "0.0 F~" now checks actual binary encoding of floats. Before
	  this it used to just compare value which was incorrect. Now
	  "0.0 -0.0 0.0 F~" returns FALSE.

	- Fixed definition of INPUT$ in tutorial.
      Thank you Hampton Miller of California for reporting this bug.

	- Added support for producing a target dictionary with a different
	  Endian-ness than the host CPU.  See PF_BIG_ENDIAN_DIC and
	  PF_LITTLE_ENDIAN_DIC.

	- PForth kernel now comes up in a mode that uses BASE for
	  numeric input when started with "-i" option.  It used to
	  always consider numeric input as HEX. Initial BASE is decimal.

V21
	- Fixed some compiler warnings.
2001-06-20 06:53:40 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2001/06/20 06:53:40 jtb Exp $
DISTNAME= pfthpc21
PKGNAME= pforth-21
CATEGORIES= lang
MASTER_SITES= http://www.softsynth.com/pforth/
EXTRACT_SUFX= .zip
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.softsynth.com/pforth/
COMMENT= Portable ANS-like Forth
WRKSRC= ${WRKDIR}
USE_GMAKE= YES
MAKEFILE= ${WRKSRC}/makefile
post-extract:
${MKDIR} ${WRKSRC}/objects
post-patch:
${MV} ${WRKSRC}/csrc/pf_main.c ${WRKSRC}/csrc/pf_main.c.dist
${SED} -e 's:@PREFIX@:${PREFIX}:g' ${WRKSRC}/csrc/pf_main.c.dist \
> ${WRKSRC}/csrc/pf_main.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pforth ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/lib/pforth
${INSTALL_DATA} ${WRKSRC}/pforth.dic ${PREFIX}/lib/pforth
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pforth
${INSTALL_DATA} ${WRKSRC}/readme.txt ${WRKSRC}/docs/* \
${PREFIX}/share/doc/pforth/
${INSTALL_DATA_DIR} ${PREFIX}/share/pforth
${INSTALL_DATA} ${WRKSRC}/*.fth ${PREFIX}/share/pforth/
${INSTALL_DATA_DIR} ${PREFIX}/share/pforth/utils
${INSTALL_DATA} ${WRKSRC}/utils/*.fth ${PREFIX}/share/pforth/utils/
.include "../../mk/bsd.pkg.mk"