2007-08-02 19:39:16 +00:00
|
|
|
# New ports collection makefile for: windstille
|
|
|
|
# Date created: 14 Jun 2007
|
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= windstille
|
|
|
|
PORTVERSION= 0.3.0
|
2012-02-18 10:18:33 +00:00
|
|
|
PORTREVISION= 13
|
2007-08-02 19:39:16 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= BERLIOS CENKES
|
|
|
|
|
2008-06-19 17:28:24 +00:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2007-08-02 19:39:16 +00:00
|
|
|
COMMENT= Classic 2D jump-n-shoot game
|
|
|
|
|
2010-01-25 19:15:18 +00:00
|
|
|
LIB_DEPENDS= physfs.1:${PORTSDIR}/devel/physfs \
|
2010-06-06 20:44:03 +00:00
|
|
|
ogg.7:${PORTSDIR}/audio/libogg \
|
2007-08-02 19:39:16 +00:00
|
|
|
vorbis.4:${PORTSDIR}/audio/libvorbis \
|
2010-03-28 06:47:48 +00:00
|
|
|
png.6:${PORTSDIR}/graphics/png \
|
2008-03-27 13:15:53 +00:00
|
|
|
squirrel.0:${PORTSDIR}/lang/squirrel \
|
|
|
|
freetype.9:${PORTSDIR}/print/freetype2
|
2009-07-28 11:45:08 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
|
2007-08-02 19:39:16 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_SCONS= yes
|
2010-01-25 19:15:18 +00:00
|
|
|
USE_OPENAL= al
|
2010-04-27 21:58:27 +00:00
|
|
|
USE_GL= glew
|
2007-08-02 19:39:16 +00:00
|
|
|
USE_SDL= sdl image
|
2007-10-17 10:13:01 +00:00
|
|
|
USE_BISON= build
|
2009-06-17 01:59:22 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-08-02 19:39:16 +00:00
|
|
|
|
|
|
|
post-extract:
|
2008-06-22 15:02:28 +00:00
|
|
|
@${RM} -rf ${WRKSRC}/lib ${WRKSRC}/data/music/*
|
2007-08-02 19:39:16 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@cd ${WRKSRC}/src/ && ${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' \
|
|
|
|
particles/deform_drawer.cpp windstille_main.cpp objects/shockwave.cpp
|
|
|
|
@${REINPLACE_CMD} -e "s|glew|GLEW|;/LIBS/s|'squirrel'|'squirrel', 'sqstdlib'|"\
|
|
|
|
${WRKSRC}/src/SConscript
|
|
|
|
@${REINPLACE_CMD} -e 's|PHYSFS_getBaseDir()|""|' ${WRKSRC}/src/windstille_main.cpp
|
|
|
|
@${REINPLACE_CMD} -e 's|bison|${LOCALBASE}/bin/&|' ${WRKSRC}/tools/SConscript
|
2009-06-17 01:59:22 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|; s|freetype-config|${LOCALBASE}/bin/&|' \
|
|
|
|
${WRKSRC}/SConstruct ${WRKSRC}/src/SConscript
|
2007-08-02 19:39:16 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/windstille ${PREFIX}/bin/
|
|
|
|
${INSTALL} -d ${DATADIR}/
|
|
|
|
@cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${DATADIR}/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|