Date: Fri, 1 Feb 2019 06:11:19 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r491793 - head/shells/oksh Message-ID: <201902010611.x116BJkR020872@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Fri Feb 1 06:11:19 2019 New Revision: 491793 URL: https://svnweb.freebsd.org/changeset/ports/491793 Log: shells/oksh: Convert to options helpers Modified: head/shells/oksh/Makefile Modified: head/shells/oksh/Makefile ============================================================================== --- head/shells/oksh/Makefile Fri Feb 1 06:04:27 2019 (r491792) +++ head/shells/oksh/Makefile Fri Feb 1 06:11:19 2019 (r491793) @@ -10,25 +10,17 @@ COMMENT= Portable OpenBSD Korn shell LICENSE= PD +HAS_CONFIGURE= yes + OPTIONS_DEFINE= CURSES STATIC OPTIONS_DEFAULT= CURSES CURSES_DESC= Use ncurses for screen clearing routines -CURSES_USES= ncurses -HAS_CONFIGURE= yes +CURSES_CONFIGURE_ENABLE= curses +CURSES_USES= ncurses -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MSTATIC} -CONFIGURE_ARGS+= --enable-static -.endif - -.if ${PORT_OPTIONS:MCURSES} -CONFIGURE_ARGS+= --enable-curses -.else -CONFIGURE_ARGS+= --disable-curses -.endif +STATIC_CONFIGURE_ENABLE= static do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902010611.x116BJkR020872>