aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-04-01 17:37:22 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-04-01 17:37:22 +0000
commit02da8d0611ad751984a1249916d9dd7437793ebd (patch)
tree4559943e0c5f8d74430874801c8306ba7ca2cdbe /games
parent6b36417c29ee1a80478a91c0f2ade111d67e3521 (diff)
downloadports-02da8d0611ad751984a1249916d9dd7437793ebd.tar.gz
ports-02da8d0611ad751984a1249916d9dd7437793ebd.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/phpua-engine/Makefile64
-rw-r--r--games/phpua-engine/distinfo2
-rw-r--r--games/phpua-engine/files/pkg-message.in8
-rw-r--r--games/phpua-engine/files/pkg-opts13
-rw-r--r--games/phpua-engine/pkg-descr11
-rw-r--r--games/phpua-engine/pkg-plist191
7 files changed, 290 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 0c3a700b658c..e418b6dbdfaa 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -322,6 +322,7 @@
SUBDIR += penguin-command
SUBDIR += pentix
SUBDIR += phalanx
+ SUBDIR += phpua-engine
SUBDIR += pinball
SUBDIR += pipenightdreams
SUBDIR += pmars
diff --git a/games/phpua-engine/Makefile b/games/phpua-engine/Makefile
new file mode 100644
index 000000000000..ce8a13aac60f
--- /dev/null
+++ b/games/phpua-engine/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: phpUA
+# Date created: 20 Feb 2003
+# Whom: hideki
+#
+# $FreeBSD$
+#
+
+PORTNAME= phpua-engine
+PORTVERSION= 1.1.0b
+CATEGORIES= games www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= phpua
+
+MAINTAINER= hido@neojapangz.com
+COMMENT= Game server monitor & admin tool
+
+NO_BUILD= yes
+USE_APACHE= yes
+USE_PHP= yes
+
+PLIST_SUB+= PHPUADIR=${PHPUADIR}
+
+# Dynamic custom variables
+WWWDOC?= www/data
+USER?= www
+GROUP?= www
+APPNAME?= phpua
+
+# Static Variables
+PKGOPTS= ${FILESDIR}/pkg-opts
+PHPUADIR= ${WWWDOC}/${APPNAME}
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+options:
+ @ ${ECHO_MSG} "===> Build options for ${PKGNAME}:"
+ @ ${CAT} ${PKGOPTS}
+
+pre-everything::
+.if !defined(BATCH)
+ @ ${TEST} -r ${PKGOPTS} && \
+ (${ECHO_MSG} '-------------------------------------------------------------------------'; \
+ ${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \
+ ${ECHO_MSG} '-------------------------------------------------------------------------')
+.endif
+
+post-patch:
+ @${CAT} ${FILESDIR}/pkg-message.in | ${SED} -e \
+ 's|%%PREFIX%%|${PREFIX}| ; s|%%PHPUADIR%%|${PHPUADIR}| ; s|%%APPNAME%%|${APPNAME}|' \
+ > ${PKGMESSAGE}
+
+do-install:
+ @ ${MKDIR} ${PREFIX}/${PHPUADIR}
+ @ ${CP} ${WRKDIR}/*.php ${PREFIX}/${PHPUADIR}/
+ @ ${CP} -R ${WRKDIR}/doc ${PREFIX}/${PHPUADIR}/
+ @ ${CP} -R ${WRKDIR}/images ${PREFIX}/${PHPUADIR}/
+ @ ${CP} -R ${WRKDIR}/includes ${PREFIX}/${PHPUADIR}/
+ @ ${CP} -R ${WRKDIR}/languages ${PREFIX}/${PHPUADIR}/
+ @ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUADIR}/
+ @ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUADIR}/
+ @ ${CP} -R ${WRKDIR}/wap ${PREFIX}/${PHPUADIR}/
+ @ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUADIR}/
+
+.include <bsd.port.mk>
diff --git a/games/phpua-engine/distinfo b/games/phpua-engine/distinfo
new file mode 100644
index 000000000000..dbe682869d6a
--- /dev/null
+++ b/games/phpua-engine/distinfo
@@ -0,0 +1,2 @@
+MD5 (phpua-engine-1.1.0b.tar.gz) = 93cc013555fabb859ae54dc4cd9eefc5
+SIZE (phpua-engine-1.1.0b.tar.gz) = 171707
diff --git a/games/phpua-engine/files/pkg-message.in b/games/phpua-engine/files/pkg-message.in
new file mode 100644
index 000000000000..06a1eeb4fc16
--- /dev/null
+++ b/games/phpua-engine/files/pkg-message.in
@@ -0,0 +1,8 @@
+*
+* Files have been installed in
+* %%PREFIX%%/%%PHPUADIR%%
+*
+* Goto "http://your.url/%%APPNAME%%/install.php" to complete installing this package
+*
+* Don't forget to install the modules needed to administrate the game you're hosting
+*
diff --git a/games/phpua-engine/files/pkg-opts b/games/phpua-engine/files/pkg-opts
new file mode 100644
index 000000000000..94bc8831da14
--- /dev/null
+++ b/games/phpua-engine/files/pkg-opts
@@ -0,0 +1,13 @@
+
+> WWWDOC [www/data]
+ The DocumentRoot for your webserver under ${PREFIX}
+
+> USER [www]
+ The user ID under which your webserver runs
+
+> GROUP [www]
+ The group ID under which your webserver runs
+
+> APPNAME [phpua]
+ The name of the directory for phpUA under your web server.
+
diff --git a/games/phpua-engine/pkg-descr b/games/phpua-engine/pkg-descr
new file mode 100644
index 000000000000..defecfcf6fd0
--- /dev/null
+++ b/games/phpua-engine/pkg-descr
@@ -0,0 +1,11 @@
+A Revolution in Server Administration
+
+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.
+
+WWW: http://phpua.sourceforge.net/
+
+- Hideki
+hido@neojapangz.com
diff --git a/games/phpua-engine/pkg-plist b/games/phpua-engine/pkg-plist
new file mode 100644
index 000000000000..1b9c13fe8b9c
--- /dev/null
+++ b/games/phpua-engine/pkg-plist
@@ -0,0 +1,191 @@
+%%PHPUADIR%%/index.php
+%%PHPUADIR%%/install.php
+%%PHPUADIR%%/phpua.cfg.php
+%%PHPUADIR%%/phpua.log.php
+%%PHPUADIR%%/rss.php
+%%PHPUADIR%%/doc/CHANGELOG.txt
+%%PHPUADIR%%/doc/COPYING.txt
+%%PHPUADIR%%/doc/index.html
+%%PHPUADIR%%/doc/INSTALL.txt
+%%PHPUADIR%%/doc/ISO-3166.txt
+%%PHPUADIR%%/doc/ISO-639.txt
+%%PHPUADIR%%/doc/RFC-1766.txt
+%%PHPUADIR%%/images/templates/default/header.gif
+%%PHPUADIR%%/images/templates/default/header_tile.gif
+%%PHPUADIR%%/images/templates/default/offline.png
+%%PHPUADIR%%/images/templates/default/online.png
+%%PHPUADIR%%/includes/content/credits.inc
+%%PHPUADIR%%/includes/content/index.inc
+%%PHPUADIR%%/includes/content/log.inc
+%%PHPUADIR%%/includes/content/login.inc
+%%PHPUADIR%%/includes/content/manageadmin.inc
+%%PHPUADIR%%/includes/content/manageplugins.inc
+%%PHPUADIR%%/includes/content/manageservers.inc
+%%PHPUADIR%%/includes/content/settings.inc
+%%PHPUADIR%%/includes/content/updatecheck.inc
+%%PHPUADIR%%/includes/engine/auth.inc
+%%PHPUADIR%%/includes/engine/benchmark.inc
+%%PHPUADIR%%/includes/engine/config.inc
+%%PHPUADIR%%/includes/engine/content.inc
+%%PHPUADIR%%/includes/engine/credits.inc
+%%PHPUADIR%%/includes/engine/errorhandler.inc
+%%PHPUADIR%%/includes/engine/languages.inc
+%%PHPUADIR%%/includes/engine/log.inc
+%%PHPUADIR%%/includes/engine/plugins.inc
+%%PHPUADIR%%/includes/engine/smarty.inc
+%%PHPUADIR%%/includes/smarty/BUGS
+%%PHPUADIR%%/includes/smarty/cache/empty.txt
+%%PHPUADIR%%/includes/smarty/ChangeLog
+%%PHPUADIR%%/includes/smarty/configs/empty.txt
+%%PHPUADIR%%/includes/smarty/Config_File.class.php
+%%PHPUADIR%%/includes/smarty/COPYING.lib
+%%PHPUADIR%%/includes/smarty/core/core.assemble_plugin_filepath.php
+%%PHPUADIR%%/includes/smarty/core/core.assign_smarty_interface.php
+%%PHPUADIR%%/includes/smarty/core/core.create_dir_structure.php
+%%PHPUADIR%%/includes/smarty/core/core.display_debug_console.php
+%%PHPUADIR%%/includes/smarty/core/core.get_include_path.php
+%%PHPUADIR%%/includes/smarty/core/core.get_microtime.php
+%%PHPUADIR%%/includes/smarty/core/core.get_php_resource.php
+%%PHPUADIR%%/includes/smarty/core/core.is_secure.php
+%%PHPUADIR%%/includes/smarty/core/core.is_trusted.php
+%%PHPUADIR%%/includes/smarty/core/core.load_plugins.php
+%%PHPUADIR%%/includes/smarty/core/core.load_resource_plugin.php
+%%PHPUADIR%%/includes/smarty/core/core.process_cached_inserts.php
+%%PHPUADIR%%/includes/smarty/core/core.process_compiled_include.php
+%%PHPUADIR%%/includes/smarty/core/core.read_cache_file.php
+%%PHPUADIR%%/includes/smarty/core/core.rmdir.php
+%%PHPUADIR%%/includes/smarty/core/core.rm_auto.php
+%%PHPUADIR%%/includes/smarty/core/core.run_insert_handler.php
+%%PHPUADIR%%/includes/smarty/core/core.smarty_include_php.php
+%%PHPUADIR%%/includes/smarty/core/core.write_cache_file.php
+%%PHPUADIR%%/includes/smarty/core/core.write_compiled_include.php
+%%PHPUADIR%%/includes/smarty/core/core.write_compiled_resource.php
+%%PHPUADIR%%/includes/smarty/core/core.write_file.php
+%%PHPUADIR%%/includes/smarty/debug.tpl
+%%PHPUADIR%%/includes/smarty/FAQ
+%%PHPUADIR%%/includes/smarty/INSTALL
+%%PHPUADIR%%/includes/smarty/NEWS
+%%PHPUADIR%%/includes/smarty/plugins/block.textformat.php
+%%PHPUADIR%%/includes/smarty/plugins/compiler.assign.php
+%%PHPUADIR%%/includes/smarty/plugins/function.assign_debug_info.php
+%%PHPUADIR%%/includes/smarty/plugins/function.config_load.php
+%%PHPUADIR%%/includes/smarty/plugins/function.counter.php
+%%PHPUADIR%%/includes/smarty/plugins/function.cycle.php
+%%PHPUADIR%%/includes/smarty/plugins/function.debug.php
+%%PHPUADIR%%/includes/smarty/plugins/function.eval.php
+%%PHPUADIR%%/includes/smarty/plugins/function.fetch.php
+%%PHPUADIR%%/includes/smarty/plugins/function.html_checkboxes.php
+%%PHPUADIR%%/includes/smarty/plugins/function.html_image.php
+%%PHPUADIR%%/includes/smarty/plugins/function.html_options.php
+%%PHPUADIR%%/includes/smarty/plugins/function.html_radios.php
+%%PHPUADIR%%/includes/smarty/plugins/function.html_select_date.php
+%%PHPUADIR%%/includes/smarty/plugins/function.html_select_time.php
+%%PHPUADIR%%/includes/smarty/plugins/function.html_table.php
+%%PHPUADIR%%/includes/smarty/plugins/function.mailto.php
+%%PHPUADIR%%/includes/smarty/plugins/function.math.php
+%%PHPUADIR%%/includes/smarty/plugins/function.popup.php
+%%PHPUADIR%%/includes/smarty/plugins/function.popup_init.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.capitalize.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.cat.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.count_characters.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.count_paragraphs.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.count_sentences.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.count_words.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.date_format.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.debug_print_var.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.default.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.escape.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.indent.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.lower.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.nl2br.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.regex_replace.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.replace.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.spacify.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.string_format.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.strip.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.strip_tags.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.truncate.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.upper.php
+%%PHPUADIR%%/includes/smarty/plugins/modifier.wordwrap.php
+%%PHPUADIR%%/includes/smarty/plugins/outputfilter.trimwhitespace.php
+%%PHPUADIR%%/includes/smarty/plugins/shared.escape_special_chars.php
+%%PHPUADIR%%/includes/smarty/plugins/shared.make_timestamp.php
+%%PHPUADIR%%/includes/smarty/README
+%%PHPUADIR%%/includes/smarty/RELEASE_NOTES
+%%PHPUADIR%%/includes/smarty/Smarty.class.php
+%%PHPUADIR%%/includes/smarty/Smarty_Compiler.class.php
+%%PHPUADIR%%/includes/smarty/templates_c/empty.txt
+%%PHPUADIR%%/includes/smarty/TODO
+%%PHPUADIR%%/languages/lang_en-us.inc
+%%PHPUADIR%%/plugins/shared/plugin_gs_query.inc
+%%PHPUADIR%%/plugins/shared/plugin_q3_query.inc
+%%PHPUADIR%%/templates/default/admin/log.tpl
+%%PHPUADIR%%/templates/default/admin/manageadmin.tpl
+%%PHPUADIR%%/templates/default/admin/manageplugins.tpl
+%%PHPUADIR%%/templates/default/admin/manageservers.tpl
+%%PHPUADIR%%/templates/default/admin/settings.tpl
+%%PHPUADIR%%/templates/default/admin/updatecheck.tpl
+%%PHPUADIR%%/templates/default/body_footer.tpl
+%%PHPUADIR%%/templates/default/body_header.tpl
+%%PHPUADIR%%/templates/default/credits.tpl
+%%PHPUADIR%%/templates/default/error.tpl
+%%PHPUADIR%%/templates/default/html_footer.tpl
+%%PHPUADIR%%/templates/default/html_header.tpl
+%%PHPUADIR%%/templates/default/index_footer.tpl
+%%PHPUADIR%%/templates/default/index_header.tpl
+%%PHPUADIR%%/templates/default/index_noservers.tpl
+%%PHPUADIR%%/templates/default/index_offline.tpl
+%%PHPUADIR%%/templates/default/index_online.tpl
+%%PHPUADIR%%/templates/default/login.tpl
+%%PHPUADIR%%/templates/default/stylesheet.css
+%%PHPUADIR%%/templates/javascript/body_footer.tpl
+%%PHPUADIR%%/templates/javascript/body_header.tpl
+%%PHPUADIR%%/templates/javascript/error.tpl
+%%PHPUADIR%%/templates/javascript/html_footer.tpl
+%%PHPUADIR%%/templates/javascript/html_header.tpl
+%%PHPUADIR%%/templates/rss/body_footer.tpl
+%%PHPUADIR%%/templates/rss/body_header.tpl
+%%PHPUADIR%%/templates/rss/error.tpl
+%%PHPUADIR%%/templates/rss/html_footer.tpl
+%%PHPUADIR%%/templates/rss/html_header.tpl
+%%PHPUADIR%%/templates/rss/index_footer.tpl
+%%PHPUADIR%%/templates/rss/index_header.tpl
+%%PHPUADIR%%/templates/rss/index_noservers.tpl
+%%PHPUADIR%%/templates/rss/index_offline.tpl
+%%PHPUADIR%%/templates/rss/index_online.tpl
+%%PHPUADIR%%/templates/wap/body_footer.tpl
+%%PHPUADIR%%/templates/wap/body_header.tpl
+%%PHPUADIR%%/templates/wap/error.tpl
+%%PHPUADIR%%/templates/wap/html_footer.tpl
+%%PHPUADIR%%/templates/wap/html_header.tpl
+%%PHPUADIR%%/templates/wap/index_footer.tpl
+%%PHPUADIR%%/templates/wap/index_header.tpl
+%%PHPUADIR%%/templates/wap/index_noservers.tpl
+%%PHPUADIR%%/templates/wap/index_offline.tpl
+%%PHPUADIR%%/templates/wap/index_online.tpl
+%%PHPUADIR%%/wap/index.php
+
+@dirrm %%PHPUADIR%%/doc
+@dirrm %%PHPUADIR%%/images/templates/default
+@dirrm %%PHPUADIR%%/images/templates
+@dirrm %%PHPUADIR%%/images
+@dirrm %%PHPUADIR%%/includes/content
+@dirrm %%PHPUADIR%%/includes/engine
+@dirrm %%PHPUADIR%%/includes/smarty/cache
+@dirrm %%PHPUADIR%%/includes/smarty/configs
+@dirrm %%PHPUADIR%%/includes/smarty/core
+@dirrm %%PHPUADIR%%/includes/smarty/plugins
+@dirrm %%PHPUADIR%%/includes/smarty/templates_c
+@dirrm %%PHPUADIR%%/includes/smarty
+@dirrm %%PHPUADIR%%/includes
+@dirrm %%PHPUADIR%%/languages
+@dirrm %%PHPUADIR%%/plugins/shared
+@dirrm %%PHPUADIR%%/plugins
+@dirrm %%PHPUADIR%%/templates/default/admin
+@dirrm %%PHPUADIR%%/templates/default
+@dirrm %%PHPUADIR%%/templates/javascript
+@dirrm %%PHPUADIR%%/templates/rss
+@dirrm %%PHPUADIR%%/templates/wap
+@dirrm %%PHPUADIR%%/templates
+@dirrm %%PHPUADIR%%/wap
+@dirrm %%PHPUADIR%%