From nobody@FreeBSD.org  Sun Apr  4 20:26:20 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 673D516A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 Apr 2004 20:26:20 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4999E43D41
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  4 Apr 2004 20:26:20 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i353QK72082592
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 4 Apr 2004 20:26:20 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i353QKES082591;
	Sun, 4 Apr 2004 20:26:20 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200404050326.i353QKES082591@www.freebsd.org>
Date: Sun, 4 Apr 2004 20:26:20 -0700 (PDT)
From: Hideki Machida <hido@neojapangz.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: games/phpua-plugin_bf A Battlefield 1942 plugin for phpUA
X-Send-Pr-Version: www-2.3

>Number:         65185
>Category:       ports
>Synopsis:       New port: games/phpua-plugin_bf A Battlefield 1942 plugin for phpUA
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 04 20:30:17 PDT 2004
>Closed-Date:    Sat Apr 10 04:45:31 PDT 2004
>Last-Modified:  Sat Apr 10 04:45:31 PDT 2004
>Originator:     Hideki Machida
>Release:        
>Organization:
>Environment:
>Description:
This is a plugin for phpUA which provides functionality for working with Battlefield 1942.
>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-bf
#	phpua-bf/distinfo
#	phpua-bf/Makefile
#	phpua-bf/pkg-descr
#	phpua-bf/pkg-plist
#	phpua-bf/files
#	phpua-bf/files/pkg-opts
#
echo c - phpua-bf
mkdir -p phpua-bf > /dev/null 2>&1
echo x - phpua-bf/distinfo
sed 's/^X//' >phpua-bf/distinfo << 'END-of-phpua-bf/distinfo'
XMD5 (phpua-plugin_bf-1.1.0b.tar.gz) = e6482258816f2cfffe8c993e221e5cd9
XSIZE (phpua-plugin_bf-1.1.0b.tar.gz) = 8634
END-of-phpua-bf/distinfo
echo x - phpua-bf/Makefile
sed 's/^X//' >phpua-bf/Makefile << 'END-of-phpua-bf/Makefile'
X# New ports collection makefile for:   phpua-plugin_bf
X# Date created:        20 Feb 2003
X# Whom:                hideki
X#
X# $FreeBSD$
X#
X
XPORTNAME=       phpua-plugin_bf
XPORTVERSION=    1.1.0b
XCATEGORIES=     games www
XMASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=     phpua
X
XMAINTAINER=     hido@neojapangz.com
XCOMMENT=        A Battlefield 1942 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}/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-bf/Makefile
echo x - phpua-bf/pkg-descr
sed 's/^X//' >phpua-bf/pkg-descr << 'END-of-phpua-bf/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-bf/pkg-descr
echo x - phpua-bf/pkg-plist
sed 's/^X//' >phpua-bf/pkg-plist << 'END-of-phpua-bf/pkg-plist'
X%%PHPUA%%/plugins/plugin_bf/plugin_bf.inc
X%%PHPUA%%/plugins/plugin_bf/plugin_bf_mode_info.inc
X%%PHPUA%%/plugins/plugin_bf/plugin_bf_mode_rules.inc
X%%PHPUA%%/plugins/plugin_bf/plugin_bf_mode_watch.inc
X%%PHPUA%%/templates/default/plugin_bf/info.tpl
X%%PHPUA%%/templates/default/plugin_bf/rules.tpl
X%%PHPUA%%/templates/default/plugin_bf/watch.js
X%%PHPUA%%/templates/default/plugin_bf/watch.tpl
X%%PHPUA%%/templates/default/plugin_bf/x.js
X%%PHPUA%%/templates/javascript/plugin_bf/info.tpl
X%%PHPUA%%/templates/wap/plugin_bf/info.tpl
X@dirrm %%PHPUA%%/templates/wap/plugin_bf
X@dirrm %%PHPUA%%/templates/javascript/plugin_bf
X@dirrm %%PHPUA%%/templates/default/plugin_bf
X@dirrm %%PHPUA%%/plugins/plugin_bf
END-of-phpua-bf/pkg-plist
echo c - phpua-bf/files
mkdir -p phpua-bf/files > /dev/null 2>&1
echo x - phpua-bf/files/pkg-opts
sed 's/^X//' >phpua-bf/files/pkg-opts << 'END-of-phpua-bf/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-bf/files/pkg-opts
exit

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Apr 10 04:45:22 PDT 2004 
State-Changed-Why:  
New port added, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65185 
>Unformatted:
