39 lines
828 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.8 2018/08/09 03:20:31 kirby Exp $
COMMENT = terminal-based tetris clone in vein of nintendo tetris
DISTNAME = vitetris-0.57
CATEGORIES = games
REVISION = 2
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/
RUN_DEPENDS = devel/desktop-file-utils
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
CFLAGS+= -fsigned-char
post-extract:
sed -i 's,Exec=tetris,Exec=vitetris,' ${WRKSRC}/vitetris.desktop
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vitetris
${INSTALL_DATA} /dev/null \
${PREFIX}/share/examples/vitetris/vitetris-hiscores
.include <bsd.port.mk>