FreeBSD Bugzilla – Attachment 113547 Details for
Bug 155111
Create new megaglest port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
megaglest.shar
megaglest.shar (text/plain), 6.55 KB, created by
Beat Gaetzi
on 2011-04-05 10:24:43 UTC
(
hide
)
Description:
megaglest.shar
Filename:
MIME Type:
Creator:
Beat Gaetzi
Created:
2011-04-05 10:24:43 UTC
Size:
6.55 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: ># ># megaglest ># megaglest/files ># megaglest/files/glest-wrapper.in ># megaglest/files/patch-CMakeLists.txt ># megaglest/files/pkg-message.in ># megaglest/Makefile ># megaglest/distinfo ># megaglest/pkg-descr ># megaglest/pkg-plist ># >echo c - megaglest >mkdir -p megaglest > /dev/null 2>&1 >echo c - megaglest/files >mkdir -p megaglest/files > /dev/null 2>&1 >echo x - megaglest/files/glest-wrapper.in >sed 's/^X//' >megaglest/files/glest-wrapper.in << '5ea987f0fef152801e9f9dc56b8eddd3' >X#!/bin/sh >X >X# The executable needs to be run from its data directory, and needs to store >X# configuration in it. We therefore mirror the data directory hierarchy in >X# ~/.megaglest, and create symlinks to the data files. >X >Xif [ -d ~/.megaglest ] >Xthen >X echo "Using existing ~/.megaglest directory." >Xelse >X echo "Creating ~/.megaglest directory." >X cd %%DATADIR%% || exit 1 >X find * -type d -exec mkdir -p ~/.megaglest/{} \; >X find * -type f -exec ln -s %%DATADIR%%/{} ~/.megaglest/{} \; 2>/dev/null >X mkdir -p ~/.megaglest/screens >X mkdir -p ~/.megaglest/shaders/standard >X touch ~/.megaglest/megaglest.log >X rm ~/.megaglest/glest.ini ~/.megaglest/megaglest ~/.megaglest/servers.ini >X cp -f %%DATADIR%%/glest.ini ~/.megaglest/ >X cp -f %%DATADIR%%/glestkeys.ini ~/.megaglest/ >X cp -f %%DATADIR%%/servers.ini ~/.megaglest/ >X chmod 640 ~/.megaglest/glest.ini ~/.megaglest/servers.ini >Xfi >X >Xcd ~/.megaglest || exit 1 >Xecho "Please be patient while loading MegaGlest..." >Xexec %%DATADIR%%/glest.bin "$@" >5ea987f0fef152801e9f9dc56b8eddd3 >echo x - megaglest/files/patch-CMakeLists.txt >sed 's/^X//' >megaglest/files/patch-CMakeLists.txt << '0cf48dcc35be4ea5b764a9c7d6d3f81c' >X*** CMakeLists.txt 2011-02-10 17:41:19.000000000 +0100 >X--- CMakeLists.txt_FreeBSD 2011-02-10 17:41:56.000000000 +0100 >X*************** IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW) >X*** 59,76 **** >X- OPTION(WANT_SVN_STAMP "use svn stamp" ON) >X- IF(WANT_SVN_STAMP) >X- # The stuff below gets SVN Global Revision # but ONLY when calling cmake! >X- # the FindSubversion.cmake module is part of the standard distribution >X- include(FindSubversion) >X- # extract working copy information for SOURCE_DIR into MY_XXX variables >X- Subversion_WC_INFO(${PROJECT_SOURCE_DIR} MG) >X- #add_definitions(-DSVNVERSION="${MG_WC_REVISION}") >X- ENDIF() >X- >X- SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"${MG_WC_REVISION}\\\"'") >X- >X- IF(UNIX AND NOT APPLE) >X- # We do some funky character escaping to get the right stuff written out to >X- # the final Makefile so we get the SVN Global Revsion # >X- SET(SVN_VERSION_CMD "-DSVNVERSION='\\\"`svnversion -n ${PROJECT_SOURCE_DIR}`\\\"'") >X- ENDIF() >X- >X--- 58 ---- >0cf48dcc35be4ea5b764a9c7d6d3f81c >echo x - megaglest/files/pkg-message.in >sed 's/^X//' >megaglest/files/pkg-message.in << '4bd19d518555d813587371be8ff8d703' >X############################################################################### >X >XThe megaglest game has been installed: >X >X1) You will find the megaglest configuration files in ~/.megaglest >X >X2) If you instlled the megaglest map editor you could lounch it like this: >X >X # glest_editor >X >X3) If you have problems running megaglest, you should remove your ~/.megaglest >X directory and try again >X >X4) Enjoy it ;) >X >X############################################################################### >4bd19d518555d813587371be8ff8d703 >echo x - megaglest/Makefile >sed 's/^X//' >megaglest/Makefile << '22a96243364cc23145ffe096a51871a8' >X# New ports collection makefile for: megaglest >X# Date created: 2011-02-10 >X# Whom: Sven Moeller <smoeller@nichthelfer.de> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= megaglest >XPORTVERSION= 3.4.0 >XCATEGORIES= games >XMASTER_SITES= SF/${PORTNAME}/current_release/ >XDISTNAME= ${PORTNAME}-source-${PORTVERSION} >X >XMAINTAINER= smoeller@nichthelfer.de >XCOMMENT= Open source 3D real-time strategy game >X >XLIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \ >X jpeg.11:${PORTSDIR}/graphics/jpeg \ >X png.6:${PORTSDIR}/graphics/png \ >X xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \ >X vorbis.4:${PORTSDIR}/audio/libvorbis >XRUN_DEPENDS= ${DATADIR}/tutorials/basic_tutorial/basic_tutorial.xml:${PORTSDIR}/games/megaglest-data >X >XSUB_FILES= glest-wrapper pkg-message >X >XUSE_BZIP2= yes >XUSE_CMAKE= yes >XUSE_DOS2UNIX= yes >XUSE_GL= yes >XUSE_LUA= 5.1 >XUSE_OPENAL= al alut >XUSE_SDL= yes >XUSE_WX= 2.8+ >X >XOPTIONS= EDITOR "Install MegaGlest Editor" off >X >X.include <bsd.port.options.mk> >X >X.if defined(WITH_EDITOR) >XPLIST_SUB+= EDITOR="" >X.else >XPLIST_SUB+= EDITOR="@comment " >X.endif >X >Xdo-install: >X ${STRIP_CMD} ${WRKSRC}/mk/linux/glest.bin >X @${MKDIR} ${DATADIR} >X.if !defined(NOPORTDOCS) >X @${MKDIR} ${DOCSDIR} >X.endif >X ${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest.bin ${DATADIR} >X.for f in glest.ini glestkeys.ini servers.ini >X ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR} >X.endfor >X ${INSTALL_SCRIPT} ${WRKDIR}/glest-wrapper ${PREFIX}/bin/${PORTNAME} >X.if !defined(NOPORTDOCS) >X ${INSTALL_DATA} ${WRKSRC}/code_license.txt ${DOCSDIR} >X.endif >X.if defined(WITH_EDITOR) >X ${INSTALL_PROGRAM} ${WRKSRC}/mk/linux/glest_editor ${PREFIX}/bin/ >X.endif >X >Xpost-install: >X @${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.mk> >22a96243364cc23145ffe096a51871a8 >echo x - megaglest/distinfo >sed 's/^X//' >megaglest/distinfo << '8d22f86bfa255e10c286691ee713f418' >XSHA256 (megaglest-source-3.4.0.tar.bz2) = da17c210fb6c3c366bf0e2b44e243740008c3a6ad62f27d631002e46f0210654 >XSIZE (megaglest-source-3.4.0.tar.bz2) = 899312 >8d22f86bfa255e10c286691ee713f418 >echo x - megaglest/pkg-descr >sed 's/^X//' >megaglest/pkg-descr << 'c7802852462edac5cdbbcd872b1ce15f' >XMegaGlest is an open source 3D-real-time strategy game, where you control >Xthe armies of one of seven different factions: Tech, Magic, Egyptians, >XIndians, Norsemen, Persian or Romans (Beta). The game is setup in one of >X14 naturally looking settings, which -like the unit models- are crafted >Xwith great appreciation for detail. MegaGlest is heavily based on the >Xwidely known Glest, which it forked from in early 2010. >X >XWWW: http://megaglest.org/ >c7802852462edac5cdbbcd872b1ce15f >echo x - megaglest/pkg-plist >sed 's/^X//' >megaglest/pkg-plist << '085de6f891c513877aab8b9a0d6e2726' >X%%EDITOR%%bin/glest_editor >Xbin/megaglest >X%%DATADIR%%/glest.bin >X%%DATADIR%%/glest.ini >X%%DATADIR%%/glestkeys.ini >X%%DATADIR%%/servers.ini >X%%PORTDOCS%%%%DOCSDIR%%/code_license.txt >X%%PORTDOCS%%@dirrm %%DOCSDIR%% >X@dirrm %%DATADIR%% >085de6f891c513877aab8b9a0d6e2726 >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 155111
:
113546
| 113547 |
113548
|
113549
|
113550