044c74a34b
via PR pkg/22185. Changes: New in slib2d6: * phil-spc.scm: Added Hilbert Space-Filling Functions. * ncbi-dna.scm: Read and manipulate NCBI-format nucleotide sequences. * differ.scm (diff:edits): Improved speed by 27%. * solid.scm (scene:viewpoint): Simplified; fixed pitch. (solid:extract-colors): Fixed color/elevations alignment. (solid:extract-colors, solid:extract-elevations): Fixed row-major. * solid.scm (solid:basrelief): Added VRML ElevationGrid. (solid:bry): Added "solid FALSE" and missing alternative clause. * solid.scm (scene:viewpoints): Restored Up and Down views. * html4each.scm (html-for-each): Rewrote for full quote hair. Removed require string-search; uses own multi-char version. * html4each.scm (html-for-each): "unterminated HTML entity" warning infinitely looped; changed to error. (htm-fields): Recover from HTML errors. * html4each.scm (htm-fields): Parses markup string. (html-for-each): Handle comments as markups. * html4each.scm (html:read-title): Added optional LIMIT (word-count) argument. * html4each.scm (html:read-title): Added. (html-for-each): Accept input-port for FILE argument. (html:read-title): Added check for first char being '<'. * uri.scm (uri->tree, make-uri): Fixed confusion of #f and "". * uri.scm (absolute-uri?): Added. * uri.scm (uri->tree): Corrected documentation. * db2html.scm (command:make-editable-table, command:modify-table): Improved null-keys treatment to work with multiple primaries. * db2html.scm (command:make-editable-table): foreign-choice-lists now opens the table. * slib.texi: Fixed database examples. * dbutil.scm (solidify-database): Fixed lock handling. * dbutil.scm (mdbm:report): Show lock certificates. (create-database, write-database, syncify-database, close-database): Lock database file for writing. (create-database): Allow initial #f filename. * transact.scm (transact-file-replacement): Accept (string) path to backup file in place of backup-style symbol. * charplot.scm (histobins): Gracefully return when no data. * soundex.scm (SOUNDEX): Character lookups use ASSV and MEMV. * qp.scm (qp:qp): Distinguish #f and 0 values for *qp-width*. * array.scm (make-array): Removed legacy procedures. * arraymap.scm (array-for-each): Use set-car! instead of reverse. * fft.scm (fft:shuffle&scale): Use bit-reverse from 'logical. * logical.scm (logical:logcount, logical:integer-length): Made tail-recursive. (logical:logxor, logical:logior, logical:logand): Made tail-recursive. * logical.scm (logical:ones): Return 0 for 0 argument. (gray-code->integer): Improved running time from O(b^2) to O(b*log(b)). * strsrch.scm (substring?, substring-ci?): Bum simple cases. (subskip): Split out common code from substring?, substring-ci?. (subloop): Old non-table-driven code for short substring?s. (substring?, substring-ci?): Compared measurements of subskip vs subloop; set breakpoint at STRLEN < CHAR-CODE-LIMIT/2 + 2*PATLEN. (substring-ci?, substring?): Refined; subloop for PATLEN <= 4. * strsrch.scm (count-newlines): Added. * slib.texi (Lists as sets): Updated UNION examples. * comlist.scm (comlist:union): Optimized for list lengths. * comlist.scm (comlist:list*): Make letrec top-level. * batch.scm (*operating-system*): gnu-win32 renamed from cygwin32. * batch.scm (*operating-system*): Detect MINGW32 (gcc on MS-DOS) as CYGWIN. * random.scm (random): Streamlined. (seed->random-state, random:chunk): Replaced BYTE with ARRAY. * random.scm (random): Don't get extra chunk when modu is integer multiple of 256. * slib.texi (Getopt): Fixed double dashes. * slib.texi (Getopt, Getopt Parameter lists): * getparam.scm (getopt->arglist, getopt->parameter-list): * getopt.scm (getopt, getopt--): Global variable *argv* replaces argc, argv arguments. Not the best solution -- but at least its consistent. * slib.texi (Plotting): Updated examples. * slib.texi (String Search): State search order for string-subst. * slib.texi (Copyrights): Fixed TeX formatting. * slib.texi (Rule Types): Split from Precedence Parsing Overview. (Precedence Parsing Overview): Describe binding power concept.
34 lines
923 B
Makefile
34 lines
923 B
Makefile
# $NetBSD: Makefile,v 1.14 2003/09/16 18:51:31 xtraeme Exp $
|
|
|
|
DISTNAME= slib2d6
|
|
#
|
|
# Convert the version number as follows 2d2 -> 2.4.2, where the d is
|
|
# changed to a 4, representing the 4th letter.
|
|
#
|
|
PKGNAME= slib-2.4.6
|
|
WRKSRC= ${WRKDIR}/slib
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/ \
|
|
${MASTER_SITE_GNU:=jacal/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= jlam@NetBSD.org
|
|
HOMEPAGE= http://swissnet.ai.mit.edu/~jaffer/SLIB.html
|
|
COMMENT= Portable Scheme library of compatibility and utility functions
|
|
|
|
USE_BUILDLINK2= # defined
|
|
NO_BUILD= # defined
|
|
|
|
SLIBDIR= ${PREFIX}/share/slib
|
|
DOCDIR= ${PREFIX}/share/doc/slib
|
|
|
|
INFO_FILES= slib.info
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${SLIBDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} *.scm *.init ${SLIBDIR}
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} README FAQ ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/slib.info ${PREFIX}/info
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|