freebsd-ports/games/atris/Makefile
Pav Lucistnik 8455f0e841 Alizarin Tetris is a Tetris-like game with a twist for Unix, Win32 and BeOS
systems. It includes multi-player support, user-extensible color, shape and
sound styles, can use TCP/IP networking and features a few different AI
opponents. It was written using the SDL Library.

PR:		ports/83202, ports/83207
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
2005-07-13 14:07:41 +00:00

47 lines
1.0 KiB
Makefile

# New ports collection makefile for: games/atris
# Date created: 9 Aug 2005
# Whom: Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#
PORTNAME= atris
PORTVERSION= 1.0.7
CATEGORIES= games
MASTER_SITES= http://www.cs.berkeley.edu/~weimer/atris/
MAINTAINER= alejandro@varnet.biz
COMMENT= Atris: Alizarin Tetris
USE_GMAKE= yes
USE_SDL= sdl ttf
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name=""
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
post-patch:
# Fix path to ${DATADIR}
${REINPLACE_CMD} -e 's|\(GAME_INSTALLDIR=\).*|\1"${DATADIR}"|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
# Fix SDL include statement
.for f in *.c *.h
@${FIND} ${WRKSRC} -type f -name "${f}" -print0 | \
${XARGS} -0 ${REINPLACE_CMD} -e \
's|\(#include.*\)SDL/\(SDL.*\)|\1\2|'
.endfor
.if !defined(NOPORTDOCS)
post-install:
# Install documentation (optional)
@${MKDIR} ${DOCSDIR}
@${RM} -f ${WRKSRC}/Docs/Makefile*
@${CP} -R ${WRKSRC}/Docs/* ${DOCSDIR}
.endif
.include <bsd.port.mk>