openbsd-ports/games/xlife/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

2010-11-16 06:23:25 -05:00
# $OpenBSD: Makefile,v 1.28 2010/11/16 11:23:29 espie Exp $
COMMENT= John Horton Conway's Game of Life
1998-05-19 19:28:10 -04:00
DISTNAME= xlife-5.3
2010-11-16 06:23:25 -05:00
REVISION = 3
1998-05-19 19:28:10 -04:00
CATEGORIES= games
2002-10-26 16:44:38 -04:00
HOMEPAGE= http://www.catb.org/~esr/software.html
2008-08-19 20:06:02 -04:00
MASTER_SITES = ${MASTER_SITE_OPENBSD}
2000-03-18 22:50:18 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2007-11-13 09:54:30 -05:00
WANTLIB= X11 Xau Xdmcp Xext c curses pthread-stubs termcap xcb
2000-02-12 01:29:49 -05:00
CONFIGURE_STYLE= imake
WRKSRC= ${WRKDIST}/xlife
MAKE_FLAGS=XLIFEPATSDIR=${PREFIX}/share/xlife
FAKE_FLAGS=XLIFEPATSDIR=${TRUEPREFIX}/share/xlife
2002-10-26 16:44:38 -04:00
NO_REGRESS= Yes
2010-10-18 14:00:15 -04:00
USE_GROFF = Yes
2002-10-26 16:44:38 -04:00
post-build:
cd ${WRKDIST}/lifesrc-3.5 && ${MAKE} CFLAGS="${CFLAGS}"
1998-05-19 19:28:10 -04:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/xlife
# XXX ESR is a slob, use PLIST to trim idiotic stuff
cp -r ${WRKDIST}/patterns ${PREFIX}/share/xlife
${INSTALL_PROGRAM} ${WRKDIST}/lifesrc-3.5/lifesrc ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIST}/lifesrc-3.5/lifesrcdumb ${PREFIX}/bin
cd ${PREFIX}/man/cat6 && ln -f xlife.0 lifeconv.0
#pre-install:
# @cd ${WRKSRC}; ${MAKE} install.patterns
1998-05-19 19:28:10 -04:00
.include <bsd.port.mk>