ports/65186: New port: games/phpua-plugin_bf A Call of Duty plugin for phpUA
Hideki Machida
hido at neojapangz.com
Mon Apr 5 03:30:19 UTC 2004
>Number: 65186
>Category: ports
>Synopsis: New port: games/phpua-plugin_bf A Call of Duty 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:18 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 Call of Duty.
>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-cod
# phpua-cod/distinfo
# phpua-cod/Makefile
# phpua-cod/pkg-descr
# phpua-cod/pkg-plist
# phpua-cod/files
# phpua-cod/files/pkg-opts
#
echo c - phpua-cod
mkdir -p phpua-cod > /dev/null 2>&1
echo x - phpua-cod/distinfo
sed 's/^X//' >phpua-cod/distinfo << 'END-of-phpua-cod/distinfo'
XMD5 (phpua-plugin_cod-1.1.0b.tar.gz) = 6489dfd30e13e93daeab65a5002f43f0
XSIZE (phpua-plugin_cod-1.1.0b.tar.gz) = 379149
END-of-phpua-cod/distinfo
echo x - phpua-cod/Makefile
sed 's/^X//' >phpua-cod/Makefile << 'END-of-phpua-cod/Makefile'
X# New ports collection makefile for: phpua-plugin_cod
X# Date created: 11 March 2003
X# Whom: hideki
X#
X# $FreeBSD$
X#
X
XPORTNAME= phpua-plugin_cod
XPORTVERSION= 1.1.0b
XCATEGORIES= games www
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= phpua
X
XMAINTAINER= hido at neojapangz.com
XCOMMENT= A Call of Duty 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-cod/Makefile
echo x - phpua-cod/pkg-descr
sed 's/^X//' >phpua-cod/pkg-descr << 'END-of-phpua-cod/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-cod/pkg-descr
echo x - phpua-cod/pkg-plist
sed 's/^X//' >phpua-cod/pkg-plist << 'END-of-phpua-cod/pkg-plist'
X%%PHPUA%%/images/plugin_cod/maps/mp_brecourt.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_carentan.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_chateau.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_dawnville.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_depot.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_harbor.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_hurtgen.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_pavlov.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_powcamp.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_railyard.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_rocket.jpg
X%%PHPUA%%/images/plugin_cod/maps/mp_ship.jpg
X%%PHPUA%%/images/templates/default/plugin_cod/unavailable.jpg
X%%PHPUA%%/plugins/plugin_cod/plugin_cod.inc
X%%PHPUA%%/plugins/plugin_cod/plugin_cod_mode_info.inc
X%%PHPUA%%/plugins/plugin_cod/plugin_cod_mode_rules.inc
X%%PHPUA%%/plugins/plugin_cod/plugin_cod_mode_watch.inc
X%%PHPUA%%/templates/default/plugin_cod/info.tpl
X%%PHPUA%%/templates/default/plugin_cod/rules.tpl
X%%PHPUA%%/templates/default/plugin_cod/watch.js
X%%PHPUA%%/templates/default/plugin_cod/watch.tpl
X%%PHPUA%%/templates/default/plugin_cod/x.js
X%%PHPUA%%/templates/javascript/plugin_cod/info.tpl
X%%PHPUA%%/templates/wap/plugin_cod/info.tpl
X at dirrm %%PHPUA%%/templates/wap/plugin_cod
X at dirrm %%PHPUA%%/templates/javascript/plugin_cod
X at dirrm %%PHPUA%%/templates/default/plugin_cod
X at dirrm %%PHPUA%%/plugins/plugin_cod
X at dirrm %%PHPUA%%/images/templates/default/plugin_cod
X at dirrm %%PHPUA%%/images/plugin_cod/maps
X at dirrm %%PHPUA%%/images/plugin_cod
END-of-phpua-cod/pkg-plist
echo c - phpua-cod/files
mkdir -p phpua-cod/files > /dev/null 2>&1
echo x - phpua-cod/files/pkg-opts
sed 's/^X//' >phpua-cod/files/pkg-opts << 'END-of-phpua-cod/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-cod/files/pkg-opts
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list