aboutsummaryrefslogtreecommitdiffstats
path: root/accessibility/java-access-bridge/Makefile
blob: b9f077bc10cf6a146ce3994772f4abf0bbefdf0a (plain) (blame)
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
# New ports collection makefile for:    java-access-bridge
# Date created:     2006-11-04
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $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=   1
CATEGORIES= accessibility java gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

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

BUILD_DEPENDS=  xprop:${X_CLIENTS_PORT}
RUN_DEPENDS=    xprop:${X_CLIENTS_PORT}

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}

PLIST_FILES=    share/jar/JNav.jar \
        share/jar/accessibility.properties \
        share/java/classes/gnome-java-bridge.jar


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

.include <bsd.port.mk>