mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
36 lines
713 B
Makefile
36 lines
713 B
Makefile
PORTNAME= flare
|
|
PORTVERSION= 1.12
|
|
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 sdl
|
|
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>
|