ports/65185: New port: games/phpua-plugin_bf A Battlefield 1942 plugin for phpUA

Hideki Machida hido at neojapangz.com
Mon Apr 5 03:30:18 UTC 2004


>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 04 20:30:17 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 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 at 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 at 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 at dirrm %%PHPUA%%/templates/wap/plugin_bf
X at dirrm %%PHPUA%%/templates/javascript/plugin_bf
X at dirrm %%PHPUA%%/templates/default/plugin_bf
X at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list