1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/games/brickout/Makefile
Dmitry Marakasov b64641cd1e - Add games/brickout
"Brickout" is a ball-and-paddle game where it's your objective to
destroy bricks on the screen. It's available for Agenda, Zaurus and
iPAQ PDAs running Linux, and for Linux desktop systems.

WWW: http://www.newbreedsoftware.com/brickout/
2016-11-14 15:11:24 +00:00

53 lines
1.2 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= brickout
PORTVERSION= 2002.06.09
CATEGORIES= games
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/agenda/brickout/src/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Ball-and-paddle game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
USES= localbase
USE_SDL= sdl mixer
PORTDOCS= CHANGES.txt README.txt TODO.txt
PORTDATA= *
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
DESKTOP_ENTRIES="Brickout" \
"" \
"${PORTNAME}" \
"${PORTNAME}" \
"Game;ArcadeGame;" \
""
OPTIONS_DEFINE= DOCS
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} \
-DIMAGEDIR=\"${DATADIR}/images-sdl/\" \
-DSOUNDDIR=\"${DATADIR}/sounds/\" \
-DMUSICDIR=\"${DATADIR}/music/\" \
-DUSE_SDL \
`sdl-config --cflags --libs` -lSDL_mixer \
-o ${PORTNAME} ${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC} && ${COPYTREE_SHARE} "images-sdl music sounds" ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>