openbsd-ports/games/xwelltris/Makefile

45 lines
971 B
Makefile
Raw Normal View History

2011-12-02 09:36:13 -05:00
# $OpenBSD: Makefile,v 1.12 2011/12/02 14:36:14 espie Exp $
COMMENT= 2.5 dimensional tetris-like game
2005-09-04 19:29:09 -04:00
DISTNAME= xwelltris-1.0.1
DISTFILES= ${DISTNAME}.src.tar.gz
2010-11-08 18:12:31 -05:00
REVISION = 2
CATEGORIES= games x11
MASTER_SITES= ${HOMEPAGE}src/
2007-12-06 11:14:14 -05:00
HOMEPAGE= http://xnc.jinr.ru/xwelltris/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2007-12-06 11:14:14 -05:00
WANTLIB= c m stdc++
NO_REGRESS= Yes
CONFIGURE_STYLE=gnu
FLAVORS= no_sdl
FLAVOR?=
2011-12-02 09:36:13 -05:00
.if ${FLAVOR:Mno_sdl}
CONFIGURE_ARGS+=--with-x
WANTLIB+= ICE SM X11 Xext pthread-stubs xcb
.else
CONFIGURE_ARGS+=--with-sdl
2010-11-16 06:23:25 -05:00
LIB_DEPENDS= devel/sdl-image
2010-11-08 18:12:31 -05:00
WANTLIB+= SDL pthread SDL_image
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xwelltris ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/xwelltris
${INSTALL_DATA} ${WRKSRC}/data/*.{dat,gif} \
${WRKSRC}/README.keys ${PREFIX}/share/xwelltris
2005-09-04 19:29:09 -04:00
${INSTALL_DATA} /dev/null ${PREFIX}/share/xwelltris/welltris.scores.template
.include <bsd.port.mk>