mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
48 lines
991 B
Makefile
48 lines
991 B
Makefile
PORTNAME= 7kaa
|
|
PORTVERSION= 2.15.6
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
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>
|