2011-12-02 09:36:13 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2011/12/02 14:36:14 espie Exp $
|
2003-04-09 09:50:10 -04:00
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
COMMENT= 2.5 dimensional tetris-like game
|
2003-04-09 09:50:10 -04:00
|
|
|
|
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
|
2003-04-09 09:50:10 -04:00
|
|
|
CATEGORIES= games x11
|
|
|
|
MASTER_SITES= ${HOMEPAGE}src/
|
|
|
|
|
2007-12-06 11:14:14 -05:00
|
|
|
HOMEPAGE= http://xnc.jinr.ru/xwelltris/
|
2003-04-09 09:50:10 -04:00
|
|
|
|
|
|
|
# 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++
|
2003-04-09 09:50:10 -04:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
FLAVORS= no_sdl
|
|
|
|
FLAVOR?=
|
|
|
|
|
2011-12-02 09:36:13 -05:00
|
|
|
.if ${FLAVOR:Mno_sdl}
|
2003-04-09 09:50:10 -04:00
|
|
|
CONFIGURE_ARGS+=--with-x
|
2009-08-10 02:29:51 -04:00
|
|
|
WANTLIB+= ICE SM X11 Xext pthread-stubs xcb
|
2003-04-09 09:50:10 -04:00
|
|
|
.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
|
2003-04-09 09:50:10 -04:00
|
|
|
.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
|
2003-04-09 09:50:10 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|