From owner-svn-ports-head@FreeBSD.ORG Sat Sep 28 00:38:48 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BCE38D72; Sat, 28 Sep 2013 00:38:48 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A9B1A24D9; Sat, 28 Sep 2013 00:38:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8S0cmua067989; Sat, 28 Sep 2013 00:38:48 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8S0cmr3067988; Sat, 28 Sep 2013 00:38:48 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201309280038.r8S0cmr3067988@svn.freebsd.org> From: Dmitry Marakasov Date: Sat, 28 Sep 2013 00:38:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328537 - head/games/chroma X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Sep 2013 00:38:48 -0000 Author: amdmi3 Date: Sat Sep 28 00:38:48 2013 New Revision: 328537 URL: http://svnweb.freebsd.org/changeset/ports/328537 Log: - Support staging - Rework OPTIONS Deleted: head/games/chroma/pkg-plist Modified: head/games/chroma/Makefile Modified: head/games/chroma/Makefile ============================================================================== --- head/games/chroma/Makefile Sat Sep 28 00:30:36 2013 (r328536) +++ head/games/chroma/Makefile Sat Sep 28 00:38:48 2013 (r328537) @@ -19,35 +19,37 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= README +PORTDATA= * -OPTIONS_DEFINE= SDL CURSES DOCS +OPTIONS_DEFINE= DOCS +OPTIONS_MULTI= INTERFACES +OPTIONS_MULTI_INTERFACES= SDL CURSES OPTIONS_DEFAULT=SDL CURSES + SDL_DESC= Enable SDL interface CURSES_DESC= Enable curses interface -NO_STAGE= yes +OPTIONS_SUB= yes +CURSES_USES= ncurses +CURSES_CONFIGURE_ENABLE=curses +SDL_CONFIGURE_ENABLE= sdl +SDL_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 + .include -.if ${PORT_OPTIONS:MCURSES} -PLIST_SUB+= CURSES="" -.else -CONFIGURE_ARGS+=--disable-curses -PLIST_SUB+= CURSES="@comment " +.if ${PORT_OPTIONS:MSDL} +USE_SDL+= sdl image +PLIST_FILES+= bin/${PORTNAME} .endif -.if ${PORT_OPTIONS:MSDL} -USE_SDL= sdl image -LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2 -PLIST_SUB+= SDL="" -.else -CONFIGURE_ARGS+=--disable-sdl -PLIST_SUB+= SDL="@comment " +.if ${PORT_OPTIONS:MCURSES} +PLIST_FILES+= bin/${PORTNAME}-curses .endif .if ${PORT_OPTIONS:MDOCS} post-install: - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .endif .include