From owner-svn-ports-head@FreeBSD.ORG Wed May 15 00:17:22 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 056CCD1E; Wed, 15 May 2013 00:17:22 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EA5EE907; Wed, 15 May 2013 00:17:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4F0HLVv062907; Wed, 15 May 2013 00:17:21 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4F0HKsw062902; Wed, 15 May 2013 00:17:20 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201305150017.r4F0HKsw062902@svn.freebsd.org> From: Dmitry Marakasov Date: Wed, 15 May 2013 00:17:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318209 - in head/games: . openxcom openxcom/files 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.14 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: Wed, 15 May 2013 00:17:22 -0000 Author: amdmi3 Date: Wed May 15 00:17:20 2013 New Revision: 318209 URL: http://svnweb.freebsd.org/changeset/ports/318209 Log: OpenXcom is an open-source clone of the popular UFO: Enemy Unknown (X-Com: UFO Defense in USA) videogame by Microprose, licensed under the GPL and written in C++ / SDL. WWW: http://openxcom.org Added: head/games/openxcom/ head/games/openxcom/Makefile (contents, props changed) head/games/openxcom/distinfo (contents, props changed) head/games/openxcom/files/ head/games/openxcom/files/pkg-message.in (contents, props changed) head/games/openxcom/pkg-descr (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Tue May 14 23:31:58 2013 (r318208) +++ head/games/Makefile Wed May 15 00:17:20 2013 (r318209) @@ -690,6 +690,7 @@ SUBDIR += opensonic SUBDIR += openssn SUBDIR += openttd + SUBDIR += openxcom SUBDIR += openyahtzee SUBDIR += optimax SUBDIR += orbital_eunuchs_sniper Added: head/games/openxcom/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openxcom/Makefile Wed May 15 00:17:20 2013 (r318209) @@ -0,0 +1,58 @@ +# Created by: Dmitry Marakasov +# $FreeBSD$ + +PORTNAME= openxcom +PORTVERSION= 0.9.0 +CATEGORIES= games + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Open-source reimplementation of the original X-Com + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= yaml-cpp:${PORTSDIR}/devel/yaml-cpp + +USE_GITHUB= yes +GH_ACCOUNT= SupSuper +GH_PROJECT= OpenXcom +GH_TAGNAME= v0.9 +GH_COMMIT= 5c8b540 + +USE_GMAKE= yes +USE_SDL= sdl mixer image gfx +USE_GL= gl +MAKE_JOBS_SAFE= yes +USE_GCC= 4.6+ + +BUILD_WRKSRC= ${WRKSRC}/src +MAKEFILE= Makefile.simple + +SUB_FILES= pkg-message + +PLIST_FILES= bin/openxcom + +PORTDOCS= * +PORTDATA= * + +.include + +post-patch: + @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/pch.h \ + ${WRKSRC}/src/Engine/Surface.cpp + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/README.txt \ + ${WRKSRC}/src/Engine/CrossPlatform.cpp + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/ +.if !defined(NOPORTDATA) + ${MKDIR} ${DATADIR} + cd ${WRKSRC}/bin && ${COPYTREE_SHARE} data ${DATADIR}/ +.endif +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/ +.endif + @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} + +.include Added: head/games/openxcom/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openxcom/distinfo Wed May 15 00:17:20 2013 (r318209) @@ -0,0 +1,2 @@ +SHA256 (openxcom-0.9.0.tar.gz) = 340ff7292baa9a2b7ce4b244cc6dc0200c1d3b807a59087ef9827bba5c135634 +SIZE (openxcom-0.9.0.tar.gz) = 1540556 Added: head/games/openxcom/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openxcom/files/pkg-message.in Wed May 15 00:17:20 2013 (r318209) @@ -0,0 +1,14 @@ +========================================================================== + +OpenXcom requires original UFO: Enemy Unknown / X-Com: UFO Defense +data files. Please copy all subfolders from original game into +%%PREFIX%%/share/openxcom/data directory. + +Also note that if you get "GMDEFENT NOT FOUND" message, you need +to patch your UFO to at least version 1.4. See + +http://openxcom.org/forum/index.php?topic=1129.0 + +for reference. + +========================================================================== Added: head/games/openxcom/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/openxcom/pkg-descr Wed May 15 00:17:20 2013 (r318209) @@ -0,0 +1,5 @@ +OpenXcom is an open-source clone of the popular +UFO: Enemy Unknown (X-Com: UFO Defense in USA) videogame by +Microprose, licensed under the GPL and written in C++ / SDL. + +WWW: http://openxcom.org