blob: dffde6933bb5dcfc507c7e7eb1d03a0b018ab6e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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
CPPFLAGS+= `${SDL_CONFIG} --cflags`
LDFLAGS+= `${SDL_CONFIG} --libs`
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>
|