1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/games/madbomber/Makefile
Pav Lucistnik 637df5ea30 - Fix MASTER_SITES
PR:		ports/83269
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2005-07-12 12:13:00 +00:00

35 lines
973 B
Makefile

# New ports collection makefile for: madbomber
# Date created: 28 September 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= madbomber
PORTVERSION= 0.2.5
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.billsgames.com/unix/x/madbomber/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= A clone of Activision's classic Atari 2600 console game "Kaboom!"
USE_SDL= mixer image sdl
CPPFLAGS= `${SDL_CONFIG} --cflags` -DDATA_PREFIX=\"${DATADIR}/\"
LDFLAGS= `${SDL_CONFIG} --libs`
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME} \
${PORTNAME}.c ${LDFLAGS} -lSDL_mixer -lSDL_image
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/madbomber ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${TAR} -C ${WRKSRC}/data --exclude embedded -cf - . | \
${TAR} -C ${DATADIR} --unlink -xf -
@${FIND} ${DATADIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
@${FIND} ${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.include <bsd.port.mk>