blob: aa9dbf9246a33de49d0a805dbe014585b2f308be (
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
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.11 2016/04/01 16:22:15 jperkin Exp $
#
DISTNAME= newlisp-10.6.0
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=newlisp/}
EXTRACT_SUFX= .tgz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://www.newlisp.org/
COMMENT= Lisp-like, general-purpose scripting language
LICENSE= gnu-gpl-v3
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure-alt
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --enable-readline
USE_GNU_READLINE= yes
USE_JAVA= run
USE_JAVA2= yes
SUBST_CLASSES+= java
SUBST_FILES.java= guiserver/guiserver.lsp
SUBST_STAGE.java= pre-configure
SUBST_SED.java= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
SUBST_CLASSES+= interpreter
SUBST_STAGE.interpreter= pre-configure
SUBST_MESSAGE.interpreter= Fix shebang
SUBST_FILES.interpreter= guiserver/*lsp util/syntax.cgi util/newlispdoc
SUBST_SED.interpreter= -e 's,/usr/bin/newlisp,${PREFIX}/bin/newlisp,'
SUBST_SED.interpreter+= -e 's,/usr/bin/env newlisp,${PREFIX}/bin/newlisp,'
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|