pkgsrc/graphics/clanlib/Makefile
fredb b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00

51 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2002/03/13 17:37:04 fredb Exp $
DISTNAME= ClanLib-0.4.4
PKGREVISION= 1
CATEGORIES= graphics games devel x11
MASTER_SITES= http://dark.x.dtu.dk/~mbn/clanlib/download/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.clanlib.org/
COMMENT= The ClanLib Game SDK
USE_BUILDLINK_ONLY= yes
USE_X11BASE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-asm386
.else
CONFIGURE_ARGS+= --disable-asm386
.endif
CONFIGURE_ARGS+= --enable-libpng
CONFIGURE_ARGS+= --enable-clansound
CONFIGURE_ARGS+= --enable-dyn
CONFIGURE_ARGS+= --enable-network
CONFIGURE_ARGS+= --enable-mesa
CONFIGURE_ARGS+= --disable-ggi
CONFIGURE_ARGS+= --disable-vidmode
CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}"
MAKE_ENV+= X11BASE="${X11BASE}"
post-patch:
${CHMOD} +x ${WRKSRC}/configure
.include "../../mk/bsd.prefs.mk"
.include "../../graphics/hermes/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../graphics/Mesa/buildlink.mk"
.include "../../devel/pth/buildlink.mk"
.include "../../mk/ossaudio.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
.if ${OPSYS} == "NetBSD"
BROKEN_LIBZ!=${AR} t /usr/lib/libz.a | ${GREP} -w example.o || ${ECHO} "false"
.if !empty(BROKEN_LIBZ:Mexample.o)
BROKEN= "Update to NetBSD 1.4.1, or recompile /usr/lib/libz without example.c"
.endif
.endif