summaryrefslogtreecommitdiffstats
path: root/lang/kawa/Makefile
blob: 8073d1dadd452ace9941ea949d6c96039b25ac90 (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
# New ports collection makefile for:	kawa
# Date created:		23 January 2002
# Whom:			zach@neurosoft.org
#
# $FreeBSD$
#

PORTNAME=		kawa
PORTVERSION=		1.6.98
CATEGORIES=		lang
MASTER_SITES=		${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	kawa

MAINTAINER=		zach@neurosoft.org

BROKEN=			"Does not build"

BUILD_DEPENDS= 	gsed:${PORTSDIR}/textproc/gsed

USE_JAVA=	1.1+
NEED_JAVAC=	YES
USE_JIKES=	NO

MAN1: kawa

CONFIGURE_ARGS=	--enable-kawa-frontend
GNU_CONFIGURE=	yes

pre-patch:
	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi \
		 -e 's|sed |gsed |g;' \
		 -e 's|JAR = jar|JAR = ${JAR}|g;'
	perl -pi -e 's|{JAVAC-javac}|{JAVAC-${JAVAC}}|g;' \
		 -e 's|{JAVA-java}|{JAVA-${JAVA}}|g;' ${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud