aboutsummaryrefslogtreecommitdiffstats
path: root/java/icedtea-web
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-09-01 04:09:13 +0800
committerjkim <jkim@FreeBSD.org>2011-09-01 04:09:13 +0800
commita2b5a1553dce661f95a20e72fdecaf2bd82816ee (patch)
treecb51aa52071d24b4f8816dc4002da4bfaf4c682a /java/icedtea-web
parent6163cae3ba965fd2f06f4e586912a6605203a3cf (diff)
downloadfreebsd-ports-gnome-a2b5a1553dce661f95a20e72fdecaf2bd82816ee.tar.gz
freebsd-ports-gnome-a2b5a1553dce661f95a20e72fdecaf2bd82816ee.tar.zst
freebsd-ports-gnome-a2b5a1553dce661f95a20e72fdecaf2bd82816ee.zip
Make portlint happy.
Diffstat (limited to 'java/icedtea-web')
-rw-r--r--java/icedtea-web/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/java/icedtea-web/Makefile b/java/icedtea-web/Makefile
index a083db400306..643a280937f7 100644
--- a/java/icedtea-web/Makefile
+++ b/java/icedtea-web/Makefile
@@ -12,6 +12,7 @@ MASTER_SITES= http://icedtea.classpath.org/download/source/
MAINTAINER= java@FreeBSD.org
COMMENT= A free Java plug-in and Java Web Start for OpenJDK
+
LICENSE= GPLv2
GNU_CONFIGURE= yes
@@ -85,6 +86,13 @@ pre-extract:
@${ECHO_MSG}
@sleep 10
+.if defined(WITH_TEST)
+post-build:
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Run \"make test\" to execute regression test."
+ @${ECHO_MSG}
+.endif
+
post-install:
${MKDIR} ${DESKTOPDIR}
${REINPLACE_CMD} -e 's|^Icon=javaws|Icon=itweb-javaws|' \
@@ -94,12 +102,9 @@ post-install:
${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/javaws.png \
${PREFIX}/share/pixmaps/itweb-javaws.png
-.if defined(WITH_TEST)
- @${ECHO_MSG}
- @${ECHO_MSG} "Run \"make test\" to execute regression test."
- @${ECHO_MSG}
-test: install
+.if defined(WITH_TEST)
+test: build
@(cd ${WRKSRC}; ${GMAKE} check)
.if defined(WITH_PLUGIN)
@(cd ${WRKSRC}; ${GMAKE} plugin-tests)