summaryrefslogtreecommitdiff
path: root/lang/clisp/module.mk
blob: 8ef52ca765603198ae7f7764f623f569cf16d588 (plain)
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
# $NetBSD: module.mk,v 1.12 2019/11/02 10:20:42 rillig Exp $
#
# Package-settable variables:
#
# CLISP_MODULE
#	name of module and subdirectory in "modules"

CLISP_VERSION=		2.49
DISTNAME=		clisp-${CLISP_VERSION}

CONFIGURE_DIRS=		modules/${CLISP_MODULE}
GNU_CONFIGURE=		YES
BUILD_TARGET=		clisp-module	# converting to "all"

CONFIGURE_ENV+=		ac_install_sh="install -c"
CONFIGURE_ENV+=		ac_aux_dir=${PREFIX}/lib/clisp/build-aux/
#TEST_TARGET=		check mod-check

INSTALLATION_DIRS=	lib/clisp

.if !target(do-install)
do-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/clisp/dynmod
	cd ${WRKSRC}/modules;	\
	${SETENV} ${MAKE_ENV} ${INSTALL_ENV} sh ${PREFIX}/bin/clisp-link install ${CLISP_MODULE}
.endif

.include "../../lang/clisp/buildlink3.mk"