bcallah 35d95ff3eb Import games/cgames
ok benoit@

cgames is a suite of games for the console.
Included are the following games:

* cblocks -- sliding-block puzzles
* cmines -- minesweeper
* csokoban -- sokoban
2014-12-01 23:12:08 +00:00

34 lines
765 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2014/12/01 23:12:08 bcallah Exp $
COMMENT = free console games suite
DISTNAME = cgames-2.2a
CATEGORIES = games
HOMEPAGE = http://www.muppetlabs.com/~breadbox/software/cgames.html
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c ncurses
MASTER_SITES = http://www.muppetlabs.com/~breadbox/pub/software/
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --datarootdir="${LOCALBASE}/share/cgames" \
--disable-mouse \
--with-ncurses
USE_GMAKE = Yes
FAKE_FLAGS = bindir="${DESTDIR}${PREFIX}/bin" \
datadir="${DESTDIR}${PREFIX}/share/cgames" \
mandir="${DESTDIR}${PREFIX}/man"
NO_TEST = Yes
pre-configure:
perl -pi -e "s,make,${GMAKE},g" ${WRKSRC}/Makefile
.include <bsd.port.mk>