openbsd-ports/games/enigma/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

53 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2012/06/15 08:32:15 ajacoutot Exp $
COMMENT= Oxyd/Rock'n'Roll clone
V= 1.01
DISTNAME= enigma-${V}-64bit
PKGNAME= enigma-${V}
REVISION = 3
CATEGORIES= games x11
HOMEPAGE= http://www.nongnu.org/enigma/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= SDL c m enet pthread stdc++ z SDL_image>=1 \
SDL_mixer>=2 SDL_ttf>=7 png>=8 zipios>=1 \
xerces-c
MASTER_SITES= ${MASTER_SITE_BERLIOS:=enigma-game/}
WRKDIST= ${WRKDIR}/enigma-${V}
MODULES= devel/gettext
RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+2,-guic
LIB_DEPENDS= devel/sdl-image \
devel/sdl-mixer \
devel/sdl-ttf \
net/enet>=1.3.3 \
graphics/png \
archivers/zipios \
textproc/xerces-c
USE_GMAKE= Yes
USE_GROFF = Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-cxxlua=no
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng \
-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib \
-L${LOCALBASE}/lib" \
LIBS="-lm -lz -lenet -pthread"
.include <bsd.port.mk>