diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-12-23 17:05:43 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-12-23 17:05:43 +0000 |
commit | 5ba8ffce8413879bb4f9ab7b1b8015f2aa9b4857 (patch) | |
tree | 1fd7eca7881959612645b2eb54fcb4bb7b6dba4a /games-rpg | |
parent | Drop initng*. (diff) | |
download | historical-5ba8ffce8413879bb4f9ab7b1b8015f2aa9b4857.tar.gz historical-5ba8ffce8413879bb4f9ab7b1b8015f2aa9b4857.tar.bz2 historical-5ba8ffce8413879bb4f9ab7b1b8015f2aa9b4857.zip |
Drop mangos. Due to cmake direct usage.
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/mangos/ChangeLog | 30 | ||||
-rw-r--r-- | games-rpg/mangos/Manifest | 7 | ||||
-rwxr-xr-x | games-rpg/mangos/files/9999/mangos-realmd | 23 | ||||
-rwxr-xr-x | games-rpg/mangos/files/9999/mangos-worldd | 23 | ||||
-rw-r--r-- | games-rpg/mangos/mangos-9999.1.ebuild | 170 | ||||
-rw-r--r-- | games-rpg/mangos/mangos-9999.2.ebuild | 189 | ||||
-rw-r--r-- | games-rpg/mangos/mangos-9999.ebuild | 120 | ||||
-rw-r--r-- | games-rpg/mangos/metadata.xml | 16 |
8 files changed, 0 insertions, 578 deletions
diff --git a/games-rpg/mangos/ChangeLog b/games-rpg/mangos/ChangeLog deleted file mode 100644 index fcf1966b54d3..000000000000 --- a/games-rpg/mangos/ChangeLog +++ /dev/null @@ -1,30 +0,0 @@ -# ChangeLog for games-rpg/mangos -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/ChangeLog,v 1.5 2009/07/23 01:10:43 trapni Exp $ - -*mangos-9999.2 (22 Jul 2009) - - 22 Jul 2009; <trapni@gentoo.org> mangos-9999.1.ebuild, - +mangos-9999.2.ebuild: - added ahbot and improved overall built-process. refs #243230 - - 22 Jul 2009; <trapni@gentoo.org> mangos-9999.1.ebuild: - fixes #243212 - - 14 Feb 2009; Christian Parpart <trapni@gentoo.org> - files/9999/mangos-realmd, files/9999/mangos-worldd, mangos-9999.1.ebuild: - made ebuild more admin-friendly, include ad tool to distribution, and - other minor (typo) fixes - -*mangos-9999.1 (14 Feb 2009) - - 14 Feb 2009; Christian Parpart <trapni@gentoo.org> +mangos-9999.1.ebuild: - adapted to changes in built management; and updated project uri. - -*mangos-9999 (04 Oct 2008) - - 04 Oct 2008; Christian Parpart <trapni@gentoo.org> - +files/9999/mangos-realmd, +files/9999/mangos-worldd, +metadata.xml, - +mangos-9999.ebuild: - initial import - diff --git a/games-rpg/mangos/Manifest b/games-rpg/mangos/Manifest deleted file mode 100644 index 86804e6fbf2f..000000000000 --- a/games-rpg/mangos/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 9999/mangos-realmd 702 RMD160 5fc54486086fa2b53310a46bba76de4d417b627d SHA1 da8611fb08806c98d0bff9d560dc4f25fc6c7fe6 SHA256 94f050a817370eb3a0cbcc6f53a6e872dc5aca7d793a74ec72a0cd52053497dd -AUX 9999/mangos-worldd 673 RMD160 249725f499d4fb0b1c02810770603b50569677c3 SHA1 01c71c80e97fcb0896c5f662860a84d8e02bb707 SHA256 362fe8556d197114ed500ec54067a08b8b021cae67679d86075d2489474e6137 -EBUILD mangos-9999.1.ebuild 4687 RMD160 2eb431ab2b70c607e4e6017521845f72c1f12287 SHA1 c524b955d1901eecf0737eb6d0e6d7b44dbba56e SHA256 e3b1c5742773724be78083664ab917ffc05fcf7cdc3cdbfab72c444a9a7cdb5b -EBUILD mangos-9999.2.ebuild 5080 RMD160 e9c1aeebbf28aaa61915f3143b679e5b8e8a8726 SHA1 4616572994d5f14feeb25842adeffeaa59fb92cd SHA256 89e81a89d970c08c60997ab903cfa5dcfdeab5472f23dec7e9d1431eb0b9bed4 -EBUILD mangos-9999.ebuild 3380 RMD160 8adc78797f017f8dff4ebecc9273956d9483bd16 SHA1 d56c3c547fe6ecdd61e8671a4e929799c4d7241e SHA256 927e25b5dc7c374322f7e5cec557f5c1b41b92b59ae8d17b1e54541233393275 -MISC ChangeLog 1051 RMD160 4e3162ac13d3478afd8626a25865effb4dacc409 SHA1 7a11281577cfeef16dc59b9227715fa0260933bd SHA256 08fdb7a34164886d7b981bf2163ffb9fcb0b01844c3b23593f708327df7b8150 -MISC metadata.xml 575 RMD160 28c1f07fdd0e423463e01a454f0207fc9395e51c SHA1 9e653eef44406e4c88668305d7860d54a69fad66 SHA256 7853402112093a97c808205d38372f95a3816b490f4bd52c78fb29e77e30fe6f diff --git a/games-rpg/mangos/files/9999/mangos-realmd b/games-rpg/mangos/files/9999/mangos-realmd deleted file mode 100755 index 157a549b7749..000000000000 --- a/games-rpg/mangos/files/9999/mangos-realmd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/files/9999/mangos-realmd,v 1.2 2009/02/14 14:14:25 trapni Exp $ - -depend() { - need net - use mysql -} - -start() { - ebegin "Starting MaNGOS Login Server (realmd)" - start-stop-daemon --start --background -c mangos --exec /opt/mangos/bin/mangos-realmd \ - --make-pidfile --pidfile /var/run/mangos-realmd.pid -- -c /opt/mangos/realmd.conf - eend $? -} - -stop() { - ebegin "Stopping MaNGOS Login Server (realmd)" - start-stop-daemon --stop -c mangos --exec /opt/mangos/bin/mangos-realmd \ - --pidfile /var/run/mangos-realmd.pid - eend $? -} diff --git a/games-rpg/mangos/files/9999/mangos-worldd b/games-rpg/mangos/files/9999/mangos-worldd deleted file mode 100755 index accc0bcfb3f6..000000000000 --- a/games-rpg/mangos/files/9999/mangos-worldd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/files/9999/mangos-worldd,v 1.2 2009/02/14 14:14:25 trapni Exp $ - -depend() { - need net - use net -} - -start() { - ebegin "Starting MaNGOS server" - start-stop-daemon --start --background -c mangos --pidfile /var/run/mangos-world.pid \ - --make-pidfile --exec /opt/mangos/bin/mangos-worldd -- -c /opt/mangos/etc/mangosd.conf - eend $? -} - -stop() { - ebegin "Stopping MaNGOS server" - start-stop-daemon --stop -c mangos --exec /opt/mangos/bin/mangos-worldd \ - --pidfile /var/run/mangos-world.pid - eend $? -} diff --git a/games-rpg/mangos/mangos-9999.1.ebuild b/games-rpg/mangos/mangos-9999.1.ebuild deleted file mode 100644 index eef6993dfabf..000000000000 --- a/games-rpg/mangos/mangos-9999.1.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/mangos-9999.1.ebuild,v 1.4 2009/07/23 01:10:43 trapni Exp $ - -# TODO: -# - make use of system's zlib/zthread ebuilds instead of mangos' packaged -# - create ebuilds for specific releases (and related patchsets, if desired) - -inherit eutils git subversion autotools - -MANGOS_REPO_URI="git://github.com/mangos/mangos.git" -SD2_REPO_URI="https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2" - -EGIT_REPO_URI="${MANGOS_REPO_URI}" -ESVN_REPO_URI="${SD2_REPO_URI}" - -DESCRIPTION="Massive Network Game Object Server" -HOMEPAGE="http://getmangos.com/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cli ra sd2 debug mysql postgres" - -RDEPEND="postgres? ( virtual/postgresql-server ) - mysql? ( >=virtual/mysql-4.1 ) - !mysql? ( !postgres? ( >=virtual/mysql-4.1 ) )" - -DEPEND="${RDEPEND} - >=sys-devel/gcc-3.2 - sys-devel/make - sys-devel/automake - sys-devel/autoconf - dev-libs/glib - dev-libs/openssl" - -## setup some env vars we use everywhere (but might change from ebuild to ebuild) -setup_env() { -# export PREFIX='/usr' -# export SYSCONFDIR='/etc/mangos' -# export LOGDIR='/var/log/mangos' - - export PREFIX='/opt/mangos' - export SYSCONFDIR='/opt/mangos/etc' - export LOGDIR='/opt/mangos/log' - - export PV_FILES='9999' -} - -pkg_setup() { - if useq mysql && useq postgres; then - eerror "Please decide with database you want to use for this ebuild by" - eerror "explicitely enabling/disabling the mysql and postgres USE-flags!" - die "Both useflags - mysql and postgres - has been specified. Choose one of them only!" - fi - enewgroup mangos - enewuser mangos -1 -1 -1 "mangos" -} - -## unpacks SD2 (ScriptDev2) into mangos workdir -sd2_src_unpack() { - S="${S}/src/bindings/ScriptDev2" ESVN_REPO_URI="${SD2_REPO_URI}" subversion_src_unpack || die - - local PATCHES_DIR="${S}/src/bindings/ScriptDev2/patches" - local FILE=$(ls ${PATCHES_DIR} | sort -f -r | awk "NR == 1") - - EPATCH_OPTS="-d ${S}" EPATCH_FORCE="yes" epatch "${PATCHES_DIR}/${FILE}" || die -} - -src_unpack() { - git_src_unpack - - useq sd2 && sd2_src_unpack - - cd "${S}" || die - eautoreconf --force --install || die "eautoreconf failed" -} - -src_compile() { - setup_env - local myconf - - if ! useq mysql && ! useq postgres; then - # defaulth to mysql in case nothing has been specified. - myconf="${myconf} --with-mysql" - fi - - mkdir obj || die - cd obj - - ECONF_SOURCE=.. econf \ - --with-gnu-ld \ - ${myconf} \ - --prefix="${PREFIX}" \ - --sysconfdir="${SYSCONFDIR}" \ - $(use_with mysql) \ - $(use_with postgres postgresql) \ - $(use_enable cli) \ - $(use_enable ra) \ - $(use_enable doc doxygen) \ - $(use_enable debug debug-info) \ - || die "econf failed" - - emake || die "emake with current options failed" - - cd "${S}/contrib/extractor" || die - cmake . || die - emake || die "failed to run emake for extractor" -} - -src_install() { - setup_env - - cd obj - - emake DESTDIR="${D}" install || die "emake install failed" - - dodir "${PREFIX}/share" - mv "${D}/usr/share/mangos" "${D}${PREFIX}/share/mangos" || die - rm -f "${D}${PREFIX}/bin/genrevision" # not really part of mangos dist - - doinitd "${FILESDIR}/${PV_FILES}/mangos-realmd" || die - doinitd "${FILESDIR}/${PV_FILES}/mangos-worldd" || die - - exeinto "${PREFIX}/bin" - doexe "${S}/contrib/extractor/ad" || die - - keepdir ${PREFIX}/share/mangos/dbc - keepdir ${PREFIX}/share/mangos/maps - keepdir ${PREFIX}/share/mangos/vmaps - - if useq sd2; then - local DIRS=(sql sql/Updates sql/Updates/0.0.1 sql/Updates/0.0.2) - - for dir in ${DIRS[*]}; do - dodir "${PREFIX}/share/sd2/${dir}" || die - cp -r "../src/bindings/ScriptDev2/${dir}/*.sql" "${D}${PREFIX}/share/sd2/${dir}" || die - done - fi - - keepdir ${LOGDIR} - - fowners root.mangos ${SYSCONFDIR} - fowners mangos.mangos ${LOGDIR} -} - -pkg_postinst() { - setup_env - - ewarn "You need to manually configure MaNGOS." - ewarn "See /etc/mangos/ for config files." - ewarn "Remember to move your maps, DBC and vmaps files to your data folder - ${PREFIX}/share/mangos/" - ewarn - ewarn "Don't forget to run SQL scripts for:" - ewarn "\t- MaNGOS databases: ${PREFIX}/share/mangos/sql" - useq sd2 && ewarn "\t- ScriptDev2 database: ${PREFIX}/share/sd2/sql" - - ewarn - einfo "If you want Mangos to start automatically on boot execute:" - einfo "\trc-update add mangos-realmd default" - einfo "\trc-update add mangos-worldd default" - einfo - - ewarn - einfo "Next steps for you may be as the following example:" - einfo "\t${PREFIX}/bin/ad -i/path/to/wow/client -o${PREFIX}/share/mangos" - # TODO replace these points with actual commands, and provide helpful URLs - einfo "\t- initialize database schema" - einfo "\t- populate database" -} diff --git a/games-rpg/mangos/mangos-9999.2.ebuild b/games-rpg/mangos/mangos-9999.2.ebuild deleted file mode 100644 index 1d84252f5218..000000000000 --- a/games-rpg/mangos/mangos-9999.2.ebuild +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/mangos-9999.2.ebuild,v 1.1 2009/07/23 01:10:43 trapni Exp $ - -# TODO: -# - make use of system's zlib/zthread ebuilds instead of mangos' packaged -# - create ebuilds for specific releases (and related patchsets, if desired) - -inherit eutils git subversion autotools - -MANGOS_REPO_URI="git://github.com/mangos/mangos.git" -SD2_REPO_URI="https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2" - -EGIT_REPO_URI="${MANGOS_REPO_URI}" -ESVN_REPO_URI="${SD2_REPO_URI}" - -DESCRIPTION="Massive Network Game Object Server" -HOMEPAGE="http://getmangos.com/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cli ra sd2 debug mysql postgres ahbot tools" - -RDEPEND="postgres? ( virtual/postgresql-server ) - mysql? ( >=virtual/mysql-4.1 ) - !mysql? ( !postgres? ( >=virtual/mysql-4.1 ) )" - -DEPEND="${RDEPEND} - >=sys-devel/gcc-3.2 - sys-devel/make - >=sys-devel/automake-1.5 - sys-devel/autoconf - dev-libs/glib - dev-libs/openssl" - -## setup some env vars we use everywhere (but might change from ebuild to ebuild) -setup_env() { - export PREFIX='/usr' - export SYSCONFDIR='/etc/mangos' - export LOGDIR='/var/log/mangos' - -# export PREFIX='/opt/mangos' -# export SYSCONFDIR='/opt/mangos/etc' -# export LOGDIR='/opt/mangos/log' - - export PV_FILES='9999' -} - -pkg_setup() { - if useq mysql && useq postgres; then - eerror "Please decide with database you want to use for this ebuild by" - eerror "explicitely enabling/disabling the mysql and postgres USE-flags!" - die "Both useflags - mysql and postgres - has been specified. Choose one of them only!" - fi - - enewgroup mangos - enewuser mangos -1 -1 -1 "mangos" -} - -## unpacks SD2 (ScriptDev2) into mangos workdir -sd2_src_unpack() { - S="${S}/src/bindings/ScriptDev2" ESVN_REPO_URI="${SD2_REPO_URI}" subversion_src_unpack || die - - local PATCHES_DIR="${S}/src/bindings/ScriptDev2/patches" - local FILE=$(ls ${PATCHES_DIR} | sort -f -r | awk "NR == 1") - - EPATCH_OPTS="-d ${S}" EPATCH_FORCE="yes" epatch "${PATCHES_DIR}/${FILE}" || die -} - -## unpacks AHBot -ahbot_src_unpack() { - S="/var/tmp/portage/AHBot" - ESVN_REPO_URI="${AHBOT_SVN}" - ESVN_PROJECT="auctionhousebot" - subversion_src_unpack || die - - S="${WORKDIR}/${P}" - EPATCH_OPTS="-d ${S}" epatch "/var/tmp/portage/AHBot/auctionhousebot.patch" || die -} - -src_unpack() { - git_src_unpack - - useq sd2 && sd2_src_unpack - useq ahbot && ahbot_src_unpack - - cd "${S}" || die - eautoreconf --force --install || die "eautoreconf failed" -} - -src_compile() { - setup_env - local myconf - - if ! useq mysql && ! useq postgres; then - # defaulth to mysql in case nothing has been specified. - myconf="${myconf} --with-mysql" - fi - - mkdir obj || die - cd obj - - ECONF_SOURCE=.. econf \ - --with-gnu-ld \ - ${myconf} \ - --prefix="${PREFIX}" \ - --sysconfdir="${SYSCONFDIR}" \ - $(use_with mysql) \ - $(use_with postgres postgresql) \ - $(use_enable cli) \ - $(use_enable ra) \ - $(use_enable doc doxygen) \ - $(use_enable debug debug-info) \ - || die "econf failed" - - emake || die "emake failed" - - if useq tools; then - cd "${S}/contrib/extractor" || die - cmake . || die - emake || die "failed to run emake for extractor" - fi -} - -src_install() { - setup_env - - cd obj - - emake DESTDIR="${D}" install || die "emake install failed" - - dodir "${PREFIX}/share" - if [[ "${PREFIX}" != "/usr" ]]; then - mv "${D}/usr/share/mangos" "${D}${PREFIX}/share/mangos" || die - fi - rm -f "${D}${PREFIX}/bin/genrevision" # not really part of mangos dist - - doinitd "${FILESDIR}/${PV_FILES}/mangos-realmd" || die - doinitd "${FILESDIR}/${PV_FILES}/mangos-worldd" || die - - exeinto "${PREFIX}/bin" - if useq tools; then - doexe "${S}/contrib/extractor/ad" || die - fi - - keepdir ${PREFIX}/share/mangos/dbc - keepdir ${PREFIX}/share/mangos/maps - keepdir ${PREFIX}/share/mangos/vmaps - - if useq sd2; then - local DIRS=(sql sql/Updates sql/Updates/0.0.1 sql/Updates/0.0.2) - - for dir in ${DIRS[*]}; do - dodir "${PREFIX}/share/sd2/${dir}" || die - cp "${S}/src/bindings/ScriptDev2/${dir}/"*.sql "${D}${PREFIX}/share/sd2/${dir}" || die - done - fi - - keepdir ${LOGDIR} - - fowners root.mangos ${SYSCONFDIR} - fowners mangos.mangos ${LOGDIR} -} - -pkg_postinst() { - setup_env - - ewarn "You need to manually configure MaNGOS." - ewarn "See /etc/mangos/ for config files." - ewarn "Remember to move your maps, DBC and vmaps files to your data folder - ${PREFIX}/share/mangos/" - ewarn - ewarn "Don't forget to run SQL scripts for:" - ewarn "\t- MaNGOS databases: ${PREFIX}/share/mangos/sql" - useq sd2 && ewarn "\t- ScriptDev2 database: ${PREFIX}/share/sd2/sql" - - ewarn - einfo "If you want Mangos to start automatically on boot execute:" - einfo "\trc-update add mangos-realmd default" - einfo "\trc-update add mangos-worldd default" - einfo - - ewarn - einfo "Next steps for you may be as the following example:" - einfo "\t${PREFIX}/bin/ad -i/path/to/wow/client -o${PREFIX}/share/mangos" - # TODO replace these points with actual commands, and provide helpful URLs - einfo "\t- initialize database schema" - einfo "\t- populate database" -} diff --git a/games-rpg/mangos/mangos-9999.ebuild b/games-rpg/mangos/mangos-9999.ebuild deleted file mode 100644 index 22b1d2e6572e..000000000000 --- a/games-rpg/mangos/mangos-9999.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/mangos/mangos-9999.ebuild,v 1.1 2008/10/04 07:38:26 trapni Exp $ - -# TODO: -# - make use of system's zlib/zthread ebuilds instead of mangos' packaged -# - create ebuilds for specific releases (and related patchsets, if desired) - -inherit eutils subversion autotools - -MANGOS_SVN_REPO_URI="https://mangos.svn.sourceforge.net/svnroot/mangos/trunk" -SD2_SVN_REPO_URI="https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2" - -ESVN_REPO_URI="${MANGOS_SVN_REPO_URI}" - -DESCRIPTION="Massive Network Game Object Server" -HOMEPAGE="http://www.mangosproject.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="cli ra sd2 debug mysql postgres" - -RDEPEND="postgres? ( virtual/postgresql-server ) - mysql? ( >=virtual/mysql-4.1 ) - !mysql? ( !postgres? ( >=virtual/mysql-4.1 ) )" - -DEPEND="${RDEPEND} - >=sys-devel/gcc-3.2 - sys-devel/make - sys-devel/automake - sys-devel/autoconf - dev-libs/glib - dev-libs/openssl" - -pkg_setup() { - if useq mysql && useq postgres; then - eerror "Please decide with database you want to use for this ebuild by" - eerror "explicitely enabling/disabling the mysql and postgres USE-flags!" - die "Both useflags - mysql and postgres - has been specified. Choose one of them only!" - fi - enewgroup mangos - enewuser mangos -} - -## unpacks SD2 (ScriptDev2) into mangos workdir -function sd2_src_unpack() { - S="${S}/src/bindings/ScriptDev2" ESVN_REPO_URI="${SD2_SVN_REPO_URI}" subversion_src_unpack || die - - local PATCHES_DIR="${S}/src/bindings/ScriptDev2/patches" - local FILE=$(ls ${PATCHES_DIR} | sort -f -r | awk "NR == 1") - - EPATCH_OPTS="-d ${S}" EPATCH_FORCE="yes" epatch "${PATCHES_DIR}/${FILE}" || die -} - -src_unpack() { - subversion_src_unpack - - useq sd2 && sd2_src_unpack - - cd "${S}" || die - eautoreconf --install || die "eautoreconf failed" -} - -src_compile() { - local myconf - - if ! useq mysql && ! useq postgres; then - # defaulth to mysql in case nothing has been specified. - myconf="${myconf} --with-mysql" - fi - - econf \ - --with-gnu-ld \ - ${myconf} \ - --sysconfdir=/etc/mangos \ - $(use_with mysql) \ - $(use_with postgres postgresql) \ - $(use_enable cli) \ - $(use_enable ra) \ - $(use_enable debug debug-info) \ - || die "econf failed" - - emake || die "emake with current options failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - rm -f "${D}/usr/bin/gensvnrevision" # not really part of mangos dist - - doinitd "${FILESDIR}/${PV}/mangos-realmd" || die - doinitd "${FILESDIR}/${PV}/mangos-worldd" || die - - dodir /usr/share/mangos/dbc - dodir /usr/share/mangos/maps - dodir /usr/share/mangos/vmaps - - dodir /var/log/mangos - - fowners root.mangos /etc/mangos - fowners mangos.mangos /var/log/mangos -} - -pkg_postinst() { - ewarn "You need to manually configure MaNGOS." - ewarn "See /etc/mangos/ for config files." - ewarn "Remember to move you maps, DBC and vmaps files to your data folder - /usr/share/mangos/" - ewarn - ewarn "Don't forget to run SQL scripts for:" - ewarn "\t- MaNGOS databases : /usr/share/mangos/sql" - - useq sd2 && ewarn "\t- ScriptDev2 database: /usr/share/scriptdev2/sql" - - ewarn - einfo "If you want Mangos to start automatically on boot execute :" - einfo "\t- rc-update add mangos-realmd default" - einfo "\t- rc-update add mangos-worldd default" - einfo -} diff --git a/games-rpg/mangos/metadata.xml b/games-rpg/mangos/metadata.xml deleted file mode 100644 index 92d35f2ea8b2..000000000000 --- a/games-rpg/mangos/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>trapni@gentoo.org</email> - </maintainer> - <use> - <flag name='ra'>compiles with support remote console system</flag> - <flag name='cli'>compiles with support command line system</flag> - <flag name='sd2'>includes ScriptDev2 to distribution</flag> - <flag name='tools'>include additional tools, such as the ad map extractor</flag> - <flag name='ahbot'>include the AHBot-patch</flag> - </use> -</pkgmetadata> |