blob: efaed618f183b7def6c92b1d7a276183b9f94613 (
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
|
# $NetBSD: Makefile,v 1.10 2016/12/19 15:48:33 asau Exp $
DISTNAME= abcl-src-1.4.0
PKGNAME= $(DISTNAME:C/-src//)
CATEGORIES= lang
MASTER_SITES= http://abcl.org/releases/$(PKGVERSION_NOREV)/
MAINTAINER= asau@NetBSD.org
HOMEPAGE= http://abcl.org/
COMMENT= Armed Bear Common Lisp
BUILD_DEPENDS= apache-ant>=1.7.1:../../devel/apache-ant
INSTALLATION_DIRS= bin lib/abcl
do-build:
$(RUN)$(_ULIMIT_CMD) cd $(WRKSRC) && \
$(PKGSRC_SETENV) $(MAKE_ENV) \
ant -nouserlib -Dabcl.runtime.jar.path=$(PREFIX)/lib/abcl/abcl.jar
do-install:
$(INSTALL_SCRIPT) $(WRKSRC)/abcl $(DESTDIR)$(PREFIX)/bin
$(INSTALL_DATA) $(WRKSRC)/dist/abcl.jar $(DESTDIR)$(PREFIX)/lib/abcl
$(INSTALL_DATA) $(WRKSRC)/dist/abcl-contrib.jar $(DESTDIR)$(PREFIX)/lib/abcl
# TODO: requires network connectivity to fetch dependencies (e.g. JUnit)
do-test:
$(RUN)$(_ULIMIT_CMD) cd $(WRKSRC) && \
$(PKGSRC_SETENV) $(MAKE_ENV) \
ant -nouserlib -Dabcl.runtime.jar.path=$(PREFIX)/lib/abcl/abcl.jar abcl.test
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
|