mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
46 lines
897 B
Makefile
46 lines
897 B
Makefile
PORTNAME= 7kaa
|
|
PORTVERSION= 2.15.4p1
|
|
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>
|