mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
45 lines
1.5 KiB
Makefile
45 lines
1.5 KiB
Makefile
# Created by: Stas Timokhin <stast@bsdportal.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= blockout
|
|
PORTVERSION= 2.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/BlockOut%20${PORTVERSION}/ \
|
|
http://www.stasyan.com/devel/distfiles/
|
|
DISTNAME= bl24-src-linux-i586
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= BlockOut II is an adaptation of the original Blockout DOS game
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
USE_SDL= mixer sdl
|
|
USES= gmake
|
|
USE_GL= gl glu
|
|
|
|
WRKSRC= ${WRKDIR}/bl24_lin_src
|
|
BUILD_WRKSRC= ${WRKSRC}/BlockOut
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
pre-build:
|
|
cd ${WRKSRC}/ImageLib/src && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/BlockOut/blockout ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/ImageLib/src/libimagelib.a ${STAGEDIR}${PREFIX}/lib
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/sounds
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/images
|
|
. for i in allPieces background background2 background3 font gameover gameovera marble \
|
|
marbleg menuback menucredits menufont menufont2 menupit online onlinea spark sparka sprites spritesa star_crystal_grid
|
|
${INSTALL_DATA} ${WRKSRC}/BlockOut/images/${i}.png ${STAGEDIR}${DATADIR}/images
|
|
. endfor
|
|
. for s in blub empty empty2 hit level level2 line line2 tchh welldone welldone2 wozz
|
|
${INSTALL_DATA} ${WRKSRC}/BlockOut/sounds/${s}.wav ${STAGEDIR}${DATADIR}/sounds
|
|
. endfor
|
|
${INSTALL_DATA} ${WRKSRC}/BlockOut/sounds/music.mp3 ${STAGEDIR}${DATADIR}/sounds
|
|
|
|
.include <bsd.port.mk>
|