aboutsummaryrefslogtreecommitdiff
path: root/lang/snobol4/Makefile
blob: 5439b2c5ae07876a7bd351f236a7c349ef416698 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
PORTNAME=	snobol4
PORTVERSION=	2.3.1
PORTREVISION=	3
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.regressive.org/snobol/

MAINTAINER=	snobol4@regressive.org
COMMENT=	Full SNOBOL4 language with SPITBOL, BLOCKS, and other extensions
WWW=		https://www.regressive.org/snobol4/

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYRIGHT

# will also use libedit, but poundriere tests fail.
USES=		readline ssl

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--mandir=${PREFIX}/share/man

MAKE_JOBS_UNSAFE=yes
ALL_TARGET=	build_all
INSTALL_TARGET=	install_notiming

PLIST_SUB+=	VERSION=${PORTVERSION}

# openssl in base system?

# NOTE! configure detects necessary libraries for extension modules
# and will build them without these options enabled (and there aren't
# (currently) any --without options to disable them)
#
# It's possible to build the extension modules independently of the
# main distribution, so there could be snobol4-ffi, snobol4-sqlite3
# ports, BUT you need to cd to a subdir before running make.
#
# Not including Tcl, would need a RADIO selector for tcl version, and
# configure would need to be run with --with-tcl=/path/to/tclConfig.sh

OPTIONS_DEFINE=		FFI SQLITE3 DOCS
OPTIONS_DEFAULT=	FFI SQLITE3 DOCS

FFI_DESC=		Foreign Function Interface module
SQLITE3_DESC=		SQLite version 3 module

DOCS_CONFIGURE_WITH=	docs

FFI_LIB_DEPENDS=	libffi.so:devel/libffi
SQLITE3_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3

.include <bsd.port.mk>