pkgsrc/lang/gauche/Makefile

40 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.38 2006/04/09 01:11:31 jlam Exp $
#
Update gauche to 0.8.6. Patch provided by Kenji Hisazumi. From this release we don't use external Boehm GC library because gauche needs GC to be built with special compilation options. New features in 0.8.6: * New modules: + dbi: Database independent access layer, providing unified access to various relational databases. You need separate "driver" packages to access the actual RDBMS. There are a few driver packages available at http://www.kahua.org/cgi-bin/kahua.fcgi/kahua-web/show/dev/DBI/. Note: If you have been using the separate dbi module, make sure you remove it before using the new dbi and dbd modules. You can find the old dbi.scm under somewhere like /usr/local/share/gauche/site/lib (the actualy directory depends on the configuration when you've installed the dbi module). + util.relation: A framework to work with relations (as defined by Codd). The result of database access via dbi is represened as a relation. + text.sql: SQL parser/constructor. Full features are not implemented yet, but used in dbi module for prepared queries. * New SRFIs: + SRFI-40 (Library of streams) as util.stream. + SRFI-43 (vector library) as srfi-43. + SRFI-45 (Primitives for Expressing Iterative Lazy Algorithms) : built-in. * New built-in proceduers global-variable-bound? and glboal-variable-ref. The former supersedes symbol-bound? ( symbol-bound? is now deprecated and will go away in the future releases. Code that uses symbol-bound? should change it to global-variable-bound?. ). The latter removes some need of using eval just to peek the value of the global variable. * New regexp procedures: regexp-replace*, regexp-replace-all*, regexp-case-fold?. * Stack overflow handling is largely improved. You can see better performance if your script frequently oveflows the stack. 0.8.5 was a maintainance release. 0.8.4: Gauche 0.8.4: The compiler and VM have been rewritten. Now Gauche runs faster with less memory (as fast as 1.9x, or cosumes 0.7x memory, in best cases of our tests. But your mileage may vary.) The compiler now does simple closure optimization, so the typical loop-by-local-closure style code will get the advantage. On the other hand, you won't see much gain in OO-heavy or library-heavy programs. Other changes: * New features: + srfi-42 (Eager comprehension) is supported. + srfi-55 (require-extension) is supported. + A simple sampling profiler is implemented to help tuning programs. Check out "Profiling and tuning" section of the reference manual. The profiler may not be available on all platforms. + We provide an experimenal Windows/MinGW binary package for the convenience. See download page.
2005-12-09 16:38:54 +01:00
DISTNAME= Gauche-0.8.6
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
EXTRACT_SUFX= .tgz
2003-07-17 23:41:05 +02:00
MAINTAINER= minoura@NetBSD.org
HOMEPAGE= http://www.shiro.dreamhost.com/scheme/gauche/index.html
COMMENT= R5RS Scheme implementation aimed to be a handy tool for daily works
DEPENDS+= slib-[0-9]*:../../devel/slib
.include "options.mk"
EVAL_PREFIX+= SLIB_PREFIX=slib
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-slib=${SLIB_PREFIX}/share/slib
CONFIGURE_ARGS+= --enable-multibyte=utf-8
Updated to 0.8.1. Gauche-0.8.1 is a maintainance release of Gauche-0.8. Gauche-0.8 release announce is cited here: * *New Features* o Auxiliary scripts: Gauche now installs a few scripts that help to build and install extension packages. The gauche-package script handles download, unpacking, configuration, building and installation in one command invocation. See the description of "Using extension packages" section of the manual. (NB: this feature is still new and may have problems, but hey, let's give a try.) A couple of auxiliary scripts, gauche-cesconv and gauche-install can be called from Makefile. They don't have documentation yet, but try --help option for these scripts. o Module util.match: Andrew Wright's match macro is bundled. It is modified to handle Gauche's object system. * *Improvements* o A couple of performance tuning were done for I/O and loading Scheme files. o Now you can subclass <error> class as well as <exception> class to define your own error type. A new built-in macro guard, which is SRFI-34 compliant, can be used to handle errors selectively. Eventually the errors from built-in procedures will have more structured exception hierarchy. o New built-in system procedures: sys-lchown, sys-realpath. o Built-in sort routines now have stable versions, stable-sort and stable-sort!. o New built-in macro: let/cc. o New built-in keyword procedures: delete-keyword, delete-keyword!. o New built-in regexp procedure: rxmatch-num-matches. o Module file.util: new procedures: file-is-symlink?, file->string, file->string-list, file->list, file->sexp-list. o Module gauche.net: documented the previously experimental procedures: socket-send, socket-sendto, socket-recv, socket-recvfrom, socket-getpeername, socket-getsockname. Now these are official procedures. o Module gauche.process: process-command wasn't exported, even though it was documented. o Module gauche.test: you can control whether the error in the test procedure is reported or not by an envioronment variable GAUCHE_TEST_REPORT_ERROR and a global variable *test-report-error*. Useful to find a problem during testing. o Module www.cgi: new procedure cgi-get-metavariables; allows the user routine to take metavariables via cgi-metavariables parameter, so that cgi scripts can be easily modularized. o Module gauche.parseopt: support of "optional option-argument" is added. o Module gauche.array: homogeneous numeric array types are added. o Module text.html-lite: added frame-related tags. * *Bug Fixes* [snip]
2004-08-08 09:05:38 +02:00
CONFIGURE_ARGS+= --enable-threads=none # must match w/ boehm-gc
CONFIGURE_ENV+= AS="${CC} -x assembler-with-cpp -c"
2002-10-02 10:25:13 +02:00
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-iconv-lib=${BUILDLINK_LDADD.iconv:M-l*:S/-l//:Q}
MAKE_ENV+= ICONV_LDFLAGS=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.iconv}/lib
USE_TOOLS+= gzip makeinfo
INFO_FILES= # PLIST
2004-05-09 16:23:55 +02:00
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
post-install:
gzip -d ${PREFIX}/${PKGINFODIR}/gauche-ref*gz
.include "../../mk/bsd.pkg.mk"