blob: 91bf4fbce0a4f5399e0673d716e5773e1ae9ef9c (
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
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.1.1.1 2004/03/28 20:42:08 jmmv Exp $
#
DISTNAME= sablevm-1.1.1
CATEGORIES= lang
MASTER_SITES= http://devel.sablevm.org/download/1.1.1/
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.sablevm.org/
COMMENT= SableVM free Java virtual machine
DEPENDS+= unzip>=5.50:../../archivers/unzip
DEPENDS+= sablevm-classpath-1.1.1:../../lang/sablevm-classpath
GNU_CONFIGURE= yes
USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --disable-signals-for-exceptions
EVAL_PREFIX+= PREFIX.sablevm-classpath=sablevm-classpath
PREFIX.sablevm-classpath_DEFAULT= ${LOCALBASE}
pre-configure:
cd ${WRKSRC} && ${AUTOHEADER}
cd ${WRKSRC} && ${AUTOCONF}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/sablevm
${LN} -s ${PREFIX.sablevm-classpath}/lib/sablevm-classpath \
${PREFIX}/lib/sablevm/sablevm-classpath
${LN} -s ${PREFIX.sablevm-classpath}/share/sablevm-classpath \
${PREFIX}/share/sablevm/sablevm-classpath
.if !exists(/usr/include/semaphore.h)
LDFLAGS+= -lsemaphore
BUILDLINK_TRANSFORM+= l:rt:semaphore:
.include "../../devel/pthread-sem/buildlink3.mk"
.endif
.include "../../devel/libffi/buildlink3.mk"
.include "../../devel/libtool/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../mk/autoconf.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|