Date: Wed, 7 May 2014 20:27:29 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353203 - head/games/chroma Message-ID: <201405072027.s47KRTES069389@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed May 7 20:27:29 2014 New Revision: 353203 URL: http://svnweb.freebsd.org/changeset/ports/353203 QAT: https://qat.redports.org/buildarchive/r353203/ Log: - Use new OPTIONS features Modified: head/games/chroma/Makefile Modified: head/games/chroma/Makefile ============================================================================== --- head/games/chroma/Makefile Wed May 7 20:16:17 2014 (r353202) +++ head/games/chroma/Makefile Wed May 7 20:27:29 2014 (r353203) @@ -18,38 +18,28 @@ CONFIGURE_ENV= LIBS="-lintl" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -PORTDOCS= README +PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS OPTIONS_MULTI= INTERFACES -OPTIONS_MULTI_INTERFACES= SDL CURSES +OPTIONS_MULTI_INTERFACES=SDL CURSES OPTIONS_DEFAULT=SDL CURSES SDL_DESC= Enable SDL interface CURSES_DESC= Enable curses interface -OPTIONS_SUB= yes -CURSES_USES= ncurses +OPTIONS_SUB= yes +CURSES_USES= ncurses CURSES_CONFIGURE_ENABLE=curses +CURSES_PLIST_FILES= bin/${PORTNAME}-curses SDL_CONFIGURE_ENABLE= sdl SDL_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 +SDL_USE= SDL=sdl,image +SDL_PLIST_FILES= bin/${PORTNAME} -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MSDL} -USE_SDL+= sdl image -PLIST_FILES+= bin/${PORTNAME} -.endif - -.if ${PORT_OPTIONS:MCURSES} -PLIST_FILES+= bin/${PORTNAME}-curses -.endif - -.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ -.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405072027.s47KRTES069389>