3667a2229c
LOVE is a framework for making 2D games in the Lua programming language. LOVE is totally free, and can be used in anything from friendly open-source hobby projects, to evil, closed-source commercial ones. We need multiple versions as games were written for the older versions.
50 lines
1.7 KiB
Makefile
50 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2018/09/30 19:21:18 maya Exp $
|
|
|
|
DISTNAME= love-0.10.2-linux-src
|
|
PKGNAME= ${DISTNAME:S/-linux-src//:S/love/love010/}
|
|
CATEGORIES= games
|
|
MASTER_SITES= https://bitbucket.org/rude/love/downloads/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://love2d.org/
|
|
COMMENT= Framework for making 2D games in Lua
|
|
LICENSE= zlib
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-linux-src//}
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_TOOLS+= pkg-config
|
|
USE_LIBTOOL= yes
|
|
|
|
LUA_VERSIONS_INCOMPATIBLE= 52
|
|
|
|
# JIT needs WX mappings
|
|
NOT_PAX_MPROTECT_SAFE+= love0.10/bin/love
|
|
|
|
GNU_CONFIGURE_PREFIX= ${PREFIX}/love0.10
|
|
GNU_CONFIGURE_MANDIR= ${PREFIX}/love0.10/${PKGMANDIR}/
|
|
BUILDLINK_PASSTHRU_DIRS+= ${PREFIX}/love0.10/lib
|
|
BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/love0.10/lib
|
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../devel/SDL2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.physfs+= physfs>=2.0
|
|
.include "../../devel/physfs/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../audio/openal-soft/buildlink3.mk"
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
.include "../../lang/LuaJIT2/buildlink3.mk"
|
|
.include "../../devel/devIL/buildlink3.mk"
|
|
.include "../../devel/libltdl/buildlink3.mk"
|
|
.include "../../audio/libmodplug/buildlink3.mk"
|
|
.include "../../multimedia/libtheora/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../audio/mpg123/buildlink3.mk"
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
.include "../../graphics/mng/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
|
.include "../../x11/libXxf86vm/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|