ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/java/jamvm/Makefile
Revision: 24384
Committed: Tue Sep 25 20:27:46 2018 UTC (5 years, 7 months ago) by laffer1
File size: 1281 byte(s)
Log Message:
add configure target

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= jamvm
4 PORTVERSION= 1.5.4
5 PORTREVISION= 3
6 CATEGORIES= java devel
7 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/JamVM%20${PORTVERSION}
8
9 MAINTAINER= ports@MidnightBSD.org
10 COMMENT= Compact Java virtual machine
11
12 LICENSE= gpl2
13
14 RUN_DEPENDS= ${LOCALBASE}/share/classpath/glibj.zip:java/classpath
15
16 CONFIGURE_ARGS= --with-classpath-install-dir=${LOCALBASE}
17 CONFIGURE_TARGET= ${ARCH}-portbld-freebsd9.1
18 GNU_CONFIGURE= yes
19 OPTIONS_SUB= yes
20 USES= compiler gmake libtool pkgconfig
21
22 # temporary clang 3.3 in base 0.8/0.9 crashes
23 USE_GCC= any
24
25 OPTIONS_DEFINE= FFI ZIP
26 OPTIONS_DEFAULT=FFI ZIP
27 FFI_DESC= use libffi to call native methods
28 ZIP_DESC= turn-on zip support in the bootstrap loader
29
30 FFI_CONFIGURE_ENABLE= ffi
31 FFI_LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi
32 ZIP_BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
33 ZIP_CONFIGURE_ENABLE= zip
34
35 .include <bsd.mport.options.mk>
36
37 .include <bsd.port.pre.mk>
38
39 .if ${COMPILER_TYPE} == clang
40 CONFIGURE_ARGS+= --disable-int-inlining
41 .endif
42
43 post-extract:
44 @${REINPLACE_CMD} -e "s,\(^include_HEADERS = .*\)jni.h\(.*\),\1\2," ${WRKSRC}/src/Makefile.in
45
46 post-install:
47 cd ${PREFIX} && ln -fs share/classpath/glibj.zip lib/rt.jar
48 ${CP} -p ${WRKSRC}/lib/inst_classes.zip ${PREFIX}/share/jamvm/classes.zip
49
50 .include <bsd.port.post.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H