2005-11-17 16:45:12 +01:00
|
|
|
# New ports collection makefile for: torrent
|
|
|
|
# Date created: 10 Nov 2005
|
2006-12-21 21:41:33 +01:00
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2005-11-17 16:45:12 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= torrent
|
|
|
|
PORTVERSION= 0.8.2
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2005-11-17 16:45:12 +01:00
|
|
|
CATEGORIES= games
|
2006-12-21 21:41:33 +01:00
|
|
|
MASTER_SITES= http://www.shiftygames.com/torrent/ \
|
|
|
|
http://www.amdmi3.ru/distfiles/
|
2005-11-17 16:45:12 +01:00
|
|
|
|
2006-12-21 21:41:33 +01:00
|
|
|
MAINTAINER= amdmi3@amdmi3.ru
|
2005-11-17 16:45:12 +01:00
|
|
|
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_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
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:
|
2006-09-20 13:21:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-std=gnu99 ||g' ${WRKSRC}/configure
|
2005-11-17 16:45:12 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|