freebsd-ports/games/nInvaders/Makefile
John Marino 0e84fbe37e games/ninvaders: document ncurses requirement (USES+=ncurses)
approved by:	infrastructure blanket
2016-01-31 08:46:22 +00:00

26 lines
606 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 nInvaders game is a Space Invaders clone for ncurses
USES= 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>