2018-08-09 03:20:31 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2018/08/09 03:20:31 kirby Exp $
|
2008-09-22 12:43:31 +00:00
|
|
|
|
|
|
|
COMMENT = terminal-based tetris clone in vein of nintendo tetris
|
2013-07-14 07:12:22 +00:00
|
|
|
DISTNAME = vitetris-0.57
|
2008-09-22 12:43:31 +00:00
|
|
|
CATEGORIES = games
|
2018-08-09 03:20:31 +00:00
|
|
|
REVISION = 2
|
2008-09-22 12:43:31 +00:00
|
|
|
|
|
|
|
HOMEPAGE = http://victornils.net/tetris/
|
|
|
|
|
|
|
|
MAINTAINER = Ryan Freeman <ryan@slipgate.org>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
|
|
|
WANTLIB = c ncurses
|
|
|
|
|
|
|
|
MASTER_SITES = http://victornils.net/tetris/
|
|
|
|
|
2013-07-14 07:12:22 +00:00
|
|
|
RUN_DEPENDS = devel/desktop-file-utils
|
|
|
|
|
2008-09-22 12:43:31 +00:00
|
|
|
CONFIGURE_STYLE = simple
|
|
|
|
CONFIGURE_ARGS = --prefix=${PREFIX} \
|
|
|
|
curses="-lncurses" \
|
|
|
|
xlib=no
|
|
|
|
|
|
|
|
ALL_TARGET = # empty
|
2013-03-11 11:02:49 +00:00
|
|
|
NO_TEST = Yes
|
2008-09-22 12:43:31 +00:00
|
|
|
|
|
|
|
CFLAGS+= -fsigned-char
|
|
|
|
|
2018-08-09 03:20:31 +00:00
|
|
|
post-extract:
|
|
|
|
sed -i 's,Exec=tetris,Exec=vitetris,' ${WRKSRC}/vitetris.desktop
|
2008-09-22 12:43:31 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vitetris
|
|
|
|
${INSTALL_DATA} /dev/null \
|
|
|
|
${PREFIX}/share/examples/vitetris/vitetris-hiscores
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|