pkgsrc/games/lbreakout2/Makefile
wiz e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2010/06/13 22:44:21 wiz Exp $
DISTNAME= lbreakout2-2.5.2
PKGREVISION= 8
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lgames/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lgames.sourceforge.net/
COMMENT= Breakout-style arcade game
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}/games
CONFIGURE_ARGS+= --with-highscore-path=${PREFIX}/share/games/
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/html
LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Msunpro)
SUBST_CLASSES+= sunpro
SUBST_STAGE.sunpro= pre-configure
SUBST_MESSAGE.sunpro= Removing "inline" for SunPro.
SUBST_FILES.sunpro= common/tools.h common/tools.c
SUBST_SED.sunpro= -e 's,^inline ,,'
.endif
CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/lbreakout2.hscr \
${REAL_ROOT_USER} games 664
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"