2017-10-23 17:10:49 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2017/10/23 17:10:49 sthen Exp $
|
2005-09-09 08:26:58 +00:00
|
|
|
|
2007-09-15 18:01:00 +00:00
|
|
|
COMMENT= 3d tetris
|
2005-09-09 08:26:58 +00:00
|
|
|
|
|
|
|
DISTNAME= threedee
|
2010-11-16 11:23:25 +00:00
|
|
|
PKGNAME= spatial-1.0.1
|
2017-10-23 17:10:49 +00:00
|
|
|
REVISION = 2
|
2005-09-09 08:26:58 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2007-12-05 14:08:35 +00:00
|
|
|
# BSD
|
2005-09-09 08:26:58 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2013-03-11 11:02:49 +00:00
|
|
|
NO_TEST= Yes
|
2017-10-23 17:10:49 +00:00
|
|
|
WANTLIB= X11 c m xcb
|
2005-09-10 17:23:08 +00:00
|
|
|
|
2005-09-09 08:26:58 +00:00
|
|
|
.include <bsd.port.mk>
|