2004-02-14 16:29:15 +01:00
|
|
|
# $NetBSD: Makefile,v 1.49 2004/02/14 15:29:15 jlam Exp $
|
1997-11-18 01:39:46 +01:00
|
|
|
#
|
|
|
|
|
Update to 1.4.9:
Changes since 1.4.8
1. src/slarray.c: superfluous call to SLclass_add_math_op removed
(Michael Noble)
2. src/slang.c: foreach (NULL) using("next"){} foo (); caused _NARGS=1
in foo.
3. src/slarrfunc.c: Fix to prevent sum(NULL) from causing a core-dump.
4. src/slimport.c: import (module, "") made equivalent to
import(module,"Global"); This way, import(module, current_namespace())
will work when the current namespace is anonymous.
5. src/slospath.c: Several users have requested that I add the ability
to define a load path and use that path when loading interpreter
files. To this end, several new functions were added to the API:
char *SLpath_get_load_path (void);
int SLpath_set_load_path (char *path);
/* Get and Set the path to be searched for files */
int SLpath_get_path_delimiter (void);
SLpath_set_path_delimiter (int delimiter);
/* Get and set the character delimiter for search paths */
int SLang_load_file_verbose (int verbose);
/* if non-zero, display file loading messages */
New intrinsics include:
set_slang_load_path
get_slang_load_path
path_get_delimiter
These functions, nor the intrinsics have an effect on applications
that use SLang_load_file_hook or SLns_load_file_hook for loading
files. The change should be transparant to applications that use
the stock load file mechanism. The main difference is that if one
attempts to load a file with no extension, e.g., "foo", but the
file does not exist, then the interpreter will try to load the more
recent of "foo.sl" and "foo.slc".
See src/slsh.c for how the functions may be used.
6. slsh/slsh.c: Updated to use the new search path code outlined
above. Also, slsh is distributed with a collection of general
purpose slang functions, including jed's provide/require functions.
See slsh/README for more information.
7. doc/tm/cslang.tm: Modified the section describing the implemetation
of intrinsic functions in an effort to clarify the discussion.
8. src/slang.c: tiny memory leak resulting from peephole optimzations
added earlier found and fixed.
9. src/slarrmisc.c: new intrinsic: cumsum computes the cumulative sum
of an array via the new SLarray_map_array function.
2003-04-03 14:12:38 +02:00
|
|
|
DISTNAME= slang-1.4.9
|
2002-03-25 13:30:09 +01:00
|
|
|
PKGNAME= lib${DISTNAME}
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= lslan
|
2003-07-13 15:50:19 +02:00
|
|
|
PKGREVISION= 1
|
1997-11-18 01:39:46 +01:00
|
|
|
CATEGORIES= devel
|
2002-03-25 13:30:09 +01:00
|
|
|
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v1.4/ \
|
2001-02-06 13:41:37 +01:00
|
|
|
http://gd.tuwien.ac.at/editors/davis/slang/v1.4/ \
|
2002-05-19 19:11:19 +02:00
|
|
|
ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/slang/v1.4/ \
|
|
|
|
ftp://ftp.ntua.gr/pub/lang/slang/slang/v1.4/ \
|
|
|
|
ftp://ftp.plig.org/pub/slang/v1.4/
|
2002-03-25 13:30:09 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1997-11-18 01:39:46 +01:00
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-02-05 18:30:07 +01:00
|
|
|
HOMEPAGE= http://www.s-lang.org/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Routines for rapid alpha-numeric terminal applications development
|
1997-11-18 01:39:46 +01:00
|
|
|
|
2004-01-06 00:34:03 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
|
|
|
USE_BUILDLINK3= yes
|
2004-01-22 09:24:28 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2004-01-06 00:34:03 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2002-09-21 13:29:11 +02:00
|
|
|
|
2000-12-12 00:05:32 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/slang
|
|
|
|
${MV} ${PREFIX}/share/doc/slang/slangdoc.html \
|
|
|
|
${PREFIX}/share/doc/html/slang
|
|
|
|
|
2003-03-15 00:53:01 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-01-06 00:34:03 +01:00
|
|
|
# Debian doesn't have -ltermcap, use -lncurses instead
|
2003-03-15 00:53:01 +01:00
|
|
|
.if ${OPSYS} == "Linux" && ${LOWER_VENDOR} == "debian"
|
2004-01-06 20:12:33 +01:00
|
|
|
BUILDLINK_TRANSFORM+= l:termcap:
|
2004-01-06 00:34:03 +01:00
|
|
|
. include "../../devel/ncurses/buildlink3.mk"
|
2003-03-15 00:53:01 +01:00
|
|
|
.endif
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|