1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/games/trimines/Makefile
Dmitry Marakasov 4745bf8510 - Update URL of my distfile mirror in 87 ports
Approved by:	portmgr (erwin)
2009-07-28 16:34:36 +00:00

35 lines
817 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= 4
CATEGORIES= games
MASTER_SITES= http://www.freewebs.com/trimines/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Mine sweeper game that uses triangles instead of squares
USE_SDL= sdl
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>