c35474b81a
* require.scm (*slib-version*): Bumped from 3b2 to 3b3. * dbutil.scm (close-database): Close read-only databases. * Makefile: INSTALL_INFO = ginstall-info * slib.texi (Lists as sequences): Corrected `last' example. * configure: Improved portability of trailing / detection. * saturate.txt, clrnamdb.scm: Updated now that interpolation is fixed. * colorspc.scm (wavelength->XYZ): Interpolation was backwards. * configure (ac_default_prefix): Was lacking trailing /. * Makefile (allfiles): Added "version.txi". * clrnamdb.scm, saturate.txt: Fixed several problems. * mkclrnam.scm (load-rgb-txt): Added input method for XCMS colors. * color.scm (color->L*a*b*): Corrected conversion from L*a*b*. (color->string): Reduced precision on L*a*b*, L*u*v*, and L*C*h. * slib.texi (Define-Structure): Corrected documentation and example. * Makefile (Makefile): Runs ./configure to create config.status. * Makefile: Reorganized per http://www.gnu.org/prep/standards/ * guile.init (char-code-limit, scheme-file-suffix, read, array?): Conditioned for Guile-1.9.7. * configure: GNU-style configuration for installation creates config.status, which is included by Makefile. * guile.init (browse-url, vector->array, array->vector) (random:chunk): Conditional definitions choke Guile-2. * Makefile: include config.status for install directories. * configure: Added Shell script for GNU-compatible configuration. * slib.texi (Installation): Added link to Guile manual. Corrected @exdent usage. * guile.init: 1.8.6 needs exports. (define): Don't redefine in guile-2 (1.9). * guile.use: Added; has just (use-modules (ice-9 slib)). * slib.sh (guile): Added: -l ${SCHEME_LIBRARY_PATH}guile.use conditioned on "guile.use" existence. * math-integer.scm (remainder, modulo): Fixed documentation. * limit.scm (finite?): Added definition. * qp.scm (qp): Don't truncate symbols when printing. * transact.scm (word:lock!): Truncate email components so MS-Word style ~$ckfile fits in 162.B. * dirs.scm (directory*-for-each): Added. * Makefile (install, uninstall): Added ciefiles. * srfi-39.scm (make-parameter, parameterize): Added. * s7.init: Added init file for S7, part of the Snd sound-editor. * grapheps.ps (bargraph, impulse): Fixed for ranges not containing 0.
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.33 2010/08/16 08:29:26 wiz Exp $
|
|
|
|
DISTNAME= slib-3b3
|
|
#
|
|
# Convert the version number as follows 2d2 -> 2.4.2, where the d is
|
|
# changed to a 4, representing the 4th letter.
|
|
# Thus, 3a1 -> 3.1.1
|
|
#
|
|
# Also update guile-slib
|
|
#
|
|
PKGNAME= slib-3.2.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://swissnet.ai.mit.edu/~jaffer/SLIB.html
|
|
COMMENT= Portable Scheme library of compatibility and utility functions
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
SLIBDIR= ${PREFIX}/share/slib
|
|
DOCDIR= ${PREFIX}/share/doc/slib
|
|
INFO_FILES= yes
|
|
|
|
INSTALLATION_DIRS= ${PKGINFODIR}
|
|
|
|
SUBST_CLASSES+= scmpath
|
|
SUBST_STAGE.scmpath= post-patch
|
|
SUBST_FILES.scmpath= guile.init
|
|
SUBST_SED.scmpath= -e "s|/usr/share/slib|${PREFIX}/share/slib|"
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${SLIBDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} *.scm *.init ${DESTDIR}${SLIBDIR}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
|
cd ${WRKSRC}; ${INSTALL_DATA} README FAQ ${DESTDIR}${DOCDIR}
|
|
cd ${WRKSRC}; for f in slib.info slib.info-[0-9]*; do \
|
|
${TEST} ! -f "$$f" || \
|
|
${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|