1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/games/nInvaders/Makefile
Emanuel Haupt 730de64789 - Support staging
- Define DOCS option
2014-03-13 15:09:36 +00:00

25 lines
589 B
Makefile

# Created by: 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
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s|^CC|#CC|g" \
-e "s|^CFLAGS|#CFLAGS|g" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>