openbsd-ports/games/spatial/Makefile

36 lines
931 B
Makefile
Raw Normal View History

2010-11-16 06:23:25 -05:00
# $OpenBSD: Makefile,v 1.9 2010/11/16 11:23:28 espie Exp $
2005-09-09 04:26:58 -04:00
COMMENT= 3d tetris
2005-09-09 04:26:58 -04:00
DISTNAME= threedee
2010-11-16 06:23:25 -05:00
PKGNAME= spatial-1.0.1
REVISION = 1
2005-09-09 04:26:58 -04:00
CATEGORIES= games
EXTRACT_SUFX= .tar.Z
# BSD
2005-09-09 04:26:58 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_BACKUP}
2005-09-09 04:26:58 -04:00
WRKBUILD= ${WRKDIST}/spatial
PIECEFILE=${PREFIX}/share/spatial/spatial.shp
SCOREFILE=${PREFIX}/share/spatial/spatial.sco
MAKE_FLAGS=CFLAGS='${CFLAGS} -DSCOREFILENAME=\"$(SCOREFILE)\" -DPIECEFILENAME=\"$(PIECEFILE)\" -I${X11BASE}/include' XLIBS="-L${X11BASE}/lib -lX11"
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/spatial ${PREFIX}/bin
${INSTALL_MAN} ${WRKBUILD}/spatial.6 ${PREFIX}/man/man6
${INSTALL_DATA_DIR} ${PREFIX}/share/spatial
${INSTALL_DATA} ${WRKBUILD}/spatial.shp ${PREFIX}/share/spatial/spatial.shp
2010-10-18 14:00:15 -04:00
USE_GROFF = Yes
2005-09-10 13:23:08 -04:00
NO_REGRESS= Yes
WANTLIB= X11 c m pthread-stubs xcb
2005-09-10 13:23:08 -04:00
2005-09-09 04:26:58 -04:00
.include <bsd.port.mk>