mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Add phpua-bf, Battlefield 1942 plug-in for phpUA.
PR: ports/65185 Submitted by: Hideki Machida <hido@neojapangz.com>
This commit is contained in:
parent
105ff63d66
commit
abe30108e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106642
@ -326,6 +326,7 @@
|
||||
SUBDIR += penguin-command
|
||||
SUBDIR += pentix
|
||||
SUBDIR += phalanx
|
||||
SUBDIR += phpua-bf
|
||||
SUBDIR += phpua-engine
|
||||
SUBDIR += pinball
|
||||
SUBDIR += pipenightdreams
|
||||
|
52
games/phpua-bf/Makefile
Normal file
52
games/phpua-bf/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
# New ports collection makefile for: phpua-plugin_bf
|
||||
# Date created: 20 Feb 2003
|
||||
# Whom: hideki
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= phpua-plugin_bf
|
||||
PORTVERSION= 1.1.0b
|
||||
CATEGORIES= games www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= phpua
|
||||
|
||||
MAINTAINER= hido@neojapangz.com
|
||||
COMMENT= A Battlefield 1942 plugin for phpUA
|
||||
|
||||
RUN_DEPENDS= ${PKG_DBDIR}/phpua-engine-1.1.0b:${PORTSDIR}/games/phpua-engine
|
||||
|
||||
# Some variables you can change
|
||||
PHPUA?= www/data/phpua
|
||||
USER?= www
|
||||
GROUP?= www
|
||||
|
||||
# Static Variables
|
||||
PKGOPTS= ${FILESDIR}/pkg-opts
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_SUB+= PHPUA=${PHPUA}
|
||||
|
||||
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
|
||||
|
||||
do-install:
|
||||
@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUA}/
|
||||
@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/
|
||||
@ ${CHOWN} -R ${USER}:${GROUP} ${PREFIX}/${PHPUA}
|
||||
@ ${ECHO_MSG} ""
|
||||
@ ${ECHO_MSG} "* Files have been installed in"
|
||||
@ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}"
|
||||
@ ${ECHO_MSG} "*"
|
||||
|
||||
.include <bsd.port.mk>
|
2
games/phpua-bf/distinfo
Normal file
2
games/phpua-bf/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (phpua-plugin_bf-1.1.0b.tar.gz) = e6482258816f2cfffe8c993e221e5cd9
|
||||
SIZE (phpua-plugin_bf-1.1.0b.tar.gz) = 8634
|
10
games/phpua-bf/files/pkg-opts
Normal file
10
games/phpua-bf/files/pkg-opts
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
> PHPUA [www/data/phpua]
|
||||
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
|
||||
|
11
games/phpua-bf/pkg-descr
Normal file
11
games/phpua-bf/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
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.
|
||||
|
||||
This is a plug-in for Battlefield 1942.
|
||||
|
||||
WWW: http://phpua.sourceforge.net/
|
||||
|
||||
- Hideki
|
||||
hido@neojapangz.com
|
15
games/phpua-bf/pkg-plist
Normal file
15
games/phpua-bf/pkg-plist
Normal file
@ -0,0 +1,15 @@
|
||||
%%PHPUA%%/plugins/plugin_bf/plugin_bf.inc
|
||||
%%PHPUA%%/plugins/plugin_bf/plugin_bf_mode_info.inc
|
||||
%%PHPUA%%/plugins/plugin_bf/plugin_bf_mode_rules.inc
|
||||
%%PHPUA%%/plugins/plugin_bf/plugin_bf_mode_watch.inc
|
||||
%%PHPUA%%/templates/default/plugin_bf/info.tpl
|
||||
%%PHPUA%%/templates/default/plugin_bf/rules.tpl
|
||||
%%PHPUA%%/templates/default/plugin_bf/watch.js
|
||||
%%PHPUA%%/templates/default/plugin_bf/watch.tpl
|
||||
%%PHPUA%%/templates/default/plugin_bf/x.js
|
||||
%%PHPUA%%/templates/javascript/plugin_bf/info.tpl
|
||||
%%PHPUA%%/templates/wap/plugin_bf/info.tpl
|
||||
@dirrm %%PHPUA%%/templates/wap/plugin_bf
|
||||
@dirrm %%PHPUA%%/templates/javascript/plugin_bf
|
||||
@dirrm %%PHPUA%%/templates/default/plugin_bf
|
||||
@dirrm %%PHPUA%%/plugins/plugin_bf
|
Loading…
Reference in New Issue
Block a user