Create new megaglest and megaglest-data port. Fix: --- megaglest-data.shar ends here -----boLk6IpwLt3hudyrek1fQU2XeqlhKjmg3AVPMRLQ4mka36ck Content-Type: text/plain; name="megaglest.shar" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="megaglest.shar" # 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 was installed X X1) You can see the megaglest configuration files into your ~/.megaglest directory X X2) If you choose install megaglest map editor, you can run it using : X X # glest_editor X X3) If you have problems to run megaglest, please 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} XDIST_SUBDIR= ${PORTNAME} XSUB_FILES= glest-wrapper pkg-message XSUB_DIRS= mk/linux X XMAINTAINER= smoeller@nichthelfer.de XCOMMENT= OpenSource 3d real-time customizable strategy game X XLIB_DEPENDS= xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \ X vorbis.4:${PORTSDIR}/audio/libvorbis XBUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake XRUN_DEPENDS= ${DATADIR}/tutorials/basic_tutorial/basic_tutorial.xml:${PORTSDIR}/games/megaglest-data X XPLIST= ${PORTSDIR}/games/${DIST_SUBDIR}/pkg-plist X XUSE_BZIP2= yes XUSE_OPENAL= al alut XUSE_DOS2UNIX= yes XUSE_LUA= 5.1 XUSE_SDL= yes XUSE_GL= yes X XCMAKE_CMD= ${LOCALBASE}/bin/cmake X X# OPTIONS= EDITOR "Install MegaGlest Editor" off X X.include <bsd.port.pre.mk> X Xpre-extract: X @${MKDIR} ${WRKDIR}/${DISTNAME} X Xpre-configure: X @cd ${WRKSRC} && ${CMAKE_CMD} . X Xdo-build: X @cd ${WRKSRC} && make X Xdo-install: X @cd ${WRKSRC} && strip ${WRKSRC}/${SUB_DIRS}/glest.bin X @${MKDIR} ${DATADIR} X @${MKDIR} ${DOCSDIR} X ${INSTALL_PROGRAM} ${WRKSRC}/${SUB_DIRS}/glest.bin ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/glest.ini ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/servers.ini ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/glestkeys.ini ${DATADIR} 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}/${SUB_DIRS}/glest_editor ${PREFIX}/bin/ X #@${ECHO_CMD} "bin/glest_editor" >> ${PLIST} X. endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> 22a96243364cc23145ffe096a51871a8 echo x - megaglest/distinfo sed 's/^X//' >megaglest/distinfo << '8d22f86bfa255e10c286691ee713f418' XMD5 (megaglest/megaglest-source-3.4.0.tar.bz2) = 904846c60369f7898c7f83d506624d5a XSHA256 (megaglest/megaglest-source-3.4.0.tar.bz2) = da17c210fb6c3c366bf0e2b44e243740008c3a6ad62f27d631002e46f0210654 XSIZE (megaglest/megaglest-source-3.4.0.tar.bz2) = 899312 8d22f86bfa255e10c286691ee713f418 echo x - megaglest/pkg-descr sed 's/^X//' >megaglest/pkg-descr << 'c7802852462edac5cdbbcd872b1ce15f' XMegaGlest is a fork of Glest. It features: X- more factions X- stable Network code for crossplatfor online gaming X- strong AI XGlest is a project for making a free 3d real-time Xcustomizable strategy game. Current version is fully Xplayable, includes single player game against CPU Xcontrolled players, two factions with their Xcorresponding tech trees, units, buildings and some Xmaps. X XWWW: http://megaglest.org/ c7802852462edac5cdbbcd872b1ce15f echo x - megaglest/pkg-plist sed 's/^X//' >megaglest/pkg-plist << '085de6f891c513877aab8b9a0d6e2726' Xbin/megaglest X%%DATADIR%%/glest.bin X%%DATADIR%%/glest.ini X%%DATADIR%%/glestkeys.ini X%%DATADIR%%/servers.ini X%%PORTDOCS%%@dirrmtry %%DOCSDIR%% X@dirrmtry %%DATADIR%% 085de6f891c513877aab8b9a0d6e2726 exit How-To-Repeat: see attached code from Sven Moller.
Responsible Changed From-To: freebsd-ports-bugs->beat I'll take it.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, The maintainer in the port is set to Sven but the PR was submitted by Rusty. Sven could you please confirm that you are still interested in maintaining this port? I did some refactoring and cleanups on the submitted ports. Could you please review and test the new shar files? Thanks, Beat - -- Beat Gätzi | FreeBSD Committer beat@FreeBSD.org | http://www.FreeBSD.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2a39sACgkQQMW893dCSdtTywCbBMXIOfdQAz97BrMerF+0tw/2 4pQAn3IBdNx4kIdsEyTaSrDKhXGAzXj1 =Tidd -----END PGP SIGNATURE-----
State Changed From-To: open->feedback Waiting for feedback about the maintainership of the new ports.
Am 05.04.2011 11:24, schrieb Beat Gaetzi: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > The maintainer in the port is set to Sven but the PR was submitted by > Rusty. Sven could you please confirm that you are still interested in > maintaining this port? > > I did some refactoring and cleanups on the submitted ports. Could you > please review and test the new shar files? > > Thanks, > Beat > > - -- > Beat Gätzi | FreeBSD Committer > beat@FreeBSD.org | http://www.FreeBSD.org > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.16 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk2a39sACgkQQMW893dCSdtTywCbBMXIOfdQAz97BrMerF+0tw/2 > 4pQAn3IBdNx4kIdsEyTaSrDKhXGAzXj1 > =Tidd > -----END PGP SIGNATURE----- Hi Beat, yes, i confirm that i'm still interested in maintaining the MegaGlest Ports. I did the porting of MegaGlest to FreeBSD and gave the needed changes on the sources back to upstream. Rusty and i had made the FreeBSD Port Makefiles together. We were helping each other. Many thanks Rusty. At the moment i'm at work. Hopefully i'll find some spare time for testing the new shar files tonight or tomorrow evening. i'll let you now as soon as i've tested them. Thanks and kind regards Sven Moeller
On Tue, 05 Apr 2011 11:34:40 +0200, Sven Moeller wrote: > Am 05.04.2011 11:24, schrieb Beat Gaetzi: > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, The maintainer in the port is set to Sven but the PR was submitted by Rusty. Sven could you please confirm that you are still interested in maintaining this port? I did some refactoring and cleanups on the submitted ports. Could you please review and test the new shar files? Thanks, Beat - -- Beat Gätzi | FreeBSD Committer beat@FreeBSD.org [1] | http://www.FreeBSD.org [2] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ [3] iEYEARECAAYFAk2a39sACgkQQMW893dCSdtTywCbBMXIOfdQAz97BrMerF+0tw/2 4pQAn3IBdNx4kIdsEyTaSrDKhXGAzXj1 =Tidd -----END PGP SIGNATURE----- > > Hi Beat, > > yes, i confirm that i'm still interested in maintaining the MegaGlest > Ports. I did the porting of MegaGlest to FreeBSD and gave the needed > changes on the sources back to upstream. Rusty and i had made the > FreeBSD Port Makefiles together. We were helping each other. > > Many thanks Rusty. > > At the moment i'm at work. Hopefully i'll find some spare time for > testing the new shar files tonight or tomorrow evening. i'll let you now > as soon as i've tested them. > > Thanks and kind regards > > Sven Moeller Sven, Thanks for the reply. I've tested the port and I only have one small tweak and it is good: In pkg-plist, change the last two lines to be: %%PORTDOCS%%@dirrmtry %%DOCSDIR%% @dirrmtry %%DATADIR%%  That will remove the errors when you deinstall megaglest before megaglest-data, while still ensuring that everything is cleaned up properly. Rusty Links: ------ [1] mailto:beat@FreeBSD.org [2] http://www.FreeBSD.org [3] http://enigmail.mozdev.org/
Am 05.04.2011 16:49, schrieb Rusty Nejdl: > On Tue, 05 Apr 2011 11:34:40 +0200, Sven Moeller wrote: > >> Am 05.04.2011 11:24, schrieb Beat Gaetzi: >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, The maintainer in >>> the port is set to Sven but the PR was submitted by Rusty. Sven could >>> you please confirm that you are still interested in maintaining this >>> port? I did some refactoring and cleanups on the submitted ports. >>> Could you please review and test the new shar files? Thanks, Beat - >>> -- Beat Gätzi | FreeBSD Committer beat@FreeBSD.org >>> <mailto:beat@FreeBSD.org> | http://www.FreeBSD.org -----BEGIN PGP >>> SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) Comment: Using GnuPG >>> with Mozilla - http://enigmail.mozdev.org/ >>> iEYEARECAAYFAk2a39sACgkQQMW893dCSdtTywCbBMXIOfdQAz97BrMerF+0tw/2 >>> 4pQAn3IBdNx4kIdsEyTaSrDKhXGAzXj1 =Tidd -----END PGP SIGNATURE----- >> Hi Beat, >> >> yes, i confirm that i'm still interested in maintaining the MegaGlest >> Ports. I did the porting of MegaGlest to FreeBSD and gave the needed >> changes on the sources back to upstream. Rusty and i had made the >> FreeBSD Port Makefiles together. We were helping each other. >> >> Many thanks Rusty. >> >> At the moment i'm at work. Hopefully i'll find some spare time for >> testing the new shar files tonight or tomorrow evening. i'll let you now >> as soon as i've tested them. >> >> Thanks and kind regards >> >> Sven Moeller > > Sven, > > Thanks for the reply. I've tested the port and I only have one small > tweak and it is good: > > In pkg-plist, change the last two lines to be: > > %%PORTDOCS%%@dirrmtry %%DOCSDIR%% > @dirrmtry %%DATADIR%% >  > > That will remove the errors when you deinstall megaglest before > megaglest-data, while still ensuring that everything is cleaned up properly. > > Rusty > Hi Beat, hi Rusty, i've tweaked what you've Rusty suggested. I did some additional changes. I had some warnings deinstalling megaglest-data, therefor i've changed dirrm into dirrmtry in the Makefile of megaglest-data. These warnings just came up when megaglest-data was installed without having megaglest installed. I've changed one detail in the glest-wrapper script. The folder ~/.megaglest is now ~/.megaglest3.4.0. I did this, because in the upcoming MegaGlest release 3.5.0 changes it's behavior. ~/.megaglest will be created/used by MegaGlest itself. MegaGlest checks for it's game data. The symlinks created by the wrapper script will have the effect that MegaGlest won't start claiming about double game data files. As soon as MegaGlest-3.5.0 is out, i'll drop the wrapper scripts, because shouldn't be needed anymore. Please find attached the over-worked shar files. If you agree with that, i'll agree to commit it. :-) kind regards Sven Moeller
State Changed From-To: feedback->open Feedback received.
beat 2011-04-07 05:13:40 UTC FreeBSD ports repository Modified files: games Makefile Added files: games/megaglest-data Makefile distinfo pkg-descr Log: The megaglest data files. This port installs the data files needed to run megaglest a free 3D real-time strategy game. WWW: http://megaglest.org/ PR: ports/155111 Submitted by: Rusty Nejdl <rnejdl AT ringofsaturn.com>, Sven Moeller <smoeller AT nichthelfer.de> Revision Changes Path 1.1368 +1 -0 ports/games/Makefile 1.1 +66 -0 ports/games/megaglest-data/Makefile (new) 1.1 +2 -0 ports/games/megaglest-data/distinfo (new) 1.1 +6 -0 ports/games/megaglest-data/pkg-descr (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
beat 2011-04-07 05:17:21 UTC FreeBSD ports repository Modified files: games Makefile Added files: games/megaglest Makefile distinfo pkg-descr pkg-plist games/megaglest/files glest-wrapper.in patch-CMakeLists.txt pkg-message.in Log: MegaGlest is an open source 3D-real-time strategy game, where you control the armies of one of seven different factions: Tech, Magic, Egyptians, Indians, Norsemen, Persian or Romans (Beta). The game is setup in one of 14 naturally looking settings, which -like the unit models- are crafted with great appreciation for detail. MegaGlest is heavily based on the widely known Glest, which it forked from in early 2010. WWW: http://megaglest.org/ PR: ports/155111 Submitted by: Rusty Nejdl <rnejdl AT ringofsaturn.com>, Sven Moeller <smoeller AT nichthelfer.de> Revision Changes Path 1.1369 +1 -0 ports/games/Makefile 1.1 +66 -0 ports/games/megaglest/Makefile (new) 1.1 +2 -0 ports/games/megaglest/distinfo (new) 1.1 +27 -0 ports/games/megaglest/files/glest-wrapper.in (new) 1.1 +23 -0 ports/games/megaglest/files/patch-CMakeLists.txt (new) 1.1 +16 -0 ports/games/megaglest/files/pkg-message.in (new) 1.1 +8 -0 ports/games/megaglest/pkg-descr (new) 1.1 +9 -0 ports/games/megaglest/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed New ports added. Thanks!