2007-03-01 20:12:14 +01:00
|
|
|
# $NetBSD: Makefile,v 1.7 2007/03/01 19:12:21 shattered Exp $
|
2006-11-11 18:36:32 +01:00
|
|
|
|
|
|
|
DISTNAME= xmoto-0.2.2-src
|
|
|
|
PKGNAME= xmoto-0.2.2
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmoto/}
|
|
|
|
|
2006-11-16 16:57:12 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-11-11 18:36:32 +01:00
|
|
|
HOMEPAGE= http://xmoto.sourceforge.net/
|
|
|
|
COMMENT= 2D motocross plateform game
|
|
|
|
|
2007-03-01 20:12:14 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2006-11-11 18:36:32 +01:00
|
|
|
|
|
|
|
USE_X11BASE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= msgfmt autoconf automake gmake pkg-config
|
2006-11-25 13:17:51 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2006-11-11 18:36:32 +01:00
|
|
|
|
2007-03-01 20:12:14 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-11-11 18:36:32 +01:00
|
|
|
|
|
|
|
#Not needed
|
|
|
|
#CONFIGURE_ENV+= XGETTEXT=${TOOLS_PATH.xgettext:Q}
|
|
|
|
|
|
|
|
BROKEN_GETTEXT_DETECTION= yes
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2006-11-11 21:44:33 +01:00
|
|
|
.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[1-3].[0-9]*)
|
2007-03-01 20:12:14 +01:00
|
|
|
GCC_REQD+= 3.4
|
2006-11-11 21:44:33 +01:00
|
|
|
.endif
|
|
|
|
|
2006-11-11 18:36:32 +01:00
|
|
|
.if ${OPSYS} != "Linux"
|
2007-03-01 20:12:14 +01:00
|
|
|
CONFIGURE_ENV+= INTLLIBS="-lintl"
|
2006-11-11 18:36:32 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../graphics/aalib/buildlink3.mk"
|
|
|
|
.include "../../www/curl/buildlink3.mk"
|
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
2006-11-15 14:35:07 +01:00
|
|
|
.include "../../x11/libdrm/buildlink3.mk"
|
2006-11-11 18:36:32 +01:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../audio/libmikmod/buildlink3.mk"
|
|
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
|
|
.include "../../multimedia/smpeg/buildlink3.mk"
|
|
|
|
.include "../../audio/SDL_mixer/buildlink3.mk"
|
|
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
|
|
.include "../../wip/ode/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
2006-11-11 18:57:35 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2006-11-11 18:36:32 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|