38 lines
777 B
Makefile
38 lines
777 B
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= flare
|
|
PORTVERSION= 1.09.01
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= games
|
|
PKGNAMESUFFIX= -engine
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Free Libre Action Roleplaying Engine
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= flareteam
|
|
GH_PROJECT= ${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
USES= cmake compiler:env
|
|
USE_SDL= sdl2 mixer2 image2 ttf2
|
|
CMAKE_BUILD_TYPE= #empty
|
|
|
|
CMAKE_ARGS= -DBINDIR="bin" -DDATADIR="share/flare" -DMANDIR="man"
|
|
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/flare
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.engine.md ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|