5a52a08234
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and java/openjdk6 and java/openjdk6-jre were removed from the ports tree (r512663). Now this patch completely removes remaining stuff from the ports tree. PR: 241953 (exp-run) Reviewed by: glewis Approved by: portmgr (antoine) Differential Revision: https://reviews.freebsd.org/D22342
31 lines
767 B
Makefile
31 lines
767 B
Makefile
# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= camljava
|
|
PORTVERSION= 0.3
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= OCaml-Java library interface
|
|
|
|
USE_OCAML= yes
|
|
USE_JAVA= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,^\(JAVAC=\).*,\1${JAVAC},g" \
|
|
-e "s,^\(JDKHOME=\).*,\1${JAVA_HOME},g" \
|
|
-e "s,include/linux,include/freebsd,g" \
|
|
-e "s,^CFLAGS=.*,#\&,g" \
|
|
-e "s,^\(CC=\).*,#\&,g" \
|
|
-e "s,i386,${ARCH},g" \
|
|
${WRKSRC}/Makefile.config
|
|
@${REINPLACE_CMD} -e 's,(int64,&_t,' ${WRKSRC}/lib/jnistubs.c
|
|
|
|
test:
|
|
@${ECHO_CMD} "Testing IDL library"
|
|
cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${MAKE} all
|
|
|
|
.include <bsd.port.mk>
|