35dc7ffe64
Solver is a math training game. The goal of the game is to improve the user's confidence in using four basic math operations: addition, subtraction, multiplication and division. The user can set various options to create a custom game experience. These options include setting the time limit and the goal for correct/incorrect answers. This program uses C and SDL2. PR: 267373 Reported by: modex@danwin1210.de
27 lines
598 B
Makefile
27 lines
598 B
Makefile
PORTNAME= solver
|
|
DISTVERSION= 0.1
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= modex@danwin1210.de
|
|
COMMENT= Math training game using C and SDL2
|
|
WWW= https://github.com/modexsoft/solver
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= sdl
|
|
USE_SDL= image2 mixer2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= modexsoft
|
|
|
|
do-build:
|
|
${CC} ${WRKSRC}/main.c -I${LOCALBASE}/include -L${LOCALBASE}/lib \
|
|
-lSDL2 -lSDL2_image -lSDL2_mixer -o ${WRKSRC}/solver
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/solver ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|