openbsd-ports/games/blobwars/Makefile
kili 9efe957859 - Don't try to close joysticks that have never been opened (and do not
even exist, although reported as existing by SDL).
  From Antti Harri <iku@openbsd.fi>.

- Don't pass -1 to a function expecting an unsigned int (ugly quick-fix
  by adding a cast; I'll suggest upstream to fix this in a better way).

- Fix an sizeof (char *) error.

The latter two fix the build on arm.
2011-04-02 17:39:33 +00:00

47 lines
982 B
Makefile

# $OpenBSD: Makefile,v 1.6 2011/04/02 17:39:33 kili Exp $
COMMENT = 2D arcade game
DISTNAME = blobwars-1.18
REVISION = 1
CATEGORIES = games
HOMEPAGE = http://sourceforge.net/projects/blobwars/
MAINTAINER = Matthias Kilian <kili@openbsd.org>
# GPLv2+ except for some audios licensed CC-BY-SA 3.0, CC-BY 3.0,
# LGPLv2.1, BSD, GPLv2, "Public Domain", "Fair use".
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = SDL SDL_image SDL_mixer SDL_net SDL_ttf c m pthread stdc++ z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=blobwars/}
MODULES = devel/gettext
LIB_DEPENDS = devel/sdl-image \
devel/sdl-mixer \
devel/sdl-net \
devel/sdl-ttf
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+2
MAKE_ENV += CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
CXX=${CXX}
USE_X11 = Yes
USE_GMAKE = Yes
NO_REGRESS = Yes
MAKE_FILE = makefile
.include <bsd.port.mk>