2006-05-07 23:17:01 +00:00
|
|
|
# New ports collection makefile for: trimines
|
|
|
|
# Date created: 02 May 2006
|
2006-12-21 20:41:33 +00:00
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2006-05-07 23:17:01 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= trimines
|
2006-05-14 15:16:59 +00:00
|
|
|
PORTVERSION= 1.3.0
|
2006-09-20 11:21:59 +00:00
|
|
|
PORTREVISION= 1
|
2006-05-07 23:17:01 +00:00
|
|
|
CATEGORIES= games
|
2006-12-21 20:41:33 +00:00
|
|
|
MASTER_SITES= http://www.freewebs.com/trimines/ \
|
|
|
|
http://www.amdmi3.ru/distfiles/
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@amdmi3.ru
|
2006-05-07 23:17:01 +00:00
|
|
|
COMMENT= Mine sweeper game that uses triangles instead of squares
|
|
|
|
|
|
|
|
USE_SDL= sdl
|
|
|
|
USE_GCC= 3.4+
|
2006-05-08 10:26:59 +00:00
|
|
|
USE_X_PREFIX= yes
|
2006-05-07 23:17:01 +00:00
|
|
|
|
|
|
|
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
|
2006-05-14 15:16:59 +00:00
|
|
|
.for dir in counter menu misc triangles
|
|
|
|
${MKDIR} ${DATADIR}/${dir}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/${dir}/* ${DATADIR}/${dir}
|
|
|
|
.endfor
|
2006-05-07 23:17:01 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|