freebsd-ports/games/torrent/Makefile
Marcus von Appen 3c5a29be3d - Update graphics/sdl_ttf to version 2.0.10
- Bump portrevisions for all ports depending on graphics/sdl_ttf
- Update Mk/bsd.sdl.mk for the new shared library version.
2010-08-11 06:57:34 +00:00

35 lines
845 B
Makefile

# New ports collection makefile for: torrent
# Date created: 10 Nov 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= torrent
PORTVERSION= 0.8.2
PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= http://www.shiftygames.com/torrent/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Score points without letting the tiles touch the top of the board
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer image ttf
CONFIGURE_ENV= LDFLAGS="`${SDL_CONFIG} --libs`" \
CPPFLAGS="`${SDL_CONFIG} --cflags`" \
SDL_CONFIG="${SDL_CONFIG}"
MAN6= torrent.6
post-extract:
@${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt)" -print0 | \
${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
post-patch:
@${REINPLACE_CMD} -e 's|-std=gnu99 ||g' ${WRKSRC}/configure
.include <bsd.port.mk>