aboutsummaryrefslogtreecommitdiffstats
path: root/games/nInvaders/Makefile
blob: 33f568c2ca6dc89cdb5a85de3ee28189bb359219 (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
# ex:ts=8
# Ports collection makefile for:    nInvaders
# Date created:         Tue Jul 09, 2002
# Whom:             Michael L. Hostbaek (mich@freebsdcluster.org)
#
# $FreeBSD$
#

PORTNAME=   nInvaders
PORTVERSION=    0.1.1
CATEGORIES= games
MASTER_SITES=   SF
DISTNAME=   ninvaders-${PORTVERSION}

MAINTAINER= mich@FreeBSD.org
COMMENT=    The nIvaders game is a Space Invaders clone for ncurses


post-patch:
    @${REINPLACE_CMD} -e "s|^CC|#CC|g" \
    -e "s|^CFLAGS|#CFLAGS|g" ${WRKSRC}/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>