freebsd-ports/games/7kaa/Makefile
2019-12-24 16:46:28 +00:00

49 lines
960 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= 7kaa
PORTVERSION= 2.15.3
DISTVERSIONPREFIX= v
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Seven Kingdoms: Ancient Adversaries
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libenet.so:net/enet \
libcurl.so:ftp/curl
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
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>