The STFL API can be used from C, SPL, Python, Perl and Ruby. Since the API is only 14 simple function calls big and there are already generic SWIG bindings it is very easy to port STFL to additional scripting languages. A special language (the Structured Terminal Forms Language) is used to describe STFL GUIs. The language is designed to be easy and fast to write so an application programmer does not need to spend ages fiddling around with the GUI and can concentrate on the more interesting programming tasks. Originally packaged in pkgsrc-wip by Claudio M. Alessi.
44 lines
944 B
Text
44 lines
944 B
Text
$NetBSD: patch-ad,v 1.1 2016/05/24 09:20:07 leot Exp $
|
|
|
|
Disable building modules/binding for other programming languages and avoid to
|
|
check if they are present.
|
|
|
|
--- Makefile.cfg.orig 2009-05-31 18:20:39.000000000 +0000
|
|
+++ Makefile.cfg
|
|
@@ -22,33 +22,11 @@ export libdir ?= lib
|
|
export prefix ?= /usr/local
|
|
export DESTDIR ?= /
|
|
|
|
-ifneq ($(shell spl-config --cflags 2>/dev/null),)
|
|
-FOUND_SPL = 1
|
|
-else
|
|
-FOUND_SPL = 0
|
|
-endif
|
|
+# Modules for other programming languages should get their own packages, no
|
|
+# matter what's installed on the system
|
|
|
|
-ifneq ($(shell swig -help 2>/dev/null),)
|
|
-FOUND_SWIG = 1
|
|
-else
|
|
+FOUND_SPL = 0
|
|
FOUND_SWIG = 0
|
|
-endif
|
|
-
|
|
-ifneq ($(shell perl -le 'print 1' 2>/dev/null),)
|
|
-FOUND_PERL5 = 1
|
|
-else
|
|
FOUND_PERL5 = 0
|
|
-endif
|
|
-
|
|
-ifneq ($(shell python -c 'print 1' 2>/dev/null),)
|
|
-FOUND_PYTHON = 1
|
|
-else
|
|
FOUND_PYTHON = 0
|
|
-endif
|
|
-
|
|
-ifneq ($(shell ruby -e 'puts 1' 2>/dev/null),)
|
|
-FOUND_RUBY = 1
|
|
-else
|
|
FOUND_RUBY = 0
|
|
-endif
|
|
-
|