openbsd-ports/games/minetest/Makefile
landry 6568187eb5 Import minetest 0.4.1.
Minetest is a free and open source infinite-world block sandbox game and
a game engine, inspired by InfiniMiner, Minecraft and the like.

ok jasper@ a while ago
2012-08-07 13:39:54 +00:00

44 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/08/07 13:39:54 landry Exp $
COMMENT = infinite-world block sandbox game
DISTNAME = minetest-0.4.1
CATEGORIES = games x11
HOMEPAGE = http://www.minetest.net/
# source LGPLv2.1/ datas CC BY-SA 3.0
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
minetest-game-0.4.1${EXTRACT_SUFX}
#https://github.com/celeron55/minetest_game/tarball/0.4.1
#https://github.com/celeron55/minetest/tarball/0.4.1
MASTER_SITES = http://rhaalovely.net/stuff/
WRKDIST= ${WRKDIR}/celeron55-minetest-e3ddbe8/
MODULES = devel/cmake \
devel/gettext
CONFIGURE_ARGS = -DENABLE_GETTEXT=ON
RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+2,-guic
LIB_DEPENDS = audio/openal \
audio/libogg \
audio/libvorbis
BUILD_DEPENDS += x11/irrlicht
WANTLIB += GL GLU ICE SM X11 Xext Xxf86vm bz2 c jpeg m ogg openal
WANTLIB += png pthread sqlite3 stdc++ vorbis vorbisfile z
post-install:
mv ${WRKDIR}/celeron55-minetest_game-6ba4f01/ \
${PREFIX}/share/minetest/games/minetest_game
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/minetest/games/minetest_game
.include <bsd.port.mk>