bentley c300deadcf Import xgalaga-sdl-2.1.1.0.
XGalaga is a clone of the classic game Galaga for the X Window system.
It is a Space Invaders-like game with additional features to produce a
more interesting game.

ok naddy@
2013-10-20 17:37:36 +00:00

32 lines
744 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/10/20 17:37:36 bentley Exp $
COMMENT = clone of Galaga, 2D space shooter
V = 2.1.1.0
DISTNAME = xgalaga-sdl-${V}-sdl
PKGNAME = xgalaga-sdl-${V}
CATEGORIES = games
HOMEPAGE = http://sourceforge.net/projects/xgalaga-sdl/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += SDL SDL_gfx SDL_image SDL_mixer SDL_ttf c pthread
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=xgalaga-sdl/}
EXTRACT_SUFX = .tar.bz2
LIB_DEPENDS = devel/sdl-gfx \
devel/sdl-image \
devel/sdl-mixer \
devel/sdl-ttf
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --datadir=${PREFIX}/share/xgalaga-sdl
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
.include <bsd.port.mk>