# New ports collection makefile for:	java-access-bridge
# Date created:		2006-11-04
# Whom:			Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD: ports/accessibility/java-access-bridge/Makefile,v 1.10 2010/02/05 11:33:46 dinoex Exp $
#    $MCom: ports/accessibility/java-access-bridge/Makefile,v 1.2 2007/03/06 14:03:02 ahze Exp $

PORTNAME=	java-access-bridge
PORTVERSION=	1.18.0
PORTREVISION=	5
CATEGORIES=	accessibility java gnome
MASTER_SITES=	GNOME
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Gnome Java Accessibility Bridge

BUILD_DEPENDS=	xprop:${PORTSDIR}/x11/xprop
RUN_DEPENDS=	xprop:${PORTSDIR}/x11/xprop

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	atspi gnomehack
USE_JAVA=	1.4+
JAVA_OS=	native
USE_GMAKE=	yes
CONFIGURE_ARGS=	--without-gcj-compile --with-jardir=${JAVAJARDIR}
MAKE_JOBS_UNSAFE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|$${prefix}/share/jar|${JAVAJARDIR}|' \
		${WRKSRC}/Makefile.in \
		${WRKSRC}/bridge/Makefile.in

.include <bsd.port.mk>
