spotoconf(1) 0.9 spotoconf "Spotoconf"

Name

spotoconf - Configuration and build system

Table Of Contents

Description

Spot o' Conf is a TEA-inspired configure and build system that caters to Tcl and Jim extensions.

SETUP

Copy all required files to the source dir of the package and create a spoto.conf file for the package. The spoto.conf file will be executed by configure and should set any variables required by the package.

Building needs at minimum: configure, Makefile.in and a spoto.conf file for the package. Installing needs at minimum: tclconfig/install-sh, LICENSE, README, README.licenses.

Modify as needed; Spotoconf files are not auto-generated.

Files

configure

Spotoconf's configure script.

Makefile.in

Spotoconf's Makefile.in.

tclconfig/install-sh
LICENSE
spoto.conf

Package's spoto.conf

README
Makefile.pkgs.in

Input Makefile for building a package that contains packages.

README.licenses
doc
Makefile.portobsd.in
tests/all.tcl

Test runner for use with tcltest.

tests2k/all.tcl

Test runner for use with tcltest2k.

VARIABLES

These are the variables that are substituted into output files.

FOR_WHAT

Tcl or Jim. Default is Tcl.

TITLE

Title of the package. Mixed case aceeptable.

NAME

Name of the package. Should be lower case.

VERSION

Version of the package.

NAMESPACE

Namespace the package lives in.

PKG_NAME
DIST_NAME
DESCR

One line description of the package.

CATEGORIES

List of OpenBSD port categories of the package.

HOMEPAGE

The home page of the package.

LICENSE

The license of the package.

LIB
DOC
EXA
DAT_DIR
DAT_FILES
SHLIB
SCLIB
SCLIBSRC
DOCSRC
DOCBLD
DOCFMT
SCBIN
SCBINSRC
PKGINDEX
CFG_PKGINDEX
LOAD_LIB

How to load libraries. Either load or source.

INIT

Name of init function for .so libs.

LIBDIR
INSTALL_LIB
INSTALL_DOC
INSTALL_EXA
INSTALL_DAT
INSTALL_BIN
INSTALL_EXTRA
PKG_INSTALL_DIR
DOC_INSTALL_DIR
CC
CFLAGS_CC
CFLAGS_WARN
CFLAGS_OPT
CFLAGS_DEBUG
CFLAGS_SH
CFLAGS_TH
DEFS_TH
DEFS_OPT
DEFS_SPOT
DEFS_TCL
DEFS_JIM
DEFS
LDFLAGS
LDFLAGS_SH
LIBS_TH
EXT_CONF_FILES
EXT_BUILD
EXT_DEFS
EXT_INC_SPEC
EXT_LIB_SPEC
EXT_DEP_FILES
TCL_INC_SPEC
TCL_LIB_SPEC
TCL_STUB_LIB_SPEC
JIM_INC_SPEC
JIM_LIB_SPEC
CC_INC_SPEC
LD_LIB_SPEC
LD_LIBRARY_PATH_VAR
TCLLIBPATH
TCL8_5_TM_PATH
TCL8_6_TM_PATH
JIMLIB
TCLSH_PROG
JIMSH_PROG
BJE
SH
SHELL
CLEAN
DISTCLEAN
DIST
TEST
TESTENV
TESTFWK
VPATH
BUILD_SCLIB
BUILD_SCBIN
BUILD_DOC
PKGS
PKGS_DIR
cwd
asrcdir
srcdir
appdir
prefix
pkgdir
moddir
mandir
docdir
exadir
datdir
bindir
SPOTO_ARGS

TARGETS

GETTING FANCY

Spotoconf can also determine a package's NAME, TITLE, VERSION, and one of LIB, BIN, or DAT from a fancy TITLE, LIB, BIN or DAT. The formula is name-version.extension. Ex. LIB=MyLib-1.2.tm will yield NAME=mylib TITLE=MyLib VERSION=1.2 LIB=mylib-1.2.tm SCLIB=mylib-1.2.tm SCLIBSRC=mylib.tcl

Keywords

build, configure, distribute, install, test

Category

Programming tools