Date: Sat, 28 Sep 2013 00:38:48 +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: r328537 - head/games/chroma Message-ID: <201309280038.r8S0cmr3067988@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> -.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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309280038.r8S0cmr3067988>