svn commit: r318209 - in head/games: . openxcom openxcom/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed May 15 00:17:22 UTC 2013
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 <amdmi3 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= openxcom
+PORTVERSION= 0.9.0
+CATEGORIES= games
+
+MAINTAINER= amdmi3 at 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 <bsd.port.options.mk>
+
+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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list