Date: Wed, 15 Aug 2012 16:39:39 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r302585 - head/www/yaws Message-ID: <201208151639.q7FGdd0k080748@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Wed Aug 15 16:39:39 2012 New Revision: 302585 URL: http://svn.freebsd.org/changeset/ports/302585 Log: Convert to OptionsNG. Modified: head/www/yaws/Makefile head/www/yaws/pkg-plist (contents, props changed) Modified: head/www/yaws/Makefile ============================================================================== --- head/www/yaws/Makefile Wed Aug 15 16:32:47 2012 (r302584) +++ head/www/yaws/Makefile Wed Aug 15 16:39:39 2012 (r302585) @@ -26,7 +26,9 @@ ONLY_FOR_ARCHS= i386 amd64 sparc64 MAN1= yaws.1 MAN5= yaws.conf.5 yaws_api.5 yaws_soap_lib.5 -OPTIONS= SENDFILE "Use native sendfile(2) interface" on +OPTIONS_DEFINE= SENDFILE +SENDFILE_DESC= Use native sendfile(2) interface +OPTIONS_DEFAULT=SENDFILE APPDIR=${PREFIX}/lib/erlang/lib/yaws-${PORTVERSION} @@ -36,11 +38,12 @@ CONFIGURE_ARGS+=--prefix=${PREFIX} --loc .include <bsd.port.pre.mk> -.if defined(WITH_SENDFILE) -PLIST_SUB+= WITH_SENDFILE="" +.if ${PORT_OPTIONS:MSENDFILE} +PLIST_SUB+= SENDFILE="" +CONFIGURE_ARGS+=--enable-sendfile .else CONFIGURE_ARGS+=--disable-sendfile -PLIST_SUB+= WITH_SENDFILE="@comment " +PLIST_SUB+= SENDFILE="@comment " .endif post-extract: Modified: head/www/yaws/pkg-plist ============================================================================== --- head/www/yaws/pkg-plist Wed Aug 15 16:32:47 2012 (r302584) +++ head/www/yaws/pkg-plist Wed Aug 15 16:39:39 2012 (r302585) @@ -128,7 +128,7 @@ bin/yaws %%LIB32DIR%%/erlang/lib/yaws-%%VERSION%%/src/yaws_websockets.erl %%LIB32DIR%%/erlang/lib/yaws-%%VERSION%%/src/yaws_xmlrpc.erl %%LIB32DIR%%/erlang/lib/yaws-%%VERSION%%/src/yaws_zlib.erl -%%WITH_SENDFILE%%%%LIB32DIR%%/erlang/lib/yaws-%%VERSION%%/priv/lib/yaws_sendfile_drv.so +%%SENDFILE%%%%LIB32DIR%%/erlang/lib/yaws-%%VERSION%%/priv/lib/yaws_sendfile_drv.so %%WWWDIR%%/END %%WWWDIR%%/END2 %%WWWDIR%%/HEAD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208151639.q7FGdd0k080748>