Index: head/games/craft/Makefile =================================================================== --- head/games/craft/Makefile (revision 533123) +++ head/games/craft/Makefile (revision 533124) @@ -1,47 +1,25 @@ # Created by: Danilo Egea Gondolfo # $FreeBSD$ PORTNAME= craft PORTVERSION= 1.0 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= fbsd -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MAINTAINER= danilo@FreeBSD.org COMMENT= Simple Minecraft clone written in C using modern OpenGL -DEPRECATED= Uses deprecated version of python -EXPIRATION_DATE= 2020-08-15 - LIB_DEPENDS= libcurl.so:ftp/curl +USES= cmake:insource compiler:c11 gl xorg + USE_GITHUB= yes GH_ACCOUNT= daniloegea GH_PROJECT= Craft -OPTIONS_DEFINE= SERVER -SERVER_DESC= Install the craft server -OPTIONS_DEFAULT= SERVER -OPTIONS_SUB= yes - -USES= cmake:insource compiler:c11 gl xorg -USE_XORG= x11 xi xrandr +USE_XORG= x11 xi xrandr xxf86vm USE_GL= gl glu - -SERVER_USES= python:2.7 -SERVER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.2:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} -SERVER_CMAKE_ON= -DSERVER:BOOL=ON - -.include - -post-install: -.if ${PORT_OPTIONS:MSERVER} - @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} - ${INSTALL_DATA} ${WRKSRC}/world.py ${STAGEDIR}${PYTHON_SITELIBDIR}/craft_world.py - ${INSTALL_SCRIPT} ${WRKSRC}/server.py ${STAGEDIR}${PREFIX}/bin/craft-server - ${INSTALL_LIB} ${WRKSRC}/libworld.so ${STAGEDIR}${PREFIX}/lib/libcraft-world.so -.endif .include Index: head/games/craft/pkg-plist =================================================================== --- head/games/craft/pkg-plist (revision 533123) +++ head/games/craft/pkg-plist (revision 533124) @@ -1,16 +1,13 @@ bin/craft -%%SERVER%%bin/craft-server -%%SERVER%%lib/libcraft-world.so -%%SERVER%%%%PYTHON_SITELIBDIR%%/craft_world.py %%DATADIR%%/shaders/block_fragment.glsl %%DATADIR%%/shaders/block_vertex.glsl %%DATADIR%%/shaders/line_fragment.glsl %%DATADIR%%/shaders/line_vertex.glsl %%DATADIR%%/shaders/sky_fragment.glsl %%DATADIR%%/shaders/sky_vertex.glsl %%DATADIR%%/shaders/text_fragment.glsl %%DATADIR%%/shaders/text_vertex.glsl %%DATADIR%%/textures/font.png %%DATADIR%%/textures/sign.png %%DATADIR%%/textures/sky.png %%DATADIR%%/textures/texture.png