diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2011-08-31 20:09:13 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2011-08-31 20:09:13 +0000 |
commit | 25a0ad461ccfbd066cc44499c5a8b4fb66e037a0 (patch) | |
tree | bf408212d817046d7393a16fd76e84a14ef33327 /java/icedtea-web/Makefile | |
parent | a3fbc67ae4e99cf481e384696c3644e495d8e05e (diff) | |
download | ports-25a0ad461ccfbd066cc44499c5a8b4fb66e037a0.tar.gz ports-25a0ad461ccfbd066cc44499c5a8b4fb66e037a0.zip |
Notes
Diffstat (limited to 'java/icedtea-web/Makefile')
-rw-r--r-- | java/icedtea-web/Makefile | 15 |
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) |