2012-12-13 18:01:06 +00:00
|
|
|
# Created by: Zach Garner <zach@neurosoft.org>
|
2002-04-13 10:38:36 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2009-08-18 13:42:01 +00:00
|
|
|
PORTNAME= kawa
|
2012-12-13 18:01:06 +00:00
|
|
|
PORTVERSION= 1.13
|
2009-08-18 13:42:01 +00:00
|
|
|
CATEGORIES= lang scheme java
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
2002-04-13 10:38:36 +00:00
|
|
|
MASTER_SITE_SUBDIR= kawa
|
|
|
|
|
2009-08-18 13:42:01 +00:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
|
|
COMMENT= Java-based Scheme implementation
|
2002-04-13 10:38:36 +00:00
|
|
|
|
2012-12-13 18:01:06 +00:00
|
|
|
LICENSE= MIT
|
|
|
|
|
2009-08-18 13:42:01 +00:00
|
|
|
USE_JAVA= yes
|
2012-12-13 18:01:06 +00:00
|
|
|
USE_GMAKE= yes
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= libtool
|
2009-08-18 13:42:01 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-kawa-frontend \
|
|
|
|
--with-java-source=${JAVA_PORT_VERSION} \
|
|
|
|
--with-libtool
|
2002-04-13 10:38:36 +00:00
|
|
|
|
2009-08-18 13:42:01 +00:00
|
|
|
MAN1= kawa.1 qexo.1
|
|
|
|
INFO= kawa
|
2002-04-13 10:38:36 +00:00
|
|
|
|
2009-08-18 13:42:01 +00:00
|
|
|
PLIST_FILES= bin/kawa bin/qexo share/java/kawa.jar \
|
|
|
|
share/java/kawa-${PORTVERSION}.jar
|
2005-11-23 01:01:25 +00:00
|
|
|
|
2002-04-13 10:38:36 +00:00
|
|
|
pre-patch:
|
2010-08-26 10:04:55 +00:00
|
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \
|
|
|
|
-e '/^JAR =/s|[a-zA-Z]*$$|${JAR}|g;'
|
2005-10-11 10:42:05 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|{JAVAC-javac}|{JAVAC-${JAVAC}}|g;' \
|
2012-06-14 09:57:12 +00:00
|
|
|
-e 's|{JAVA-java}|{JAVA-${JAVA}}|g;' ${WRKSRC}/configure
|
2002-04-13 10:38:36 +00:00
|
|
|
|
2012-12-13 18:01:06 +00:00
|
|
|
regression-test: install
|
|
|
|
cd ${WRKSRC} && ${GMAKE} check
|
|
|
|
|
2009-08-18 13:42:01 +00:00
|
|
|
.include <bsd.port.mk>
|