aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-11-13 02:22:05 +0800
committerjkim <jkim@FreeBSD.org>2013-11-13 02:22:05 +0800
commitf4e010b373bf4d5aecc750a582fb9142df793142 (patch)
treecf4d06e3fffa005857b777827671209cff3ad200 /java
parent56e9b42efc3a04a79bec40bfc032b90032da718c (diff)
downloadfreebsd-ports-gnome-f4e010b373bf4d5aecc750a582fb9142df793142.tar.gz
freebsd-ports-gnome-f4e010b373bf4d5aecc750a582fb9142df793142.tar.zst
freebsd-ports-gnome-f4e010b373bf4d5aecc750a582fb9142df793142.zip
- Support staging.
- Convert to use USES=webplugin:native. - Remove an article from comment.
Diffstat (limited to 'java')
-rw-r--r--java/icedtea-web/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/java/icedtea-web/Makefile b/java/icedtea-web/Makefile
index 23f3e1b15953..3b9b255fcbd5 100644
--- a/java/icedtea-web/Makefile
+++ b/java/icedtea-web/Makefile
@@ -2,13 +2,13 @@
PORTNAME= icedtea-web
PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= java www
MASTER_SITES= http://icedtea.wildebeest.org/download/source/ \
http://icedtea.classpath.org/download/source/
MAINTAINER= java@FreeBSD.org
-COMMENT= A free Java plug-in and Java Web Start for OpenJDK
+COMMENT= Free Java plug-in and Java Web Start for OpenJDK
LICENSE= GPLv2
@@ -23,7 +23,7 @@ JAVA_VENDOR= openjdk
JAVA_VERSION= 1.6+
USE_PERL5= build
USE_XORG= x11
-USES= gmake pkgconfig shebangfix perl5
+USES= gmake perl5 pkgconfig shebangfix
SHEBANG_FILES= javac.in jrunscript.in
WANT_GNOME= yes
@@ -32,8 +32,8 @@ EXTRACT_CMD= ${GZIP_CMD}
EXTRACT_BEFORE_ARGS= -dc
EXTRACT_AFTER_ARGS= | ${SETENV} LC_ALL=en_US.UTF-8 ${TAR} -xf -
-MAN1= itweb-javaws.1
PLIST_FILES= bin/itweb-javaws bin/itweb-settings \
+ man/man1/itweb-javaws.1.gz \
share/applications/itweb-javaws.desktop \
share/applications/itweb-settings.desktop \
share/pixmaps/itweb-javaws.png
@@ -50,7 +50,6 @@ PLUGIN_DESC= Enable the browser plug-in
RHINO_DESC= Add support for Proxy Auto Config files
TEST_DESC= Add support for running regression test
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MDOCS)
@@ -60,15 +59,13 @@ CONFIGURE_ARGS+=--disable-docs
.if ${PORT_OPTIONS:MPLUGIN}
USE_GECKO= libxul
USE_GNOME= glib20
-USE_WEBPLUGINS= native
-WEBPLUGINS_DIR= ${PREFIX}/lib
-WEBPLUGINS_FILES=IcedTeaPlugin.so
+USES+= webplugin:native
+WEBPLUGIN_DIR= ${PREFIX}/lib
+WEBPLUGIN_FILES=IcedTeaPlugin.so
PLIST_FILES+= lib/IcedTeaPlugin.so
PORTDATA+= plugin.jar
PORTDOCS+= plugin
-
-.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
.else
CONFIGURE_ARGS+=--disable-plugin
.endif
@@ -117,10 +114,10 @@ post-build:
.endif
post-install:
- ${MKDIR} ${DESKTOPDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.desktop ${DESKTOPDIR}
+ ${MKDIR} ${STAGEDIR}${DESKTOPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.desktop ${STAGEDIR}${DESKTOPDIR}
${INSTALL_DATA} ${WRKSRC}/javaws.png \
- ${PREFIX}/share/pixmaps/itweb-javaws.png
+ ${STAGEDIR}${PREFIX}/share/pixmaps/itweb-javaws.png
.if ${PORT_OPTIONS:MTEST}
test: build