Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/games/7kaa/Makefile
16461 views
PORTNAME=	7kaa
PORTVERSION=	2.15.6
DISTVERSIONPREFIX=	v
CATEGORIES=	games

MAINTAINER=	[email protected]
COMMENT=	Seven Kingdoms: Ancient Adversaries
WWW=		https://7kfans.com/

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libenet.so:net/enet \
		libcurl.so:ftp/curl
BUILD_DEPENDS=	autoconf-archive>=0:devel/autoconf-archive

USE_GITHUB=	yes
GH_ACCOUNT=	the3dfxdude

USES=		autoreconf compiler:c++11-lang gettext-tools gmake localbase \
		openal:al pkgconfig sdl iconv
USE_SDL=	sdl2
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-multiplayer

CXXFLAGS+=	-fPIC -Dregister=

PORTDOCS=	*
PORTDATA=	*

OPTIONS_DEFINE=	DOCS NLS
OPTIONS_SUB=	yes
NLS_USES=	gettext
NLS_CONFIGURE_ENABLE=	nls

DESKTOP_ENTRIES="7KAA" \
		"" \
		"${PREFIX}/share/pixmaps/${PORTNAME}.ico" \
		"${PORTNAME}" \
		"Game;StrategyGame;" \
		""

post-install:
	@${RM} ${STAGEDIR}${DOCSDIR}/COPYING
	${INSTALL_DATA} ${WRKSRC}/src/7k.ico ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico

.include <bsd.port.mk>