freebsd-ports/games/madbomber/Makefile

35 lines
982 B
Makefile
Raw Normal View History

# New ports collection makefile for: madbomber
2000-09-28 10:39:24 +02:00
# Date created: 28 September 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= madbomber
PORTVERSION= 0.2.5
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/madbomber/src/
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:32:26 +01:00
COMMENT= A clone of Activision's classic Atari 2600 console game "Kaboom!"
2004-01-20 19:21:02 +01:00
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>