Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

10
lang/elk/DESCR Normal file
View File

@@ -0,0 +1,10 @@
Elk is a Scheme interpreter intended to be used as a general, reusable
extension language subsystem for integration into existing and future
applications. Elk can also be used as a stand-alone implementation of
the Scheme programming language.
One purpose of the Elk project is to end the recent proliferation of
mutually incompatible Lisp-like extension languages. Instead of
inventing and implementing yet another extension language, application
programmers can integrate Elk into their application to make it
extensible and highly customizable.

23
lang/elk/Makefile Normal file
View File

@@ -0,0 +1,23 @@
# $NetBSD: Makefile,v 1.43 2012/10/02 20:11:38 asau Exp $
DISTNAME= elk-3.99.8
PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://sam.zoy.org/elk/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sam.zoy.org/elk/
COMMENT= Embeddable Scheme interpreter
MAKE_JOBS_SAFE= no
USE_TOOLS+= groff
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
.include "options.mk"
.include "../../databases/gdbm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

145
lang/elk/PLIST Normal file
View File

@@ -0,0 +1,145 @@
@comment $NetBSD: PLIST,v 1.7 2012/04/13 05:43:26 dholland Exp $
bin/elk
bin/scheme-elk
include/elk/compat.h
include/elk/cstring.h
include/elk/exception.h
include/elk/extensions/unix.h
include/elk/extensions/xlib.h
include/elk/extensions/xt.h
include/elk/extern.h
include/elk/funcproto.h
include/elk/gc.h
include/elk/intern.h
include/elk/kernel.h
include/elk/misc.h
include/elk/object.h
include/elk/param.h
include/elk/scheme.h
include/elk/site.h
include/elk/stkmem.h
include/elk/type.h
lib/elk/bitstring.la
lib/elk/debug.la
lib/elk/elk-eval.la
lib/elk/gdbm.la
lib/elk/hack.la
lib/elk/newhandler.la
lib/elk/record.la
lib/elk/regexp.la
lib/elk/struct.la
lib/elk/unix.la
${PLIST.motif}lib/elk/motif.la
${PLIST.xaw}lib/elk/xaw.la
${PLIST.x11}lib/elk/xlib.la
lib/libelk.la
${PLIST.x11}lib/libelk-xlib.la
${PLIST.x11}lib/libelk-xt.la
man/man1/elk.1
man/man1/scheme-elk.1
share/doc/elk/examples/c++/class.cpp
share/doc/elk/examples/c++/constructor.cpp
share/doc/elk/examples/motif/drawing-area.scm
share/doc/elk/examples/motif/list.scm
share/doc/elk/examples/motif/main-window.scm
share/doc/elk/examples/motif/menu-stuff.scm
share/doc/elk/examples/motif/message-dialog.scm
share/doc/elk/examples/motif/option-menu.scm
share/doc/elk/examples/motif/popup-menu.scm
share/doc/elk/examples/motif/pulldown-menu.scm
share/doc/elk/examples/motif/radio-stuff.scm
share/doc/elk/examples/motif/radio.scm
share/doc/elk/examples/motif/scroll-bar.scm
share/doc/elk/examples/motif/selection-box.scm
share/doc/elk/examples/motif/vcr.scm
share/doc/elk/examples/regexp/match.scm
share/doc/elk/examples/scheme/Y.scm
share/doc/elk/examples/scheme/acker.scm
share/doc/elk/examples/scheme/billiard.scm
share/doc/elk/examples/scheme/cc.scm
share/doc/elk/examples/scheme/cell.scm
share/doc/elk/examples/scheme/co.scm
share/doc/elk/examples/scheme/compile.scm
share/doc/elk/examples/scheme/cps.scm
share/doc/elk/examples/scheme/dynamic.scm
share/doc/elk/examples/scheme/fib.scm
share/doc/elk/examples/scheme/fix.scm
share/doc/elk/examples/scheme/flame.scm
share/doc/elk/examples/scheme/hanoi.scm
share/doc/elk/examples/scheme/kons.scm
share/doc/elk/examples/scheme/meissel.scm
share/doc/elk/examples/scheme/mondo.scm
share/doc/elk/examples/scheme/perm.scm
share/doc/elk/examples/scheme/prim.scm
share/doc/elk/examples/scheme/ramanujan.scm
share/doc/elk/examples/scheme/rungekutta.scm
share/doc/elk/examples/scheme/sqrt.scm
share/doc/elk/examples/scheme/unify.scm
share/doc/elk/examples/scheme/work.scm
share/doc/elk/examples/unix/calc.scm
share/doc/elk/examples/unix/copy.scm
share/doc/elk/examples/unix/lock.scm
share/doc/elk/examples/unix/ls.scm
share/doc/elk/examples/unix/pipsiz.scm
share/doc/elk/examples/unix/timeout.scm
share/doc/elk/examples/xaw/accel.scm
share/doc/elk/examples/xaw/clickcount.scm
share/doc/elk/examples/xaw/dialog.scm
share/doc/elk/examples/xaw/grip.scm
share/doc/elk/examples/xaw/list.scm
share/doc/elk/examples/xaw/paned.scm
share/doc/elk/examples/xaw/panner.scm
share/doc/elk/examples/xaw/popup.scm
share/doc/elk/examples/xaw/porthole.scm
share/doc/elk/examples/xaw/pulldown.scm
share/doc/elk/examples/xaw/scrollbar.scm
share/doc/elk/examples/xaw/scrollbox.scm
share/doc/elk/examples/xaw/stripchart.scm
share/doc/elk/examples/xaw/text.scm
share/doc/elk/examples/xaw/tree.scm
share/doc/elk/examples/xaw/viewport.scm
share/doc/elk/examples/xlib/hello.scm
share/doc/elk/examples/xlib/lines.scm
share/doc/elk/examples/xlib/map-all.scm
share/doc/elk/examples/xlib/picture.scm
share/doc/elk/examples/xlib/poly.scm
share/doc/elk/examples/xlib/properties.scm
share/doc/elk/examples/xlib/track.scm
share/doc/elk/examples/xlib/useful.scm
share/doc/elk/examples/xlib/wm-delete.scm
share/doc/elk/ps/bitstring.ps
share/doc/elk/ps/cprog.ps
share/doc/elk/ps/elk.ps
share/doc/elk/ps/kernel.ps
share/doc/elk/ps/oops.ps
share/doc/elk/ps/record.ps
share/doc/elk/ps/regexp.ps
share/doc/elk/ps/unix.ps
share/doc/elk/ps/usenix.ps
share/doc/elk/ps/xlib.ps
share/doc/elk/ps/xt.ps
share/elk/apropos.scm
share/elk/bitstring.scm
share/elk/cscheme.scm
share/elk/debug.scm
share/elk/describe.scm
share/elk/gdbmtest.scm
share/elk/initscheme.scm
share/elk/oops.scm
share/elk/parse.scm
share/elk/pp.scm
share/elk/qsort.scm
share/elk/record.scm
share/elk/recordutil.scm
share/elk/regexp.scm
share/elk/safe-env.scm
share/elk/setf.scm
share/elk/slib.scm
share/elk/struct.scm
share/elk/toplevel.scm
share/elk/trace.scm
share/elk/unix.scm
${PLIST.xaw}share/elk/xaw.scm
${PLIST.x11}share/elk/xlib.scm
${PLIST.x11}share/elk/xwidgets.scm
${PLIST.motif}share/elk/motif.scm

