Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2004 20:31:03 -0700 (PDT)
From:      Hideki Machida <hido@neojapangz.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/65187: New port: games/phpua-plugin_hl A Half-Life plugin for phpUA
Message-ID:  <200404050331.i353V3Z6083201@www.freebsd.org>
Resent-Message-ID: <200404050340.i353eOdU084832@freefall.freebsd.org>

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

>Number:         65187
>Category:       ports
>Synopsis:       New port: games/phpua-plugin_hl A Half-Life plugin for phpUA
>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 Apr 04 20:40:24 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hideki Machida
>Release:        
>Organization:
>Environment:
>Description:
This is a plugin for phpUA which provides functionality for working with Half-Life.
>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-hl
#	phpua-hl/distinfo
#	phpua-hl/Makefile
#	phpua-hl/pkg-descr
#	phpua-hl/pkg-plist
#	phpua-hl/files
#	phpua-hl/files/pkg-opts
#
echo c - phpua-hl
mkdir -p phpua-hl > /dev/null 2>&1
echo x - phpua-hl/distinfo
sed 's/^X//' >phpua-hl/distinfo << 'END-of-phpua-hl/distinfo'
XMD5 (phpua-plugin_hl-1.1.0b.tar.gz) = 5be2d0b2c313c5c74b137636cb8954d2
XSIZE (phpua-plugin_hl-1.1.0b.tar.gz) = 37656
END-of-phpua-hl/distinfo
echo x - phpua-hl/Makefile
sed 's/^X//' >phpua-hl/Makefile << 'END-of-phpua-hl/Makefile'
X# New ports collection makefile for:   phpua-plugin_hl
X# Date created:        29 March 2003
X# Whom:                hideki
X#
X# $FreeBSD$
X#
X
XPORTNAME=       phpua-plugin_hl
XPORTVERSION=    1.1.0b
XCATEGORIES=     games www
XMASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=     phpua
X
XMAINTAINER=     hido@neojapangz.com
XCOMMENT=        A Half-Life plugin for phpUA
X
XRUN_DEPENDS=    ${PKG_DBDIR}/phpua-engine-1.1.0b:${PORTSDIR}/games/phpua-engine
X
X# Some variables you can change
XPHPUA?=         www/data/phpua
XUSER?=          www
XGROUP?=         www
X
X# Static Variables
XPKGOPTS=        ${FILESDIR}/pkg-opts
X
XNO_BUILD=       yes
X
XPLIST_SUB+=     PHPUA=${PHPUA}
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	@ ${CP} -R ${WRKDIR}/images ${PREFIX}/${PHPUA}/
X	@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUA}/
X	@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/
X	@ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUA}
X	@ ${ECHO_MSG} ""
X	@ ${ECHO_MSG} "* Files have been installed in"
X	@ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}"
X	@ ${ECHO_MSG} "*"
X
X.include <bsd.port.mk>
END-of-phpua-hl/Makefile
echo x - phpua-hl/pkg-descr
sed 's/^X//' >phpua-hl/pkg-descr << 'END-of-phpua-hl/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-hl/pkg-descr
echo x - phpua-hl/pkg-plist
sed 's/^X//' >phpua-hl/pkg-plist << 'END-of-phpua-hl/pkg-plist'
X%%PHPUA%%/images/templates/default/plugin_hl/bomb.png
X%%PHPUA%%/images/templates/default/plugin_hl/bomb_planted.png
X%%PHPUA%%/images/templates/default/plugin_hl/dispenser.png
X%%PHPUA%%/images/templates/default/plugin_hl/flag_blue.gif
X%%PHPUA%%/images/templates/default/plugin_hl/flag_gray.gif
X%%PHPUA%%/images/templates/default/plugin_hl/flag_green.gif
X%%PHPUA%%/images/templates/default/plugin_hl/flag_red.gif
X%%PHPUA%%/images/templates/default/plugin_hl/flag_yellow.gif
X%%PHPUA%%/images/templates/default/plugin_hl/icon_blue.png
X%%PHPUA%%/images/templates/default/plugin_hl/icon_command.png
X%%PHPUA%%/images/templates/default/plugin_hl/icon_dead.png
X%%PHPUA%%/images/templates/default/plugin_hl/icon_green.png
X%%PHPUA%%/images/templates/default/plugin_hl/icon_hive.png
X%%PHPUA%%/images/templates/default/plugin_hl/icon_hostage.png
X%%PHPUA%%/images/templates/default/plugin_hl/icon_red.png
X%%PHPUA%%/images/templates/default/plugin_hl/icon_resource_alien.png
X%%PHPUA%%/images/templates/default/plugin_hl/icon_resource_marine.png
X%%PHPUA%%/images/templates/default/plugin_hl/icon_vip.png
X%%PHPUA%%/images/templates/default/plugin_hl/icon_yellow.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry1_0.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry1_1.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry1_2.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry1_3.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry2_0.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry2_1.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry2_2.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry2_3.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry3_0.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry3_1.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry3_2.png
X%%PHPUA%%/images/templates/default/plugin_hl/sentry3_3.png
X%%PHPUA%%/images/templates/default/plugin_hl/teleporter0.png
X%%PHPUA%%/images/templates/default/plugin_hl/teleporter1.png
X%%PHPUA%%/images/templates/default/plugin_hl/teleporter2.png
X%%PHPUA%%/images/templates/default/plugin_hl/teleporter3.png
X%%PHPUA%%/images/templates/default/plugin_hl/unavailable.jpg
X%%PHPUA%%/images/templates/wap/plugin_hl/unavailable.jpg
X%%PHPUA%%/plugins/plugin_hl/plugin_hl.inc
X%%PHPUA%%/plugins/plugin_hl/plugin_hl_mm.inc
X%%PHPUA%%/plugins/plugin_hl/plugin_hl_mode_info.inc
X%%PHPUA%%/plugins/plugin_hl/plugin_hl_mode_rules.inc
X%%PHPUA%%/plugins/plugin_hl/plugin_hl_mode_watch.inc
X%%PHPUA%%/plugins/plugin_hl/plugin_hl_mode_watch_mm.inc
X%%PHPUA%%/plugins/plugin_hl/plugin_hl_mode_watch_query.inc
X%%PHPUA%%/plugins/plugin_hl/plugin_hl_query.inc
X%%PHPUA%%/templates/default/plugin_hl/info.tpl
X%%PHPUA%%/templates/default/plugin_hl/rules.tpl
X%%PHPUA%%/templates/default/plugin_hl/watch_mm.js
X%%PHPUA%%/templates/default/plugin_hl/watch_mm.tpl
X%%PHPUA%%/templates/default/plugin_hl/watch_query.js
X%%PHPUA%%/templates/default/plugin_hl/watch_query.tpl
X%%PHPUA%%/templates/default/plugin_hl/x.js
X%%PHPUA%%/templates/javascript/plugin_hl/info.tpl
X%%PHPUA%%/templates/wap/plugin_hl/info.tpl
X@dirrm %%PHPUA%%/templates/wap/plugin_hl
X@dirrm %%PHPUA%%/templates/javascript/plugin_hl
X@dirrm %%PHPUA%%/templates/default/plugin_hl
X@dirrm %%PHPUA%%/plugins/plugin_hl
X@dirrm %%PHPUA%%/images/templates/wap/plugin_hl
X@dirrm %%PHPUA%%/images/templates/default/plugin_hl
END-of-phpua-hl/pkg-plist
echo c - phpua-hl/files
mkdir -p phpua-hl/files > /dev/null 2>&1
echo x - phpua-hl/files/pkg-opts
sed 's/^X//' >phpua-hl/files/pkg-opts << 'END-of-phpua-hl/files/pkg-opts'
X
X> PHPUA		[www/data/phpua]
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
END-of-phpua-hl/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?200404050331.i353V3Z6083201>