mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
04d6f52202
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openspades
|
|
PORTVERSION= 0.0.12
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://yvt.jp/files/programs/osppaks/:data
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DevPaks27.zip:data
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Compatible client of Ace of Spades
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= convert:graphics/ImageMagick # for building icons
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= yvt
|
|
|
|
USES= cmake compiler:c++11-lib desktop-file-utils
|
|
CMAKE_ARGS= -DOPENSPADES_RESOURCES=OFF \
|
|
-DOPENSPADES_INSTALL_MAN="man/man6" \
|
|
-DOPENSPADES_INSTALL_BINARY="bin" \
|
|
-DOPENSPADES_INSTALL_RESOURCES="${DATADIR_REL}"
|
|
USE_SDL= sdl2 image2
|
|
USE_GL= gl glew
|
|
INSTALLS_ICONS= yes
|
|
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
BROKEN_aarch64= Fails to compile: unknown register name %xmm0 in asm
|
|
|
|
post-extract:
|
|
@${MKDIR} ${WRKSRC}/Resources/DevPak
|
|
@${MV} ${WRKDIR}/*.pak ${WRKSRC}/Resources/DevPak/
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|Xext|${LOCALBASE}/lib/lib&.so|' ${WRKSRC}/Sources/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|