summaryrefslogtreecommitdiff
path: root/games/ctris/Makefile
blob: 643f4fce06260935fa9f84dd1e459cc3ba75a65d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Travis Poppe <tlp@liquidx.org>
# $FreeBSD$

PORTNAME=	ctris
PORTVERSION=	0.42
CATEGORIES=	games
MASTER_SITES=	http://www.hackl.dhs.org/data/download/files/ \
		CRITICAL

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Colorized, small, and flexible Tetris(TM)-clone for the console

LICENSE=	GPLv2

USE_BZIP2=	yes

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 <bsd.port.mk>