1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/games/atris/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +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
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.cs.berkeley.edu/~weimer/atris/
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Atris: Alizarin Tetris
USE_GMAKE= yes
USE_SDL= sdl ttf
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>