summaryrefslogtreecommitdiff
path: root/java/icedtea-web/Makefile
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-03-06 00:38:48 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-03-06 00:38:48 +0000
commit4021f1476f566246e90b5620c99aee525b7b13ab (patch)
tree8620d2a461a7d298e0e3165a43ef5054bb0b431e /java/icedtea-web/Makefile
parent4f2f4994494f560d75490a8a2984bee5481d34fa (diff)
Notes
Diffstat (limited to 'java/icedtea-web/Makefile')
-rw-r--r--java/icedtea-web/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/icedtea-web/Makefile b/java/icedtea-web/Makefile
index dba5f76d357e..a6b260159566 100644
--- a/java/icedtea-web/Makefile
+++ b/java/icedtea-web/Makefile
@@ -7,6 +7,7 @@
PORTNAME= icedtea-web
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= java www
MASTER_SITES= http://icedtea.classpath.org/download/source/
@@ -37,6 +38,7 @@ PORTDOCS= netx
BUILD_DEPENDS+= ${LOCALBASE}/bin/zip:${PORTSDIR}/archivers/zip \
${LOCALBASE}/bin/pkg-config:${PORTSDIR}/devel/pkg-config
+RUN_DEPENDS+= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
CONFIGURE_ARGS+=--with-ecj=no --with-jdk-home="${JAVA_HOME}"
@@ -79,6 +81,10 @@ BUILD_DEPENDS+= ${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit
CONFIGURE_ARGS+=--with-junit=no
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+ ${WRKSRC}/launcher/javaws.in
+
pre-extract:
@${ECHO_MSG}
@${ECHO_MSG} "IMPORTANT: To build IcedTea-Web ${PORTVERSION}, you have to turn on 'ICEDTEA' option"