1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/games/vitetris/Makefile
2021-04-06 16:31:07 +02:00

41 lines
1.0 KiB
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
PORTNAME= vitetris
PORTVERSION= 0.59.1
DISTVERSIONPREFIX= v
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Terminal-based Tetris clone in vein of Nintendo Tetris
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/licence.txt
USE_GITHUB= yes
GH_ACCOUNT= vicgeralds
USES= ncurses
HAS_CONFIGURE= yes
ALL_TARGET= #
CONFIGURE_ARGS= --prefix=${PREFIX} --datarootdir=${PREFIX}/share \
curses="-lncurses" xlib=no
MAKE_ENV= HISCORE_FILENAME=/var/games/vitetris-hiscores
MAKE_JOBS_UNSAFE= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tetris ${STAGEDIR}${PREFIX}/bin/vitetris
${INSTALL_DATA} ${WRKSRC}/vitetris.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/vitetris.desktop ${STAGEDIR}${PREFIX}/share/applications
@${MKDIR} ${STAGEDIR}/var/games
${TOUCH} ${STAGEDIR}/var/games/vitetris-hiscores.sample
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/changes.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>