svn commit: r353203 - head/games/chroma
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed May 7 20:27:30 UTC 2014
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>
More information about the svn-ports-head
mailing list