mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +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
62 lines
1.2 KiB
Makefile
62 lines
1.2 KiB
Makefile
# New ports collection makefile for: apricots
|
|
# Date created: 07 Jan 2008
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= apricots
|
|
PORTVERSION= 0.2.6
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.fishies.org.uk/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Fly a little plane around and shoot things and drop bombs
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_SDL= sdl
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PORTDOCS= README
|
|
|
|
DESKTOP_ENTRIES="Apricots" \
|
|
"Fly a little plane around and shoot things and drop bombs" \
|
|
"" \
|
|
"apricots" \
|
|
"Game;ArcadeGame;" \
|
|
false
|
|
|
|
OPTIONS= OPENAL "Enable OpenAL audio" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(WITHOUT_OPENAL)
|
|
USE_OPENAL= al alut
|
|
.endif
|
|
|
|
post-patch:
|
|
.if defined(WITHOUT_OPENAL)
|
|
@${REINPLACE_CMD} -e 's|-DAP_AUDIO_OPENAL||' ${WRKSRC}/configure
|
|
.else
|
|
@${REINPLACE_CMD} -e '/^LIBS = / s|$$| -lopenal -lalut|' \
|
|
${WRKSRC}/apricots/Makefile.in
|
|
.endif
|
|
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|