1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/alephone/Makefile
Tijl Coosemans ff57a36a58 audio/sdl_sound:
- USES=libtool.
- Strip library.
- Replace patch+reinplace with a single reinplace.
- Remove a patch so we use the upstream library name again.  Bump
  PORTREVISION on all dependent ports.

games/alephone:
- USES=gmake tar:bzip2.
- Remove unneeded PKG_CONFIG variable.
- Staging.
- New LIB_DEPENDS syntax.

games/asc:
- USES=libtool.

games/gltron:
- New LIB_DEPENDS syntax.
- USES=gmake.
- Remove references to PTHREAD_CFLAGS and PTHREAD_LIBS.
- Use option helpers.
- Staging.

lang/kroc: (still BROKEN due to use of "python" command)
- New LIB_DEPENDS syntax.
- USES=pathfix tar:bzip2.
- Staging.
- Replace patches with post-patch.
- Replace MAKE with MAKE_CMD.

lang/smalltalk:
- USES=libtool tar:xz.
- Use BROKEN_sparc64.
2014-05-03 18:58:57 +00:00

77 lines
1.7 KiB
Makefile

# Created by: Michael Alyn Miller <malyn@strangeGizmo.com>
# $FreeBSD$
PORTNAME= alephone
PORTVERSION= 20120514
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF/marathon/Aleph%20One/2012-05-14
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
USES= gmake pkgconfig tar:bzip2
USE_SDL= image net sdl sound
USE_GL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-alsa --disable-sndfile
DATADIR= ${PREFIX}/share/AlephOne
OPTIONS_DEFINE= MAD OGG SPEEX SMPEG TTF ZZIP
SMPEG_DESC= Use SMPEG for movie playback
TTF_DESC= Enable SDL_ttf font rendering
ZZIP_DESC= Enable zziplib support
OPTIONS_DEFAULT= MAD OGG SPEEX SMPEG TTF ZZIP
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMAD}
LIB_DEPEND+= libmad.so:${PORTSDIR}/audio/libmad
.else
CONFIGURE_ARGS+=--disable-mad
.endif
.if ${PORT_OPTIONS:MOGG}
LIB_DEPEND+= libvorbisfile.so:${PORTSDIR}/audio/libvorbis
.else
CONFIGURE_ARGS+=--disable-vorbis
.endif
.if ${PORT_OPTIONS:MSPEEX}
LIB_DEPENDS+= libspeex.so:${PORTSDIR}/audio/speex
.else
CONFIGURE_ARGS+=--disable-speex
.endif
.if ${PORT_OPTIONS:MSMPEG}
LIB_DEPENDS+= libsmpeg.so:${PORTSDIR}/multimedia/smpeg
.else
CONFIGURE_ARGS+=--disable-smpeg
.endif
.if ${PORT_OPTIONS:MTTF}
USE_SDL+= ttf
.else
CONFIGURE_ARGS+=--disable-ttf
.endif
.if ${PORT_OPTIONS:MZZIP}
LIB_DEPENDS+= libzzip.so:${PORTSDIR}/devel/zziplib
.else
CONFIGURE_ARGS+=--disable-zzip
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>