mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
8551a2f823
Changes: http://www.gnu.org/software/kawa/news.html - Add LICENSE (MIT) - Add regression-test target
39 lines
877 B
Makefile
39 lines
877 B
Makefile
# Created by: Zach Garner <zach@neurosoft.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kawa
|
|
PORTVERSION= 1.13
|
|
CATEGORIES= lang scheme java
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= kawa
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Java-based Scheme implementation
|
|
|
|
LICENSE= MIT
|
|
|
|
USE_JAVA= yes
|
|
USE_GMAKE= 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;' ${WRKSRC}/configure
|
|
|
|
regression-test: install
|
|
cd ${WRKSRC} && ${GMAKE} check
|
|
|
|
.include <bsd.port.mk>
|