freebsd-ports/games/brainparty/Makefile
2022-09-12 22:24:36 +03:00

44 lines
1.1 KiB
Makefile

PORTNAME= brainparty
PORTVERSION= 0.61
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= https://launchpad.net/brainparty/trunk/${PORTVERSION}/+download/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Family-friendly set of 36 puzzle games
WWW= https://web.archive.org/web/20170722185419/http://www.tuxradar.com/brainparty \
https://launchpad.net/brainparty
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler gl gmake sdl
USE_SDL= sdl mixer ttf gfx image
USE_GL= gl glu
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|Content/|${DATADIR}/|' ${WRKSRC}/*.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/Content/* ${STAGEDIR}${DATADIR}/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CREDITS ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>