From owner-svn-ports-head@FreeBSD.ORG Tue Mar 25 14:41:19 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF1FBC83; Tue, 25 Mar 2014 14:41:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BBFFB3A6; Tue, 25 Mar 2014 14:41:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2PEfJ3k033131; Tue, 25 Mar 2014 14:41:19 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2PEfITG033126; Tue, 25 Mar 2014 14:41:18 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201403251441.s2PEfITG033126@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Tue, 25 Mar 2014 14:41:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349148 - in head/games: . craft X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 14:41:19 -0000 Author: danilo Date: Tue Mar 25 14:41:18 2014 New Revision: 349148 URL: http://svnweb.freebsd.org/changeset/ports/349148 QAT: https://qat.redports.org/buildarchive/r349148/ Log: Add new port: games/craft Craft is a Minecraft clone. Just a few thousand lines of C using modern OpenGL (shaders). Online multiplayer support is included using a Python-based server. Added: head/games/craft/ head/games/craft/Makefile (contents, props changed) head/games/craft/distinfo (contents, props changed) head/games/craft/pkg-descr (contents, props changed) head/games/craft/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Tue Mar 25 14:39:54 2014 (r349147) +++ head/games/Makefile Tue Mar 25 14:41:18 2014 (r349148) @@ -156,6 +156,7 @@ SUBDIR += cosmosmash SUBDIR += cowsay SUBDIR += crack-attack + SUBDIR += craft SUBDIR += crafty SUBDIR += crafty-open-enormous SUBDIR += crafty-open-large Added: head/games/craft/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/craft/Makefile Tue Mar 25 14:41:18 2014 (r349148) @@ -0,0 +1,45 @@ +# Created by: Danilo Egea Gondolfo +# $FreeBSD$ + +PORTNAME= craft +PORTVERSION= 1.0 +CATEGORIES= games +MASTER_SITES= GH + +MAINTAINER= danilo@FreeBSD.org +COMMENT= Simple Minecraft clone written in C using modern OpenGL + +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl + +USE_GITHUB= yes +GH_ACCOUNT= daniloegea +GH_PROJECT= Craft +GH_TAGNAME= v1.0fbsd + +OPTIONS_DEFINE= SERVER +SERVER_DESC= Install the craft server +OPTIONS_DEFAULT= SERVER +OPTIONS_SUB= yes + +WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-fdf801f + +USES= cmake compiler:c11 +USE_XORG= x11 xi xrandr +USE_GL= gl glu + +SERVER_USE= PYTHON=yes +SERVER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.2:${PORTSDIR}/www/py-requests \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 +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 Added: head/games/craft/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/craft/distinfo Tue Mar 25 14:41:18 2014 (r349148) @@ -0,0 +1,2 @@ +SHA256 (craft-1.0.tar.gz) = a98ec03fe94b60beecb5c72a8d4fc9d5f16e525d1ab6614ec0c45f19e4c609ce +SIZE (craft-1.0.tar.gz) = 2373956 Added: head/games/craft/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/craft/pkg-descr Tue Mar 25 14:41:18 2014 (r349148) @@ -0,0 +1,9 @@ +Craft is a Minecraft clone. +Just a few thousand lines of C using modern OpenGL (shaders). +Online multiplayer support is included using a Python-based server. + +This version is adapted to build, install and run on FreeBSD. + +Craft was created by Michael Fogleman. + +WWW: http://www.michaelfogleman.com/craft/ Added: head/games/craft/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/craft/pkg-plist Tue Mar 25 14:41:18 2014 (r349148) @@ -0,0 +1,19 @@ +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 +@dirrmtry %%DATADIR%%/textures +@dirrmtry %%DATADIR%%/shaders +@dirrmtry %%DATADIR%%