blob: a6dd921077fd4dcbc3eaa667a1af33b02eba1c73 (
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
|
# $NetBSD: Makefile,v 1.15 2006/03/02 18:47:22 joerg Exp $
#
DISTNAME= sablevm-1.1.3
PKGREVISION= 8
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sablevm/} \
http://devel.sablevm.org/download/1.1.3/
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.3nb4:../../lang/sablevm-classpath
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${JAVA_HOME}
GNU_CONFIGURE_MANDIR= ${PREFIX}/${PKGMANDIR}
NO_MTREE= yes
USE_TOOLS+= gmake gm4
USE_LIBTOOL= yes
JAVA_NAME= sablevm
JAVA_HOME= ${PREFIX}/java/sablevm
JAVA_WRAPPERS= java
JAVA_WRAPPER_BIN.java= ${JAVA_HOME}/bin/sablevm
PRINT_PLIST_AWK+= /^@dirrm java\/sablevm$$/ \
{ print "@comment in sablevm-classpath: " $$0; \
next; }
BUILDLINK_PASSTHRU_RPATHDIRS+= ${JAVA_HOME}/lib
.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/libltdl/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../mk/java-env.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|