aboutsummaryrefslogtreecommitdiffstats
path: root/lang/kawa/Makefile
blob: ac41ce0a3d476cc3b291378f3772ac2d458b4f63 (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 Garner <zach@neurosoft.org>
#
# $FreeBSD$
#

PORTNAME=   kawa
PORTVERSION=    1.11
CATEGORIES= lang scheme java
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= kawa

MAINTAINER= gahr@FreeBSD.org
COMMENT=    Java-based Scheme implementation

USE_JAVA=   yes
USE_AUTOTOOLS=  libtool
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-kawa-frontend \
        --with-java-source=${JAVA_PORT_VERSION} \
        --with-libtool

MAN1=       kawa.1 qexo.1
INFO=       kawa

PLIST_FILES=    bin/kawa bin/qexo share/java/kawa.jar \
        share/java/kawa-${PORTVERSION}.jar

pre-patch:
    @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \
        -e '/^JAR =/s|[a-zA-Z]*$$|${JAR}|g;'
    @${REINPLACE_CMD} -e 's|{JAVAC-javac}|{JAVAC-${JAVAC}}|g;' \
        -e 's|{JAVA-java}|{JAVA-${JAVA}}|g; 4555d;' ${WRKSRC}/configure

.include <bsd.port.mk>