Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Mar 2004 17:45:51 -0800 (PST)
From:      Hideki Machida <hido@neojapangz.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/64874: New port: games/phpua A gameserver monitor and admin tool for many different games
Message-ID:  <200403290145.i2T1jpOF072950@www.freebsd.org>
Resent-Message-ID: <200403290150.i2T1oCZ4046112@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         64874
>Category:       ports
>Synopsis:       New port: games/phpua A gameserver monitor and admin tool for many different games
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 28 17:50:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hideki Machida
>Release:        
>Organization:
Private
>Environment:
>Description:
phpUA is a PHP script that enables gaming server administrators
to manage their servers via a website interface and to display
server information including live statistics to the public.
Plug-ins allow for game, language and website design compatibility.

>How-To-Repeat:
      
>Fix:
# 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:
#
#	phpua
#	phpua/distinfo
#	phpua/Makefile
#	phpua/pkg-descr
#	phpua/pkg-plist
#	phpua/files
#	phpua/files/pkg-opts
#
echo c - phpua
mkdir -p phpua > /dev/null 2>&1
echo x - phpua/distinfo
sed 's/^X//' >phpua/distinfo << 'END-of-phpua/distinfo'
XMD5 (phpua-engine-1.1.0b.tar.gz) = 93cc013555fabb859ae54dc4cd9eefc5
XSIZE (phpua-engine-1.1.0b.tar.gz) = 171707
END-of-phpua/distinfo
echo x - phpua/Makefile
sed 's/^X//' >phpua/Makefile << 'END-of-phpua/Makefile'
X# New ports collection makefile for:   phpUA
X# Date created:        20 Feb 2003
X# Whom:                hideki
X#
X# $FreeBSD$
X#
X
XPORTNAME=       phpua-engine
XPORTVERSION=    1.1.0b
XCATEGORIES=     games www
XMASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	phpua
X
XMAINTAINER=     hido@neojapangz.com
XCOMMENT=        Game server monitor & admin tool
X
XRUN_DEPENDS=    php-config:${PORTSDIR}/www/mod_php4
X
XNO_BUILD=       yes
XUSE_APACHE=     yes
X
XPLIST_SUB+=     PHPUADIR=${PHPUADIR}
X
X# Dynamic custom variables
XWWWDOC?=	www/data
XUSER?=		www
XGROUP?=		www
XAPPNAME?=	phpua
X
X# Static Variables
XPKGOPTS=	${FILESDIR}/pkg-opts
XPHPUADIR=	${WWWDOC}/${APPNAME}
X
Xoptions:
X	@ ${ECHO_MSG} "===>  Build options for ${PKGNAME}:"
X	@ ${CAT} ${PKGOPTS}
X
Xpre-everything::
X.if !defined(BATCH)
X	@ ${TEST} -r ${PKGOPTS} && \
X	(${ECHO_MSG} '-------------------------------------------------------------------------'; \
X	${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \
X	${ECHO_MSG} '-------------------------------------------------------------------------')
X.endif
X
Xdo-install:
X	@ ${MKDIR} ${PREFIX}/${PHPUADIR}
X	@ ${CP} ${WRKDIR}/*.php ${PREFIX}/${PHPUADIR}/
X	@ ${CP} -R ${WRKDIR}/doc ${PREFIX}/${PHPUADIR}/
X	@ ${CP} -R ${WRKDIR}/images ${PREFIX}/${PHPUADIR}/
X	@ ${CP} -R ${WRKDIR}/includes ${PREFIX}/${PHPUADIR}/
X	@ ${CP} -R ${WRKDIR}/languages ${PREFIX}/${PHPUADIR}/
X	@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUADIR}/
X	@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUADIR}/
X	@ ${CP} -R ${WRKDIR}/wap ${PREFIX}/${PHPUADIR}/
X	@ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUADIR}/
X	@ ${ECHO_MSG} ""
X	@ ${ECHO_MSG} "* Files have been installed in"
X	@ ${ECHO_MSG} "* ${PREFIX}/${PHPUADIR}"
X	@ ${ECHO_MSG} "*"
X	@ ${ECHO_MSG} "* Goto "http://your.url/${APPNAME}/install.php" to complete installing this package"
X	@ ${ECHO_MSG} "*"
X	@ ${ECHO_MSG} "* Don't forget to install the modules needed to administer the type of game your hosting"
X	@ ${ECHO_MSG} ""
X
X.include <bsd.port.mk>
END-of-phpua/Makefile
echo x - phpua/pkg-descr
sed 's/^X//' >phpua/pkg-descr << 'END-of-phpua/pkg-descr'
XA Revolution in Server Administration
X
XphpUA is a PHP script that enables gaming server administrators 
Xto manage their servers via a website interface and to display 
Xserver information including live statistics to the public. 
XPlug-ins allow for game, language and website design compatibility.
X
XWWW: http://phpua.sourceforge.net/
X
X- Hideki
Xhido@neojapangz.com
END-of-phpua/pkg-descr
echo x - phpua/pkg-plist
sed 's/^X//' >phpua/pkg-plist << 'END-of-phpua/pkg-plist'
X%%PHPUADIR%%/index.php
X%%PHPUADIR%%/install.php
X%%PHPUADIR%%/phpua.cfg.php
X%%PHPUADIR%%/phpua.log.php
X%%PHPUADIR%%/rss.php
X%%PHPUADIR%%/doc/CHANGELOG.txt
X%%PHPUADIR%%/doc/COPYING.txt
X%%PHPUADIR%%/doc/index.html
X%%PHPUADIR%%/doc/INSTALL.txt
X%%PHPUADIR%%/doc/ISO-3166.txt
X%%PHPUADIR%%/doc/ISO-639.txt
X%%PHPUADIR%%/doc/RFC-1766.txt
X%%PHPUADIR%%/images/templates/default/header.gif
X%%PHPUADIR%%/images/templates/default/header_tile.gif
X%%PHPUADIR%%/images/templates/default/offline.png
X%%PHPUADIR%%/images/templates/default/online.png
X%%PHPUADIR%%/includes/content/credits.inc
X%%PHPUADIR%%/includes/content/index.inc
X%%PHPUADIR%%/includes/content/log.inc
X%%PHPUADIR%%/includes/content/login.inc
X%%PHPUADIR%%/includes/content/manageadmin.inc
X%%PHPUADIR%%/includes/content/manageplugins.inc
X%%PHPUADIR%%/includes/content/manageservers.inc
X%%PHPUADIR%%/includes/content/settings.inc
X%%PHPUADIR%%/includes/content/updatecheck.inc
X%%PHPUADIR%%/includes/engine/auth.inc
X%%PHPUADIR%%/includes/engine/benchmark.inc
X%%PHPUADIR%%/includes/engine/config.inc
X%%PHPUADIR%%/includes/engine/content.inc
X%%PHPUADIR%%/includes/engine/credits.inc
X%%PHPUADIR%%/includes/engine/errorhandler.inc
X%%PHPUADIR%%/includes/engine/languages.inc
X%%PHPUADIR%%/includes/engine/log.inc
X%%PHPUADIR%%/includes/engine/plugins.inc
X%%PHPUADIR%%/includes/engine/smarty.inc
X%%PHPUADIR%%/includes/smarty/BUGS
X%%PHPUADIR%%/includes/smarty/cache/empty.txt
X%%PHPUADIR%%/includes/smarty/ChangeLog
X%%PHPUADIR%%/includes/smarty/configs/empty.txt
X%%PHPUADIR%%/includes/smarty/Config_File.class.php
X%%PHPUADIR%%/includes/smarty/COPYING.lib
X%%PHPUADIR%%/includes/smarty/core/core.assemble_plugin_filepath.php
X%%PHPUADIR%%/includes/smarty/core/core.assign_smarty_interface.php
X%%PHPUADIR%%/includes/smarty/core/core.create_dir_structure.php
X%%PHPUADIR%%/includes/smarty/core/core.display_debug_console.php
X%%PHPUADIR%%/includes/smarty/core/core.get_include_path.php
X%%PHPUADIR%%/includes/smarty/core/core.get_microtime.php
X%%PHPUADIR%%/includes/smarty/core/core.get_php_resource.php
X%%PHPUADIR%%/includes/smarty/core/core.is_secure.php
X%%PHPUADIR%%/includes/smarty/core/core.is_trusted.php
X%%PHPUADIR%%/includes/smarty/core/core.load_plugins.php
X%%PHPUADIR%%/includes/smarty/core/core.load_resource_plugin.php
X%%PHPUADIR%%/includes/smarty/core/core.process_cached_inserts.php
X%%PHPUADIR%%/includes/smarty/core/core.process_compiled_include.php
X%%PHPUADIR%%/includes/smarty/core/core.read_cache_file.php
X%%PHPUADIR%%/includes/smarty/core/core.rmdir.php
X%%PHPUADIR%%/includes/smarty/core/core.rm_auto.php
X%%PHPUADIR%%/includes/smarty/core/core.run_insert_handler.php
X%%PHPUADIR%%/includes/smarty/core/core.smarty_include_php.php
X%%PHPUADIR%%/includes/smarty/core/core.write_cache_file.php
X%%PHPUADIR%%/includes/smarty/core/core.write_compiled_include.php
X%%PHPUADIR%%/includes/smarty/core/core.write_compiled_resource.php
X%%PHPUADIR%%/includes/smarty/core/core.write_file.php
X%%PHPUADIR%%/includes/smarty/debug.tpl
X%%PHPUADIR%%/includes/smarty/FAQ
X%%PHPUADIR%%/includes/smarty/INSTALL
X%%PHPUADIR%%/includes/smarty/NEWS
X%%PHPUADIR%%/includes/smarty/plugins/block.textformat.php
X%%PHPUADIR%%/includes/smarty/plugins/compiler.assign.php
X%%PHPUADIR%%/includes/smarty/plugins/function.assign_debug_info.php
X%%PHPUADIR%%/includes/smarty/plugins/function.config_load.php
X%%PHPUADIR%%/includes/smarty/plugins/function.counter.php
X%%PHPUADIR%%/includes/smarty/plugins/function.cycle.php
X%%PHPUADIR%%/includes/smarty/plugins/function.debug.php
X%%PHPUADIR%%/includes/smarty/plugins/function.eval.php
X%%PHPUADIR%%/includes/smarty/plugins/function.fetch.php
X%%PHPUADIR%%/includes/smarty/plugins/function.html_checkboxes.php
X%%PHPUADIR%%/includes/smarty/plugins/function.html_image.php
X%%PHPUADIR%%/includes/smarty/plugins/function.html_options.php
X%%PHPUADIR%%/includes/smarty/plugins/function.html_radios.php
X%%PHPUADIR%%/includes/smarty/plugins/function.html_select_date.php
X%%PHPUADIR%%/includes/smarty/plugins/function.html_select_time.php
X%%PHPUADIR%%/includes/smarty/plugins/function.html_table.php
X%%PHPUADIR%%/includes/smarty/plugins/function.mailto.php
X%%PHPUADIR%%/includes/smarty/plugins/function.math.php
X%%PHPUADIR%%/includes/smarty/plugins/function.popup.php
X%%PHPUADIR%%/includes/smarty/plugins/function.popup_init.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.capitalize.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.cat.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.count_characters.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.count_paragraphs.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.count_sentences.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.count_words.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.date_format.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.debug_print_var.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.default.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.escape.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.indent.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.lower.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.nl2br.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.regex_replace.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.replace.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.spacify.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.string_format.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.strip.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.strip_tags.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.truncate.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.upper.php
X%%PHPUADIR%%/includes/smarty/plugins/modifier.wordwrap.php
X%%PHPUADIR%%/includes/smarty/plugins/outputfilter.trimwhitespace.php
X%%PHPUADIR%%/includes/smarty/plugins/shared.escape_special_chars.php
X%%PHPUADIR%%/includes/smarty/plugins/shared.make_timestamp.php
X%%PHPUADIR%%/includes/smarty/README
X%%PHPUADIR%%/includes/smarty/RELEASE_NOTES
X%%PHPUADIR%%/includes/smarty/Smarty.class.php
X%%PHPUADIR%%/includes/smarty/Smarty_Compiler.class.php
X%%PHPUADIR%%/includes/smarty/templates_c/empty.txt
X%%PHPUADIR%%/includes/smarty/TODO
X%%PHPUADIR%%/languages/lang_en-us.inc
X%%PHPUADIR%%/plugins/shared/plugin_gs_query.inc
X%%PHPUADIR%%/plugins/shared/plugin_q3_query.inc
X%%PHPUADIR%%/templates/default/admin/log.tpl
X%%PHPUADIR%%/templates/default/admin/manageadmin.tpl
X%%PHPUADIR%%/templates/default/admin/manageplugins.tpl
X%%PHPUADIR%%/templates/default/admin/manageservers.tpl
X%%PHPUADIR%%/templates/default/admin/settings.tpl
X%%PHPUADIR%%/templates/default/admin/updatecheck.tpl
X%%PHPUADIR%%/templates/default/body_footer.tpl
X%%PHPUADIR%%/templates/default/body_header.tpl
X%%PHPUADIR%%/templates/default/credits.tpl
X%%PHPUADIR%%/templates/default/error.tpl
X%%PHPUADIR%%/templates/default/html_footer.tpl
X%%PHPUADIR%%/templates/default/html_header.tpl
X%%PHPUADIR%%/templates/default/index_footer.tpl
X%%PHPUADIR%%/templates/default/index_header.tpl
X%%PHPUADIR%%/templates/default/index_noservers.tpl
X%%PHPUADIR%%/templates/default/index_offline.tpl
X%%PHPUADIR%%/templates/default/index_online.tpl
X%%PHPUADIR%%/templates/default/login.tpl
X%%PHPUADIR%%/templates/default/stylesheet.css
X%%PHPUADIR%%/templates/javascript/body_footer.tpl
X%%PHPUADIR%%/templates/javascript/body_header.tpl
X%%PHPUADIR%%/templates/javascript/error.tpl
X%%PHPUADIR%%/templates/javascript/html_footer.tpl
X%%PHPUADIR%%/templates/javascript/html_header.tpl
X%%PHPUADIR%%/templates/rss/body_footer.tpl
X%%PHPUADIR%%/templates/rss/body_header.tpl
X%%PHPUADIR%%/templates/rss/error.tpl
X%%PHPUADIR%%/templates/rss/html_footer.tpl
X%%PHPUADIR%%/templates/rss/html_header.tpl
X%%PHPUADIR%%/templates/rss/index_footer.tpl
X%%PHPUADIR%%/templates/rss/index_header.tpl
X%%PHPUADIR%%/templates/rss/index_noservers.tpl
X%%PHPUADIR%%/templates/rss/index_offline.tpl
X%%PHPUADIR%%/templates/rss/index_online.tpl
X%%PHPUADIR%%/templates/wap/body_footer.tpl
X%%PHPUADIR%%/templates/wap/body_header.tpl
X%%PHPUADIR%%/templates/wap/error.tpl
X%%PHPUADIR%%/templates/wap/html_footer.tpl
X%%PHPUADIR%%/templates/wap/html_header.tpl
X%%PHPUADIR%%/templates/wap/index_footer.tpl
X%%PHPUADIR%%/templates/wap/index_header.tpl
X%%PHPUADIR%%/templates/wap/index_noservers.tpl
X%%PHPUADIR%%/templates/wap/index_offline.tpl
X%%PHPUADIR%%/templates/wap/index_online.tpl
X%%PHPUADIR%%/wap/index.php
X
X@dirrm %%PHPUADIR%%/doc
X@dirrm %%PHPUADIR%%/images/templates/default
X@dirrm %%PHPUADIR%%/images/templates
X@dirrm %%PHPUADIR%%/images
X@dirrm %%PHPUADIR%%/includes/content
X@dirrm %%PHPUADIR%%/includes/engine
X@dirrm %%PHPUADIR%%/includes/smarty/cache
X@dirrm %%PHPUADIR%%/includes/smarty/configs
X@dirrm %%PHPUADIR%%/includes/smarty/core
X@dirrm %%PHPUADIR%%/includes/smarty/plugins
X@dirrm %%PHPUADIR%%/includes/smarty/templates_c
X@dirrm %%PHPUADIR%%/includes/smarty
X@dirrm %%PHPUADIR%%/includes
X@dirrm %%PHPUADIR%%/languages
X@dirrm %%PHPUADIR%%/plugins/shared
X@dirrm %%PHPUADIR%%/plugins
X@dirrm %%PHPUADIR%%/templates/default/admin
X@dirrm %%PHPUADIR%%/templates/default
X@dirrm %%PHPUADIR%%/templates/javascript
X@dirrm %%PHPUADIR%%/templates/rss
X@dirrm %%PHPUADIR%%/templates/wap
X@dirrm %%PHPUADIR%%/templates
X@dirrm %%PHPUADIR%%/wap
X@dirrm %%PHPUADIR%%
END-of-phpua/pkg-plist
echo c - phpua/files
mkdir -p phpua/files > /dev/null 2>&1
echo x - phpua/files/pkg-opts
sed 's/^X//' >phpua/files/pkg-opts << 'END-of-phpua/files/pkg-opts'
X
X> WWWDOC	[www/data]
X  The DocumentRoot for your webserver under ${PREFIX}
X
X> USER		[www]
X  The user ID under which your webserver runs
X
X> GROUP		[www]
X  The group ID under which your webserver runs
X
X> APPNAME	[phpua]
X  The name of the directory for phpUA under your web server.
X
END-of-phpua/files/pkg-opts
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403290145.i2T1jpOF072950>