12
lang/elk/buildlink3.mk Normal file
View File

@@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.7 2009/03/20 19:24:48 joerg Exp $
BUILDLINK_TREE+= elk
.if !defined(ELK_BUILDLINK3_MK)
ELK_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.elk+= elk>=3.99.6
BUILDLINK_PKGSRCDIR.elk?= ../../lang/elk
.endif # ELK_BUILDLINK3_MK
BUILDLINK_TREE+= -elk

10
lang/elk/distinfo Normal file
View File

@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.9 2012/01/22 18:11:05 asau Exp $
SHA1 (elk-3.99.8.tar.bz2) = e26ea2a9bd7d5cae816d6537eea5f73ab49ebb20
RMD160 (elk-3.99.8.tar.bz2) = 6ba285ba540e6c711370d6715eb40cce0ec7d1cd
Size (elk-3.99.8.tar.bz2) = 701206 bytes
SHA1 (patch-ab) = 61a16fa30a860fec106e8207afec477f92b173d6
SHA1 (patch-ac) = 41f932913d0e6ddb853d51c1cd93a129eaae9df6
SHA1 (patch-ad) = 0b98ffb107079c163e940e3c1080ed16bb652c28
SHA1 (patch-ae) = 247fb8a9c8a59970db0a495ca9cb511f5bbe8351
SHA1 (patch-af) = aff5c0494b3ac27593d0d0e9e24c786d8dfbe354

