openbsd-ports/games/blobwars/Makefile
ajacoutot a1b7c39eb5 gtk-update-icon-cache:
Don't redirect errors to /dev/null and don't return true(1)
unconditionally. Instead, don't check for the existence of index.theme.
This will allow us to catch errors that may be happening because of a
missing dependency in the chain.

Some hidden issues may appear, in which case please contact me.

discussed with and ok blind jasper@
2012-06-15 08:32:14 +00:00

47 lines
993 B
Makefile

# $OpenBSD: Makefile,v 1.11 2012/06/15 08:32:15 ajacoutot Exp $
COMMENT = 2D arcade game
DISTNAME = blobwars-1.19
REVISION= 3
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,-guic
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>