1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/lang/kawa/Makefile
Baptiste Daroussin a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00

45 lines
1.0 KiB
Makefile

# Created by: Zach Garner <zach@neurosoft.org>
# $FreeBSD$
PORTNAME= kawa
PORTVERSION= 1.14
PORTREVISION= 1
CATEGORIES= lang scheme java
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= kawa
MAINTAINER= gahr@FreeBSD.org
COMMENT= Java-based Scheme implementation
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
USES= gmake
USE_JAVA= yes
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-kawa-frontend \
--with-java-source=${JAVA_PORT_VERSION} \
--with-libtool
CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo
MAKE_JOBS_UNSAFE=yes
INFO= kawa
PLIST_FILES= bin/kawa bin/qexo share/java/kawa.jar \
share/java/kawa-${PORTVERSION}.jar \
man/man1/kawa.1.gz man/man1/qexo.1.gz \
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;' ${WRKSRC}/configure
regression-test: build
cd ${WRKSRC} && ${MAKE_CMD} check
.include <bsd.port.mk>