31
lang/elk/options.mk Normal file
View File

@@ -0,0 +1,31 @@
# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:02 jlam Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.elk
PKG_SUPPORTED_OPTIONS= xaw motif
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
PLIST_VARS+= x11 xaw motif
###
### x11 support
###
.if !empty(PKG_OPTIONS:Mxaw) || !empty(PKG_OPTIONS:Mmotif)
PLIST.x11= yes
. if !empty(PKG_OPTIONS:Mxaw)
PLIST.xaw= yes
CONFIGURE_ENV+= WITH_XAW="yes"
. include "../../mk/xaw.buildlink3.mk"
. else
CONFIGURE_ENV+= WITH_XAW="no"
. endif
. if !empty(PKG_OPTIONS:Mmotif)
. include "../../mk/motif.buildlink3.mk"
PLIST.motif= yes
. endif
.else
CONFIGURE_ARGS+= --without-x
.endif

16
lang/elk/patches/patch-ab Normal file
View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ab,v 1.6 2012/01/22 18:11:05 asau Exp $
--- configure.orig 2011-06-18 15:08:11.000000000 +0400
+++ configure 2012-01-22 19:22:24.000000000 +0400
@@ -17675,6 +17675,11 @@
else
ac_cv_my_have_xaw="no (cross-compiling)"
fi
+
+if test "${WITH_XAW}" = "no"; then
+ ac_cv_my_have_xaw=no
+fi
+
if test "${ac_cv_my_have_xaw}" = "yes"; then
HAVE_XAW_TRUE=
HAVE_XAW_FALSE='#'

12
lang/elk/patches/patch-ac Normal file
View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ac,v 1.5 2006/01/09 23:00:09 joerg Exp $
--- src/io.c.orig 2006-01-09 22:17:25.000000000 +0000
+++ src/io.c
@@ -48,7 +48,6 @@
extern void Flush_Output (Object);
-extern int errno;
extern char *getenv();
Object Curr_Input_Port, Curr_Output_Port;

12
lang/elk/patches/patch-ad Normal file
View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ad,v 1.4 2006/01/09 23:00:09 joerg Exp $
--- src/libelk.c.orig 2003-12-05 12:38:37.000000000 +0000
+++ src/libelk.c
@@ -172,7 +172,6 @@ void Elk_Init (int ac, char **av, int in
int debug = 0, heap = HEAP_SIZE;
Object file;
struct stat st;
- extern int errno;
#if defined(CAN_DUMP)
# define foo (av[0][0])
#else

13
lang/elk/patches/patch-ae Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.4 2006/01/09 23:00:09 joerg Exp $
--- src/print.c.orig 2006-01-09 22:23:12.000000000 +0000
+++ src/print.c
@@ -49,8 +49,6 @@
extern void Print_Bignum (Object, Object);
-extern int errno;
-
void Flush_Output (Object);
void Print_String (Object, register char *, register unsigned int);
void Pr_Char (Object, register int);

12
lang/elk/patches/patch-af Normal file
View File

@@ -0,0 +1,12 @@
$NetBSD: patch-af,v 1.5 2006/01/09 23:00:09 joerg Exp $
--- lib/unix/unix.h.orig 2006-01-09 22:28:37.000000000 +0000
+++ lib/unix/unix.h
@@ -46,7 +46,6 @@
#include "scheme.h"
-extern int errno;
extern char *index();
extern Object Unix_Errobj, V_Call_Errhandler;