openbsd-ports/games/spatial/Makefile
ajacoutot bb4a2ef1d3 - MASTER_SITES is no more
- regen patches while here
no pkg change
2007-12-05 14:08:35 +00:00

35 lines
903 B
Makefile

# $OpenBSD: Makefile,v 1.5 2007/12/05 14:08:35 ajacoutot Exp $
COMMENT= 3d tetris
DISTNAME= threedee
PKGNAME= spatial-1.0.1p0
CATEGORIES= games
EXTRACT_SUFX= .tar.Z
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_BACKUP}
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
USE_X11= Yes
NO_REGRESS= Yes
WANTLIB= c m X11
.include <bsd.port.mk>