mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
PORTNAME= alephone
|
|
DISTVERSION= 20230119
|
|
PORTREVISION= 4
|
|
CATEGORIES= games
|
|
MASTER_SITES= https://github.com/Aleph-One-Marathon/${PORTNAME}/releases/download/release-${DISTVERSION}/
|
|
DISTNAME= AlephOne-${DISTVERSION}
|
|
|
|
MAINTAINER= fiziologus@gmail.com
|
|
COMMENT= Open source version of Bungies Marathon game
|
|
WWW= http://source.bungie.org/
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
|
|
libavcodec.so:multimedia/ffmpeg \
|
|
libsndfile.so:audio/libsndfile \
|
|
|
|
USES= compiler:c++17-lang gmake localbase openal \
|
|
pkgconfig shared-mime-info sdl gl tar:bzip2
|
|
USE_SDL= sdl2 image2 net2 ttf2
|
|
USE_GL= gl glu
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PORTDOCS= *
|
|
DATADIR= ${PREFIX}/share/AlephOne
|
|
|
|
CONFIGURE_ARGS= --without-alsa --without-mad --without-miniupnpc \
|
|
--without-smpeg --without-vorbis
|
|
|
|
OPTIONS_DEFINE= CURL DOCS PNG SPEEX ZZIP
|
|
OPTIONS_DEFAULT=CURL DOCS PNG SPEEX ZZIP
|
|
|
|
ZZIP_DESC= Enable zziplib support
|
|
|
|
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
|
CURL_CONFIGURE_WITH= curl
|
|
|
|
PNG_LIB_DEPENDS= libpng.so:graphics/png
|
|
PNG_CONFIGURE_WITH= png
|
|
|
|
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \
|
|
libspeexdsp.so:audio/speexdsp
|
|
SPEEX_CONFIGURE_WITH= speex
|
|
|
|
ZZIP_LIB_DEPENDS= libzzip.so:devel/zziplib
|
|
ZZIP_CONFIGURE_WITH= zzip
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
|
CFLAGS+= -Wno-error=int-conversion
|
|
.endif
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/docs && ${INSTALL_DATA} README.txt ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/docs && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|