mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
52 lines
1.6 KiB
Makefile
52 lines
1.6 KiB
Makefile
# New ports collection makefile for: games/blockout
|
|
# Date created: 06 Aug 2009
|
|
# Whom: 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= devel@stasyan.com
|
|
COMMENT= BlockOut II is an adaptation of the original Blockout DOS game
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
USE_SDL= mixer sdl
|
|
USE_GMAKE= yes
|
|
USE_GL= gl glu
|
|
|
|
WRKSRC= ${WRKDIR}/bl24_lin_src
|
|
BUILD_WRKSRC= ${WRKSRC}/BlockOut
|
|
|
|
FETCH_ARGS?= -pRr
|
|
SUB_FILES= pkg-message
|
|
|
|
pre-build:
|
|
cd ${WRKSRC}/ImageLib/src && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/BlockOut/blockout ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/ImageLib/src/libimagelib.a ${PREFIX}/lib
|
|
${MKDIR} ${DATADIR}
|
|
${MKDIR} ${DATADIR}/sounds
|
|
${MKDIR} ${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 ${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 ${DATADIR}/sounds
|
|
. endfor
|
|
${INSTALL_DATA} ${WRKSRC}/BlockOut/sounds/music.mp3 ${DATADIR}/sounds
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|