39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $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"
|