2006-04-09 03:11:31 +02:00
|
|
|
# $NetBSD: Makefile,v 1.38 2006/04/09 01:11:31 jlam Exp $
|
2001-05-31 11:56:58 +02:00
|
|
|
#
|
|
|
|
|
2005-12-09 16:38:54 +01:00
|
|
|
DISTNAME= Gauche-0.8.6
|
2006-02-22 23:28:35 +01:00
|
|
|
PKGREVISION= 1
|
2001-05-31 11:56:58 +02:00
|
|
|
CATEGORIES= lang
|
2002-05-12 12:16:44 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gauche/}
|
2001-05-31 11:56:58 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= minoura@NetBSD.org
|
2001-05-31 11:56:58 +02:00
|
|
|
HOMEPAGE= http://www.shiro.dreamhost.com/scheme/gauche/index.html
|
2004-03-29 11:34:26 +02:00
|
|
|
COMMENT= R5RS Scheme implementation aimed to be a handy tool for daily works
|
2001-05-31 11:56:58 +02:00
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= slib-[0-9]*:../../devel/slib
|
2001-05-31 11:56:58 +02:00
|
|
|
|
2005-03-07 04:16:46 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2006-03-31 19:41:07 +02:00
|
|
|
EVAL_PREFIX+= SLIB_PREFIX=slib
|
|
|
|
|
2001-05-31 11:56:58 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-03-31 19:41:07 +02:00
|
|
|
CONFIGURE_ARGS+= --with-slib=${SLIB_PREFIX}/share/slib
|
2006-01-15 08:55:28 +01:00
|
|
|
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
|
2002-02-01 09:10:39 +01:00
|
|
|
CONFIGURE_ENV+= AS="${CC} -x assembler-with-cpp -c"
|
2002-10-02 10:25:13 +02:00
|
|
|
|
2006-03-31 20:35:22 +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
|
2003-08-09 11:31:25 +02:00
|
|
|
|
2006-03-05 17:27:22 +01:00
|
|
|
USE_TOOLS+= gzip makeinfo
|
2006-04-09 03:11:31 +02:00
|
|
|
INFO_FILES= # PLIST
|
2001-05-31 11:56:58 +02:00
|
|
|
|
2004-05-09 16:23:55 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2004-11-26 10:39:30 +01:00
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
2003-08-09 11:31:25 +02:00
|
|
|
|
2006-03-31 20:35:22 +02:00
|
|
|
post-install:
|
|
|
|
gzip -d ${PREFIX}/${PKGINFODIR}/gauche-ref*gz
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|