Date: Thu, 27 Feb 2003 19:28:30 -0800 (PST) From: chein <chein@GeekDude.Com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/48764: new port for mpexpr Message-ID: <200302280328.h1S3SUFp030253@wakko.geekdude.com>
next in thread | raw e-mail | index | archive | help
>Number: 48764 >Category: ports >Synopsis: new port for mpexpr >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Feb 27 19:30:07 PST 2003 >Closed-Date: >Last-Modified: >Originator: chein@GeekDude.com >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD wakko.geekdude.com 4.7-STABLE FreeBSD 4.7-STABLE #10: Tue Feb 11 20:31:24 PST 2003 root@wakko.geekdude.com:/b/src/sys/compile/WAKKO i386 >Description: New port for mpexpr >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mpexpr # mpexpr/files # mpexpr/files/patch-aa # mpexpr/files/patch-ab # mpexpr/pkg-descr # mpexpr/distinfo # mpexpr/pkg-plist # mpexpr/Makefile # mpexpr/pkg-comment # echo c - mpexpr mkdir -p mpexpr > /dev/null 2>&1 echo c - mpexpr/files mkdir -p mpexpr/files > /dev/null 2>&1 echo x - mpexpr/files/patch-aa sed 's/^X//' >mpexpr/files/patch-aa << 'END-of-mpexpr/files/patch-aa' X*** configure.orig Fri Dec 4 16:04:23 1998 X--- configure Fri May 11 17:31:55 2001 X*************** X*** 21,26 **** X--- 21,28 ---- X # Initialize some variables set by options. X # The variables have the same names as the options, with X # dashes changed to underlines. X+ TCL_EXEC=tclsh8.3 X+ WISH_EXEC=wish8.3 X build=NONE X cache_file=./config.cache X exec_prefix=NONE X*************** X*** 704,711 **** X X # find include/tcl.h X for f in $prefix_locations ; do X! if test -r "$f/include/tcl.h"; then X! TCL_INC_DIR=$f/include X echo "$ac_t""setting TCL_INC_DIR to $TCL_INC_DIR" 1>&6 X break X fi X--- 706,713 ---- X X # find include/tcl.h X for f in $prefix_locations ; do X! if test -r "$f/include/tcl8.3/tcl.h"; then X! TCL_INC_DIR=$f/include/tcl8.3 X echo "$ac_t""setting TCL_INC_DIR to $TCL_INC_DIR" 1>&6 X break X fi X*************** X*** 713,720 **** X X # find lib/tclConfig.sh X for f in $exec_prefix_locations ; do X! if test -r "$f/lib/tclConfig.sh"; then X! TCL_LIB_DIR=$f/lib X echo "$ac_t""setting TCL_LIB_DIR to $TCL_LIB_DIR" 1>&6 X break X fi X--- 715,722 ---- X X # find lib/tclConfig.sh X for f in $exec_prefix_locations ; do X! if test -r "$f/lib/tcl8.3/tclConfig.sh"; then X! TCL_LIB_DIR=$f/lib/tcl8.3 X echo "$ac_t""setting TCL_LIB_DIR to $TCL_LIB_DIR" 1>&6 X break X fi END-of-mpexpr/files/patch-aa echo x - mpexpr/files/patch-ab sed 's/^X//' >mpexpr/files/patch-ab << 'END-of-mpexpr/files/patch-ab' X*** Makefile.in.orig Fri Dec 4 16:04:23 1998 X--- Makefile.in Thu Feb 27 18:37:45 2003 X*************** X*** 83,95 **** X #------------------------------------------------------------------------------ X # define names for Mpexpr tclsh/tcl executable X X! TCL_EXEC = tclsh X TCLX_EXEC = tcl X X #------------------------------------------------------------------------------ X # define name for Mpexpr wish/wishx executable X X! WISH_EXEC = wish X WISHX_EXEC = wishx X X #------------------------------------------------------------------------------ X--- 83,95 ---- X #------------------------------------------------------------------------------ X # define names for Mpexpr tclsh/tcl executable X X! TCL_EXEC = tclsh8.3 X TCLX_EXEC = tcl X X #------------------------------------------------------------------------------ X # define name for Mpexpr wish/wishx executable X X! WISH_EXEC = wish8.3 X WISHX_EXEC = wishx X X #------------------------------------------------------------------------------ X*************** X*** 210,226 **** X # a make clobber and try LITTLE_ENDIAN. If that fails, ask a wizard X # for help. X # X! BYTE_ORDER= X #BYTE_ORDER= BIG_ENDIAN X! #BYTE_ORDER= LITTLE_ENDIAN X X # Determine the number of bits in a long X # X # If in doubt, leave LONG_BITS empty. This makefile will run X # the longbits program to determine the length. X # X! LONG_BITS= X! #LONG_BITS= 32 X #LONG_BITS= 64 X X X--- 210,226 ---- X # a make clobber and try LITTLE_ENDIAN. If that fails, ask a wizard X # for help. X # X! #BYTE_ORDER= X #BYTE_ORDER= BIG_ENDIAN X! BYTE_ORDER= LITTLE_ENDIAN X X # Determine the number of bits in a long X # X # If in doubt, leave LONG_BITS empty. This makefile will run X # the longbits program to determine the length. X # X! #LONG_BITS= X! LONG_BITS= 32 X #LONG_BITS= 64 X X X*************** X*** 473,486 **** X #------------------------------------------------------------------------------ X # install targets X X! install: @INSTALL_TARGET@ install-man install-tools X X install-shared: $(LIB_SH_MPEXPR) X @echo installing $(LIB_SH_MPEXPR) X $(INSTALL_PROGRAM) $(LIB_SH_MPEXPR) $(LIB_DIR)/$(LIB_SH_MPEXPR) X @echo installing pkgIndex.tcl X -mkdir $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER) X! $(INSTALL_PROGRAM) pkgIndex.tcl $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER)/pkgIndex.tcl X X install-static: @PROGS@ $(LIB_MPEXPR) X @for f in $(T_EXEC) $(W_EXEC) ; do \ X--- 473,487 ---- X #------------------------------------------------------------------------------ X # install targets X X! #install: @INSTALL_TARGET@ install-man install-tools X! install: @INSTALL_TARGET@ install-man X X install-shared: $(LIB_SH_MPEXPR) X @echo installing $(LIB_SH_MPEXPR) X $(INSTALL_PROGRAM) $(LIB_SH_MPEXPR) $(LIB_DIR)/$(LIB_SH_MPEXPR) X @echo installing pkgIndex.tcl X -mkdir $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER) X! $(INSTALL_DATA) pkgIndex.tcl $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER)/pkgIndex.tcl X X install-static: @PROGS@ $(LIB_MPEXPR) X @for f in $(T_EXEC) $(W_EXEC) ; do \ END-of-mpexpr/files/patch-ab echo x - mpexpr/pkg-descr sed 's/^X//' >mpexpr/pkg-descr << 'END-of-mpexpr/pkg-descr' XMpexpr adds two new commands to Tcl, 'mpexpr' and 'mpformat'. Mpexpr works Xmuch like Tcl's native 'expr', but does all calculations using an arbitrary Xprecision math package. Mpexpr numbers can be any number of digits, with any Xdecimal precision. Final precision is controlled by a Tcl variable X'mp_precision', which can be any reasonable integer, limiting only the Xnumber of digits to the right of the decimal point. X XMpformat works much like Tcl's 'format', except it formats multiple Xprecision numbers in a variety of formats. X XMpexpr also includes most math functions provided by 'expr', as well Xas several new functions. Mpexpr also supports Tcl variables and Xnested evaluation, just like 'expr': X XWWW: http://www.neosoft.com/tcl/ftparchive/sorted/math/mpexpr-1.0 END-of-mpexpr/pkg-descr echo x - mpexpr/distinfo sed 's/^X//' >mpexpr/distinfo << 'END-of-mpexpr/distinfo' XMD5 (mpexpr-1.0.tar.gz) = 7978df5a42de32215b0d2f559cd55071 END-of-mpexpr/distinfo echo x - mpexpr/pkg-plist sed 's/^X//' >mpexpr/pkg-plist << 'END-of-mpexpr/pkg-plist' Xlib/libMpexpr10.so Xlib/Mpexpr10/pkgIndex.tcl X@dirrm lib/Mpexpr10 END-of-mpexpr/pkg-plist echo x - mpexpr/Makefile sed 's/^X//' >mpexpr/Makefile << 'END-of-mpexpr/Makefile' X# New ports collection makefile for: mpexpr X# Date created: 20 April 2001 X# Whom: Chuck Hein <geekdude@pacbell.net> X# X# $FreeBSD$ X# X XPORTNAME= mpexpr XPORTVERSION= 1.0 XCATEGORIES= math XMASTER_SITES= http://www.neosoft.com/tcl/ftparchive/sorted/math/Mpexpr-1.0/1.0/ X XMAINTAINER= geekdude@pacbell.net X XLIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83 X XWRKSRC= ${WRKDIR}/mpexpr-1.0/unix X XCONFIGURE_ARGS= --prefix=${PREFIX} \ X --exec-prefix=${PREFIX} X XGNU_CONFIGURE= yes X#INSTALLS_SHLIB= yes X XMANN= mpexpr.n X X.include <bsd.port.mk> END-of-mpexpr/Makefile echo x - mpexpr/pkg-comment sed 's/^X//' >mpexpr/pkg-comment << 'END-of-mpexpr/pkg-comment' XMultiple precision math for Tcl END-of-mpexpr/pkg-comment exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302280328.h1S3SUFp030253>