openbsd-ports/games/lbreakout2/Makefile
benoit 1bf9b9622e - update lbreakout2 to 2.6.1
- update patches
- update CONFIGURE_ARGS
- change CONFIGURE_STYLE

with tweaks and ok spotted by naddy@, thanks !
2010-01-09 10:03:05 +00:00

39 lines
954 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.16 2010/01/09 10:03:05 benoit Exp $
COMMENT = breakout game with many levels, powerups, good graphics
DISTNAME = lbreakout2-2.6.1
CATEGORIES = games x11
HOMEPAGE = http://lgames.sourceforge.net/index.php?action=show_project&project=LBreakout2
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = SDL c m pthread z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=lgames/}
MODULES = devel/gettext
LIB_DEPENDS = SDL_mixer::devel/sdl-mixer \
png.>=9.0::graphics/png
RUN_DEPENDS = :desktop-file-utils-*:devel/desktop-file-utils
USE_X11 = Yes
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --localstatedir=/var/games \
--with-docdir=${PREFIX}/share/doc
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-lintl -liconv"
.include <bsd.port.mk>