freebsd-ports/games/chroma/Makefile

48 lines
1.1 KiB
Makefile
Raw Normal View History

PORTNAME= chroma
2021-11-01 15:38:54 +01:00
PORTVERSION= 1.20
CATEGORIES= games
MASTER_SITES= http://www.level7.org.uk/chroma/download/ \
2021-01-13 23:06:46 +01:00
https://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Abstract puzzle game
WWW= http://www.level7.org.uk/chroma/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gettext localbase tar:bzip2
GNU_CONFIGURE= yes
CONFLICTS_INSTALL= chroma-syntax-highlighter
2014-05-07 22:27:29 +02:00
PORTDOCS= *
2013-09-28 02:38:48 +02:00
PORTDATA= *
2013-09-28 02:38:48 +02:00
OPTIONS_DEFINE= DOCS
OPTIONS_MULTI= INTERFACES
2014-05-07 22:27:29 +02:00
OPTIONS_MULTI_INTERFACES=SDL CURSES
2013-02-04 01:00:08 +01:00
OPTIONS_DEFAULT=SDL CURSES
2013-09-28 02:38:48 +02:00
2013-02-04 01:00:08 +01:00
SDL_DESC= Enable SDL interface
CURSES_DESC= Enable curses interface
2014-05-07 22:27:29 +02:00
OPTIONS_SUB= yes
CURSES_USES= ncurses
2013-09-28 02:38:48 +02:00
CURSES_CONFIGURE_ENABLE=curses
2014-05-07 22:27:29 +02:00
CURSES_PLIST_FILES= bin/${PORTNAME}-curses
2013-09-28 02:38:48 +02:00
SDL_CONFIGURE_ENABLE= sdl
SDL_LIB_DEPENDS= libfreetype.so:print/freetype2
SDL_USES= pkgconfig sdl
2014-05-07 22:27:29 +02:00
SDL_USE= SDL=sdl,image
SDL_PLIST_FILES= bin/${PORTNAME}
2013-09-28 02:38:48 +02:00
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}*
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
2013-09-28 02:38:48 +02:00
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>