1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/games/alephone/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- 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
2012-02-18 10:18:33 +00:00

91 lines
2.0 KiB
Makefile

# New ports collection makefile for: alephone
# Date created: 27 February 2001
# Whom: Michael Alyn Miller <malyn@strangeGizmo.com>
#
# $FreeBSD$
#
PORTNAME= alephone
PORTVERSION= 20111201
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/marathon/Aleph%20One/2011-12-01
DISTNAME= AlephOne-${PORTVERSION}
MAINTAINER= fiziologus@gmail.com
COMMENT= The open source version of Bungie's Marathon game
BUILD_DEPENDS+= ${LOCALBASE}/include/boost/function.hpp:${PORTSDIR}/devel/boost-libs
USE_GMAKE= yes
USE_BZIP2= yes
USE_SDL+= image net sdl sound
USE_GL= yes
USE_LUA= 5.1
PKG_CONFIG?= ${LOCALBASE}/bin/pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-alsa --disable-sndfile
CONFIGURE_ENV= PKG_CONFIG="${PKG_CONFIG}"
DATADIR= ${PREFIX}/share/AlephOne
MAN6= alephone.6
OPTIONS= MAD "use libmad for mp3 playback" on \
OGG "enable ogg/vorbis music playback" on \
SPEEX "enable speex net mic playback" on \
SMPEG "use SMPEG for movie playback" on \
TTF "enable SDL_ttf font rendering" on \
ZZIP "enable zziplib support" on
.include <bsd.port.pre.mk>
.if defined(WITHOUT_MAD)
CONFIGURE_ARGS+=--disable-mad
.else
LIB_DEPEND+= mad.2:${PORTSDIR}/audio/libmad
.endif
.if defined(WITHOUT_OGG)
CONFIGURE_ARGS+=--disable-vorbis
.else
LIB_DEPEND+= vorbisfile.6:${PORTSDIR}/audio/libvorbis
.endif
.if defined(WITHOUT_SPEEX)
CONFIGURE_ARGS+=--disable-speex
.else
LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex
.endif
.if defined(WITHOUT_SMPEG)
CONFIGURE_ARGS+=--disable-smpeg
.else
LIB_DEPENDS+= smpeg.1:${PORTSDIR}/multimedia/smpeg
.endif
.if defined(WITHOUT_TTF)
CONFIGURE_ARGS+=--disable-ttf
.else
USE_SDL+= ttf
.endif
.if defined(WITHOUT_ZZIP)
CONFIGURE_ARGS+=--disable-zzip
.else
LIB_DEPENDS+= zzip.13:${PORTSDIR}/devel/zziplib
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} README ${DOCSDIR}
cd ${WRKSRC}/docs && ${INSTALL_DATA} *.html ${DOCSDIR}
.endif
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.post.mk>