blob: 88359926f7bbbced467cfa21d8c7eec089ba63d8 (
plain) (
blame)
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
|
# New ports collection makefile for: trimines
# Date created: 02 May 2006
# Whom: Dmitry Marakasov <amdmi3@mail.ru>
#
# $FreeBSD$
#
PORTNAME= trimines
PORTVERSION= 1.2.1
CATEGORIES= games
MASTER_SITES= http://www.freewebs.com/trimines/
MAINTAINER= amdmi3@mail.ru
COMMENT= Mine sweeper game that uses triangles instead of squares
USE_SDL= sdl
USE_GCC= 3.4+
post-patch:
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/gfx.c
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} src/main.c -o ./trimines \
`${SDL_CONFIG} --cflags --libs`
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trimines ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/* ${DATADIR}
.include <bsd.port.mk>
|