aboutsummaryrefslogtreecommitdiffstats
path: root/games/ctris/Makefile
blob: ea440370da0cc5691d429e458d761d92620453ba (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
29
30
31
# New ports collection makefile for:    ctetris
# Date created:         14 Aug 2004
# Whom:             Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD$
#

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

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

USE_BZIP2=  yes

MAN6=       ctris.6
MANCOMPRESSED=  yes
PLIST_FILES=    bin/ctris

post-patch:
    @${REINPLACE_CMD} -e "s|gcc|${CC}|" -e "s|CFLAGS=.*|CFLAGS+=-Wall|" \
         ${WRKSRC}/Makefile

do-install:
    ${INSTALL_MAN} ${WRKSRC}/ctris.6.gz ${PREFIX}/man/man6/ctris.6.gz
    ${INSTALL_PROGRAM} ${WRKSRC}/ctris ${PREFIX}/bin/ctris

.include <bsd.port.mk>