svn commit: r300965 - head/java/icedtea-web

Baptiste Daroussin bapt at FreeBSD.org
Tue Jul 24 08:41:59 UTC 2012



On Mon, Jul 16, 2012 at 06:12:35PM +0000, Jung-uk Kim wrote:
> Author: jkim
> Date: Mon Jul 16 18:12:34 2012
> New Revision: 300965
> URL: http://svn.freebsd.org/changeset/ports/300965
> 
> Log:
>   Use the new options framework.
> 
> Modified:
>   head/java/icedtea-web/Makefile
> 
> Modified: head/java/icedtea-web/Makefile
> ==============================================================================
> --- head/java/icedtea-web/Makefile	Mon Jul 16 18:06:14 2012	(r300964)
> +++ head/java/icedtea-web/Makefile	Mon Jul 16 18:12:34 2012	(r300965)
> @@ -24,10 +24,6 @@ JAVA_VENDOR=	openjdk
>  JAVA_VERSION=	1.6
>  USE_XORG=	x11
>  
> -OPTIONS=	PLUGIN "Enable the browser plug-in" on \
> -		RHINO "Add support for Proxy Auto Config files" off \
> -		TEST "Add support for running regression test" off
> -
>  MAN1=		itweb-javaws.1
>  PLIST_FILES=	bin/itweb-javaws bin/itweb-settings \
>  		share/applications/itweb-javaws.desktop \
> @@ -42,13 +38,21 @@ RUN_DEPENDS+=	${LOCALBASE}/bin/bash:${PO
>  
>  CONFIGURE_ARGS+=--with-ecj=no --with-jdk-home="${JAVA_HOME}"
>  
> +.include <bsd.port.options.mk>
> +
> +OPTIONS_DEFINE=	PLUGIN RHINO TEST
> +OPTIONS_DEFAULT=PLUGIN
> +PLUGIN_DESC=	Enable the browser plug-in
> +RHINO_DESC=	Add support for Proxy Auto Config files
> +TEST_DESC=	Add support for running regression test
> +
>  .include <bsd.port.pre.mk>

The options should be defined prior to including bsd.port.options.mk
while here, NOPORTDOCS can also be converted into a DOCS options if you want.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20120724/7a5e8580/attachment.sig>


More information about the svn-ports-all mailing list