blob: be3ff3366b7294e970a1a1ff2f787be80fe0da2d (
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
|
# New ports collection makefile for: kawa
# Date created: 23 January 2002
# Whom: zach@neurosoft.org
#
# $FreeBSD$
#
PORTNAME= kawa
PORTVERSION= 1.6.98
PORTREVISION= 1
CATEGORIES= lang scheme
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= kawa
MAINTAINER= zach@neurosoft.org
COMMENT= Java-based Scheme implementation
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
USE_JAVA= 1.2+
USE_PERL5_BUILD=YES
NEED_JAVAC= YES
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>
|