1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/games/npush/Makefile
Jimmy Olgeni 5e38556079 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories G-I.

CR:		D201
Approved by:	portmgr (bapt)
2014-06-13 07:36:27 +00:00

36 lines
967 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= npush
PORTVERSION= 0.7
CATEGORIES= games
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Curses-based logic game similar to Sokoban and Boulder Dash
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|"levels|"${DATADIR}/levels|' \
${WRKSRC}/npush.cpp
do-build:
cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -o npush npush.cpp -lncurses
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/npush ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DATADIR}/levels
${INSTALL_DATA} ${WRKSRC}/levels/* ${STAGEDIR}${DATADIR}/levels
${INSTALL_DATA} ${WRKSRC}/npush.png ${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/npush.desktop ${STAGEDIR}${PREFIX}/share/applications/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.html ${WRKSRC}/readme.txt \
${WRKSRC}/screenshot?.png ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>