mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
23ac2035b9
I've got a brand new hosting, so change my email to the new one. Also, now I can mirror some distfiles, so update MASTER_SITES for some ports. PR: ports/107038 Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
37 lines
845 B
Makefile
37 lines
845 B
Makefile
# New ports collection makefile for: trimines
|
|
# Date created: 02 May 2006
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= trimines
|
|
PORTVERSION= 1.3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.freewebs.com/trimines/ \
|
|
http://www.amdmi3.ru/distfiles/
|
|
|
|
MAINTAINER= amdmi3@amdmi3.ru
|
|
COMMENT= Mine sweeper game that uses triangles instead of squares
|
|
|
|
USE_SDL= sdl
|
|
USE_GCC= 3.4+
|
|
USE_X_PREFIX= yes
|
|
|
|
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
|
|
.for dir in counter menu misc triangles
|
|
${MKDIR} ${DATADIR}/${dir}
|
|
${INSTALL_DATA} ${WRKSRC}/data/${dir}/* ${DATADIR}/${dir}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|