FreeBSD Bugzilla – Attachment 172102 Details for
Bug 210819
[NEW PORT] games/openomf: Rewritten engine for One Must Fall 2097
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Port directory
openomf.shar (text/plain), 9.08 KB, created by
devel
on 2016-07-04 14:51:31 UTC
(
hide
)
Description:
Port directory
Filename:
MIME Type:
Creator:
devel
Created:
2016-07-04 14:51:31 UTC
Size:
9.08 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># openomf ># openomf/pkg-plist ># openomf/Makefile ># openomf/pkg-descr ># openomf/distinfo ># openomf/files ># openomf/files/patch-dumb_CMakeLists.txt ># openomf/files/patch-main.c ># openomf/files/patch-new-CMakeLists.txt ># openomf/files/patch-pathmanager.c ># >echo c - openomf >mkdir -p openomf > /dev/null 2>&1 >echo x - openomf/pkg-plist >sed 's/^X//' >openomf/pkg-plist << '4cbbef8c9372e2ec514dc7a3e1574f03' >Xbin/openomf >X%%DATADIR%%/ALTPALS.DAT >X%%DATADIR%%/ARENA0.BK >X%%DATADIR%%/ARENA0.PSM >X%%DATADIR%%/ARENA1.BK >X%%DATADIR%%/ARENA1.PSM >X%%DATADIR%%/ARENA2.BK >X%%DATADIR%%/ARENA2.PSM >X%%DATADIR%%/ARENA3.BK >X%%DATADIR%%/ARENA3.PSM >X%%DATADIR%%/ARENA4.BK >X%%DATADIR%%/ARENA4.PSM >X%%DATADIR%%/CHARSMAL.DAT >X%%DATADIR%%/CREDITS.BK >X%%DATADIR%%/DOS4GW.EXE >X%%DATADIR%%/END.BK >X%%DATADIR%%/END.PSM >X%%DATADIR%%/END1.BK >X%%DATADIR%%/END2.BK >X%%DATADIR%%/ENGLISH.DAT >X%%DATADIR%%/FIGHTR0.AF >X%%DATADIR%%/FIGHTR1.AF >X%%DATADIR%%/FIGHTR10.AF >X%%DATADIR%%/FIGHTR2.AF >X%%DATADIR%%/FIGHTR3.AF >X%%DATADIR%%/FIGHTR4.AF >X%%DATADIR%%/FIGHTR5.AF >X%%DATADIR%%/FIGHTR6.AF >X%%DATADIR%%/FIGHTR7.AF >X%%DATADIR%%/FIGHTR8.AF >X%%DATADIR%%/FIGHTR9.AF >X%%DATADIR%%/FILE0001.EXE >X%%DATADIR%%/FILE_ID.DIZ >X%%DATADIR%%/GERMAN.DAT >X%%DATADIR%%/GRAPHCHR.DAT >X%%DATADIR%%/HELPME.DOC >X%%DATADIR%%/HELPME.EXE >X%%DATADIR%%/INTRO.BK >X%%DATADIR%%/KATUSHAI.BK >X%%DATADIR%%/KATUSHAI.PIC >X%%DATADIR%%/KATUSHAI.TRN >X%%DATADIR%%/LICENSE.DOC >X%%DATADIR%%/MAIN.BK >X%%DATADIR%%/MANUAL.DOC >X%%DATADIR%%/MASTER.DAT >X%%DATADIR%%/MDRV000R.MUS >X%%DATADIR%%/MDRV001R.MUS >X%%DATADIR%%/MDRV003R.MUS >X%%DATADIR%%/MDRV004R.MUS >X%%DATADIR%%/MDRV005R.MUS >X%%DATADIR%%/MECHLAB.BK >X%%DATADIR%%/MELEE.BK >X%%DATADIR%%/MENU.PSM >X%%DATADIR%%/MODEMS.TXT >X%%DATADIR%%/NETARENA.EXE >X%%DATADIR%%/NETARENA.PCX >X%%DATADIR%%/NETEPIC.BBS >X%%DATADIR%%/NETEPIC.PCX >X%%DATADIR%%/NETFONT1.PCX >X%%DATADIR%%/NETFONT2.PCX >X%%DATADIR%%/NETIPX.EXE >X%%DATADIR%%/NETMEGA.PCX >X%%DATADIR%%/NETMODEM.EXE >X%%DATADIR%%/NETSET.PCX >X%%DATADIR%%/NETTERM.EXE >X%%DATADIR%%/NETTERM.INT >X%%DATADIR%%/NEWSROOM.BK >X%%DATADIR%%/NORTH_AM.BK >X%%DATADIR%%/NORTH_AM.PIC >X%%DATADIR%%/NORTH_AM.TRN >X%%DATADIR%%/OMF-END.BIN >X%%DATADIR%%/OMF.EXE >X%%DATADIR%%/OMF.ICO >X%%DATADIR%%/OMF.PIF >X%%DATADIR%%/OMF_END.BIN >X%%DATADIR%%/ORDER.DOC >X%%DATADIR%%/ORDER.EXE >X%%DATADIR%%/ORDER_DE.DOC >X%%DATADIR%%/ORDER_UK.DOC >X%%DATADIR%%/PLAYERS.PIC >X%%DATADIR%%/RANDOM.DAT >X%%DATADIR%%/SETUP.BOX >X%%DATADIR%%/SETUP.CFG >X%%DATADIR%%/SETUP.EXE >X%%DATADIR%%/SETUP.INT >X%%DATADIR%%/SOUNDS.DAT >X%%DATADIR%%/VS.BK >X%%DATADIR%%/WAR.BK >X%%DATADIR%%/WAR.PIC >X%%DATADIR%%/WAR.TRN >X%%DATADIR%%/WORLD.BK >X%%DATADIR%%/WORLD.PIC >X%%DATADIR%%/WORLD.TRN >X%%DATADIR%%/openomf.bk >X%%DATADIR%%/openomf_icon.png >4cbbef8c9372e2ec514dc7a3e1574f03 >echo x - openomf/Makefile >sed 's/^X//' >openomf/Makefile << 'e78ca6930e131e220b30acb1ac38d752' >X# Created by: Stas Timokhin <devel@stasyan.com> >X# $FreeBSD$ >X >XPORTNAME= openomf >XPORTVERSION= 0.6.5 >XCATEGORIES= games >XMASTER_SITES= http://www.omf2097.com/pub/files/omf/:data >XDISTFILES+= omf2097.rar:data >XEXTRACT_ONLY= ${DISTFILE_shadow} ${DISTFILE_libdumb} ${GH_ACCOUNT}-${GH_PROJECT}-${DISTVERSIONFULL}-${GH_TAGNAME_SANITIZED}_GH0.tar.gz >X >XMAINTAINER= devel@stasyan.com >XCOMMENT= Rewritten engine for One Must Fall 2097 >X >XLIB_DEPENDS= libconfuse.so:${PORTSDIR}/devel/libconfuse \ >X libpng.so:${PORTSDIR}/graphics/png \ >X libargtable2.so:${PORTSDIR}/devel/argtable \ >X libopenal.so:${PORTSDIR}/audio/openal \ >X libenet.so:${PORTSDIR}/net/enet >XEXTRACT_DEPENDS= unrar:${PORTSDIR}/archivers/unrar >X >XCC= clang >XCXX= clang++ >XCPP= clang-cpp >X >XUSES= cmake gettext >X >XUSE_GITHUB= yes >XGH_TUPLE= omf2097:openomf:c36c421 \ >X omf2097:libShadowDive:b2c34a6:shadow \ >X kode54:dumb:238f23c:libdumb >X >XUSE_SDL= sdl2 >X >Xpost-extract: >X ${RMDIR} ${WRKSRC}/external/libShadowDive >X ${LN} -s ${WRKSRC_shadow} ${WRKSRC}/external/libShadowDive >X ${LN} -s ${WRKSRC_libdumb}/dumb ${WRKSRC}/external/dumb >X ${MKDIR} ${WRKDIR}/omf >X cd ${WRKDIR}/omf && unrar e -idq ${DISTDIR}/omf2097.rar >X >Xpost-patch: >X ${REINPLACE_CMD} -e 's,LOCALBASE,"${PREFIX}",g' ${WRKSRC}/src/resources/pathmanager.c >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/openomf ${STAGEDIR}${PREFIX}/bin/openomf >X ${MKDIR} ${STAGEDIR}${DATADIR} >X ${INSTALL_DATA} ${WRKSRC}/resources/openomf_icon.png ${STAGEDIR}${DATADIR} >X ${INSTALL_DATA} ${WRKSRC}/resources/openomf.bk ${STAGEDIR}${DATADIR} >X (cd ${WRKDIR}/omf/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) >X >X.include <bsd.port.mk> >e78ca6930e131e220b30acb1ac38d752 >echo x - openomf/pkg-descr >sed 's/^X//' >openomf/pkg-descr << 'dba419fc0d01e180f82bee6adde1bc83' >XOpenOMF is a Open Source remake of "One Must Fall 2097" by Diversions >XEntertainment. >X >XWWW: http://www.openomf.org/ >dba419fc0d01e180f82bee6adde1bc83 >echo x - openomf/distinfo >sed 's/^X//' >openomf/distinfo << '730c7cc80475f3a34d6f86444b7d9561' >XSHA256 (omf2097.rar) = bc2ce50b8ea282b61e9685e883436e9cb4bcf7bacec0a58f0a685f20289f8a13 >XSIZE (omf2097.rar) = 6345106 >XSHA256 (omf2097-openomf-0.6.5-c36c421_GH0.tar.gz) = e8837884e6813f42c4fc0b7864f65c343f8831f1e66247cb82e7bfcb2cc06f08 >XSIZE (omf2097-openomf-0.6.5-c36c421_GH0.tar.gz) = 259458 >XSHA256 (omf2097-libShadowDive-b2c34a6_GH0.tar.gz) = 47e33af4f03539c39045eba2ad150ff88195f326c8d8f82d31b82738da5731da >XSIZE (omf2097-libShadowDive-b2c34a6_GH0.tar.gz) = 113591 >XSHA256 (kode54-dumb-238f23c_GH0.tar.gz) = d49d1a211b5eb3fd446bcd4a7ba7710b056e0579ad7bfa1d7a7ea99956f79c91 >XSIZE (kode54-dumb-238f23c_GH0.tar.gz) = 178894 >730c7cc80475f3a34d6f86444b7d9561 >echo c - openomf/files >mkdir -p openomf/files > /dev/null 2>&1 >echo x - openomf/files/patch-dumb_CMakeLists.txt >sed 's/^X//' >openomf/files/patch-dumb_CMakeLists.txt << '61722f6f24d6198a2e359887e5489b45' >X--- external/dumb/dumb/cmake/CMakeLists.txt.orig 2016-04-13 13:53:25.000000000 +0600 >X+++ external/dumb/dumb/cmake/CMakeLists.txt 2016-04-13 13:53:37.000000000 +0600 >X@@ -12,7 +12,7 @@ >X set(CMAKE_C_FLAGS_MINSIZEREL "-ffast-math -Os -DNDEBUG") >X >X link_directories(${CMAKE_CURRENT_BINARY_DIR}) >X-include_directories(../include/) >X+include_directories(BEFORE ../include/) >X >X if(BUILD_EXAMPLES) >X find_package(argtable2) >61722f6f24d6198a2e359887e5489b45 >echo x - openomf/files/patch-main.c >sed 's/^X//' >openomf/files/patch-main.c << '36551ff6a46b0a3418f83bb02f369f50' >X--- src/main.c.orig 2016-04-01 23:35:54.010423000 +0600 >X+++ src/main.c 2016-04-01 23:36:35.439937000 +0600 >X@@ -156,7 +156,7 @@ >X INFO("Running on platform: %s", SDL_GetPlatform()); >X >X #ifndef STANDALONE_SERVER >X- if(SDL_InitSubSystem(SDL_INIT_JOYSTICK|SDL_INIT_GAMECONTROLLER|SDL_INIT_HAPTIC)) { >X+ if(SDL_InitSubSystem(SDL_INIT_JOYSTICK|SDL_INIT_GAMECONTROLLER)) { >X err_msgbox("SDL2 Initialization failed: %s", SDL_GetError()); >X goto exit_2; >X } >36551ff6a46b0a3418f83bb02f369f50 >echo x - openomf/files/patch-new-CMakeLists.txt >sed 's/^X//' >openomf/files/patch-new-CMakeLists.txt << 'f02f9e371ca81f717d59f064de490b33' >X--- CMakeLists.txt.orig 2016-01-10 23:37:25.000000000 +0600 >X+++ CMakeLists.txt 2016-04-13 14:08:29.000000000 +0600 >X@@ -67,6 +67,7 @@ >X find_package(SDL2) >X find_package(enet) >X find_package(confuse) >X+find_package(Gettext) >X >X # Check functions and generate platform configuration file >X CHECK_SYMBOL_EXISTS(strdup "string.h" HAVE_STD_STRDUP) >X@@ -320,10 +321,10 @@ >X # Handle module playback libraries >X IF(USE_SUBMODULES) >X set(CORELIBS ${CORELIBS} dumb) >X- set(COREINCS ${COREINCS} ${DUMB_INCLUDE_DIR}) >X+ set(COREINCS ${DUMB_INCLUDE_DIR} ${COREINCS} ) >X ELSEIF(USE_DUMB) >X set(CORELIBS ${CORELIBS} ${DUMB_LIBRARY}) >X- set(COREINCS ${COREINCS} ${DUMB_INCLUDE_DIR}) >X+ set(COREINCS ${DUMB_INCLUDE_DIR} ${COREINCS}) >X ENDIF() >X IF(USE_MODPLUG) >X set(CORELIBS ${CORELIBS} ${MODPLUG_LIBRARY}) >f02f9e371ca81f717d59f064de490b33 >echo x - openomf/files/patch-pathmanager.c >sed 's/^X//' >openomf/files/patch-pathmanager.c << '6e96ec47d8b36276af76072e60f993a7' >X--- src/resources/pathmanager.c.orig 2016-01-10 23:37:25.000000000 +0600 >X+++ src/resources/pathmanager.c 2016-04-02 13:49:07.507400000 +0600 >X@@ -85,11 +85,11 @@ >X local_path_build(RESOURCE_PATH, bin_base_dir, "resources\\"); >X local_path_build(PLUGIN_PATH, bin_base_dir, "plugins\\"); >X m_ok = 1; >X- } else if(!strcasecmp(SDL_GetPlatform(), "Linux")) { >X+ } else if(!strcasecmp(SDL_GetPlatform(), "FreeBSD")) { >X // on linux, the resources will be in ../share/games/openomf, relative to the binary >X // so if openomf is installed to /usr/local/bin, >X // the resources will be in /usr/local/share/games/openomf >X- local_path_build(RESOURCE_PATH, bin_base_dir, "../share/games/openomf/"); >X+ local_path_build(RESOURCE_PATH, LOCALBASE, "/share/openomf/"); >X local_path_build(PLUGIN_PATH, bin_base_dir, "../lib/openomf/"); >X m_ok = 1; >X } else if(!strcasecmp(SDL_GetPlatform(), "Mac OS X")) { >6e96ec47d8b36276af76072e60f993a7 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 210819
:
172102
|
172676