mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
6506e45d69
- Update audio/sdl_mixer to version 1.2.11. - Update graphics/sdl_gfx to version 2.0.20. - Update graphics/sdl_image to version 1.2.10. - Bump portrevisions for all ports depending on audio/sdl_mixer and graphics/sdl_image. - Update Mk/bsd.sdl.mk accordingly for the new shared lib versions. PR: ports/142147 ports/142248 ports/142249 Approved by: miwi (mentor implicit)
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
# New ports collection makefile for: luola
|
|
# Date created: 20 Jan 2006
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= luola
|
|
PORTVERSION= 1.3.0
|
|
PORTREVISION= 6
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.luolamies.org/software/luola/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
stdlevels-5.2${EXTRACT_SUFX} \
|
|
nostalgia-1.1${EXTRACT_SUFX}
|
|
DIST_SUBDIR= luola
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Multiplayer Cave-flying game
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_SDL= sdl image ttf
|
|
|
|
CONFIGURE_ARGS= --program-prefix=''
|
|
|
|
OPTIONS= SDL_GFX "Enable sdl_gfx for nicer graphics" on \
|
|
SOUND "Enable sound" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITHOUT_SDL_GFX)
|
|
CONFIGURE_ARGS+= --disable-sdl-gfx
|
|
.else
|
|
USE_SDL+= gfx
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_SOUND)
|
|
CONFIGURE_ARGS+= --enable-sound
|
|
USE_SDL+= mixer
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/LIBS=.*-lSDL_/ s|\(SDL_[a-z]*\)|\1 `sdl-config --libs`|' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
@${INSTALL_DATA} ${WRKDIR}/*.lev ${WRKDIR}/*.png ${DATADIR}/levels
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in README FAQ
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|