# Created by: Travis Poppe # $FreeBSD: head/games/ctris/Makefile 408093 2016-02-04 21:09:20Z marino $ PORTNAME= ctris PORTVERSION= 0.42 CATEGORIES= games MASTER_SITES= http://www.hackl.dhs.org/data/download/files/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Colorized, small, and flexible Tetris(TM)-clone for the console LICENSE= GPLv2 USES= ncurses tar:bzip2 MAKE_ARGS= LIBS="${LDFLAGS} -lncurses -lm" PLIST_FILES= bin/ctris man/man6/ctris.6.gz post-patch: @${REINPLACE_CMD} -e "s|gcc|${CC}|" -e "s|CFLAGS=.*|CFLAGS+=-Wall|" \ ${WRKSRC}/Makefile do-install: ${INSTALL_MAN} ${WRKSRC}/ctris.6.gz \ ${STAGEDIR}${PREFIX}/man/man6/ctris.6.gz ${INSTALL_PROGRAM} ${WRKSRC}/ctris ${STAGEDIR}${PREFIX}/bin/ctris .include