2013-05-31 16:40:56 +02:00
|
|
|
# Created by: Michael Alyn Miller <malyn@strangeGizmo.com>
|
2001-03-01 19:01:25 +01:00
|
|
|
|
2001-03-08 20:13:02 +01:00
|
|
|
PORTNAME= alephone
|
2020-04-26 18:57:51 +02:00
|
|
|
DISTVERSION= 20190331
|
2021-06-19 22:16:08 +02:00
|
|
|
PORTREVISION= 2
|
2001-03-01 19:01:25 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
|
2010-08-02 20:33:29 +02:00
|
|
|
MAINTAINER= fiziologus@gmail.com
|
2020-04-26 18:57:51 +02:00
|
|
|
COMMENT= Open source version of Bungies Marathon game
|
2001-03-01 19:01:25 +01:00
|
|
|
|
2020-04-26 18:57:51 +02:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
|
|
|
LIB_DEPENDS= libexpat.so:textproc/expat2 \
|
|
|
|
libboost_filesystem.so:devel/boost-libs
|
|
|
|
|
|
|
|
USES= autoreconf compiler:c++11-lang gmake localbase \
|
|
|
|
pkgconfig shared-mime-info sdl gl tar:bzip2
|
|
|
|
|
|
|
|
USE_SDL= sdl2 image2 net2 ttf2
|
|
|
|
USE_GL= gl glu
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= Aleph-One-Marathon
|
|
|
|
GH_TAGNAME= release-20190331
|
2011-09-22 21:42:05 +02:00
|
|
|
|
2001-03-01 19:01:25 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2016-01-24 16:01:36 +01:00
|
|
|
CONFIGURE_ARGS= --disable-alsa
|
|
|
|
|
|
|
|
PORTDOCS= *
|
2005-06-17 20:45:16 +02:00
|
|
|
|
2007-03-31 05:28:56 +02:00
|
|
|
DATADIR= ${PREFIX}/share/AlephOne
|
2002-03-29 08:52:36 +01:00
|
|
|
|
2020-04-26 18:57:51 +02:00
|
|
|
OPTIONS_DEFINE= MAD FFMPEG OGG SPEEX ZZIP PNG CURL SNDFILE DOCS
|
|
|
|
OPTIONS_DEFAULT=MAD FFMPEG OGG SPEEX ZZIP PNG CURL SNDFILE
|
2016-01-24 16:01:36 +01:00
|
|
|
|
|
|
|
FFMPEG_DESC= Use ffmpeg for film export and playback
|
2013-05-31 16:40:56 +02:00
|
|
|
ZZIP_DESC= Enable zziplib support
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
MAD_LIB_DEPENDS= libmad.so:audio/libmad
|
2016-01-24 16:01:36 +01:00
|
|
|
MAD_CONFIGURE_WITH= mad
|
games/alephone: Spell FFMPEG_* correctly
Disable FFMPEG option by default and mark it as broken since it does not build:
SDL_ffmpeg.c:89:103: warning: declaration of 'enum PixelFormat' will not be visible outside of this function [-Wvisibility]
struct SwsContext* getContext( SDL_ffmpegConversionContext **context, int inWidth, int inHeight, enum PixelFormat inFormat, int outWidth, int outHeight, enum PixelFormat outFormat )
^
SDL_ffmpeg.c:89:115: error: variable has incomplete type 'enum PixelFormat'
struct SwsContext* getContext( SDL_ffmpegConversionContext **context, int inWidth, int inHeight, enum PixelFormat inFormat, int outWidth, int outHeight, enum PixelFormat outFormat )
^
2019-10-19 09:33:46 +02:00
|
|
|
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
|
|
|
|
FFMPEG_CONFIGURE_WITH= ffmpeg
|
2016-04-01 16:00:51 +02:00
|
|
|
OGG_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
|
2016-01-24 16:01:36 +01:00
|
|
|
OGG_CONFIGURE_WITH= vorbis
|
2020-04-26 18:57:51 +02:00
|
|
|
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \
|
|
|
|
libspeexdsp.so:audio/speexdsp
|
2016-01-24 16:01:36 +01:00
|
|
|
SPEEX_CONFIGURE_WITH= speex
|
2016-04-01 16:00:51 +02:00
|
|
|
ZZIP_LIB_DEPENDS= libzzip.so:devel/zziplib
|
2016-01-24 16:01:36 +01:00
|
|
|
ZZIP_CONFIGURE_WITH= zzip
|
2016-04-01 16:00:51 +02:00
|
|
|
PNG_LIB_DEPENDS= libpng.so:graphics/png
|
2016-01-24 16:01:36 +01:00
|
|
|
PNG_CONFIGURE_WITH= png
|
2016-04-01 16:00:51 +02:00
|
|
|
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
2016-01-24 16:01:36 +01:00
|
|
|
CURL_CONFIGURE_WITH= curl
|
2016-04-01 16:00:51 +02:00
|
|
|
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
|
2016-01-24 16:01:36 +01:00
|
|
|
SNDFILE_CONFIGURE_WITH= sndfile
|
2011-09-18 20:30:23 +02:00
|
|
|
|
2015-09-25 08:29:40 +02:00
|
|
|
post-install-DOCS-on:
|
2014-05-03 20:58:57 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/docs && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR}
|
2001-03-01 19:01:25 +01:00
|
|
|
|
2012-04-22 18:53:23 +02:00
|
|
|
.include <bsd.port.mk>
|