aboutsummaryrefslogtreecommitdiffstats
path: root/games/phpua-q3/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-04-10 20:19:41 +0800
committerpav <pav@FreeBSD.org>2004-04-10 20:19:41 +0800
commit3e251fbc2bf461f6c39a3ebfb860b63d26c8abc6 (patch)
treeec99bcd36a79166dabe6aa3ad0216b72030d5c92 /games/phpua-q3/Makefile
parent6c2b58bc6e903cf2d41a0bb839e99c4414d93b8f (diff)
downloadfreebsd-ports-gnome-3e251fbc2bf461f6c39a3ebfb860b63d26c8abc6.tar.gz
freebsd-ports-gnome-3e251fbc2bf461f6c39a3ebfb860b63d26c8abc6.tar.zst
freebsd-ports-gnome-3e251fbc2bf461f6c39a3ebfb860b63d26c8abc6.zip
Add phpua-q3, Quake 3 plug-in for phpUA.
PR: ports/65188 Submitted by: Hideki Machida <hido@neojapangz.com>
Diffstat (limited to 'games/phpua-q3/Makefile')
-rw-r--r--games/phpua-q3/Makefile53
1 files changed, 53 insertions, 0 deletions
diff --git a/games/phpua-q3/Makefile b/games/phpua-q3/Makefile
new file mode 100644
index 000000000000..50524445373e
--- /dev/null
+++ b/games/phpua-q3/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: phpua-plugin_q3
+# Date created: 11 March 2003
+# Whom: hideki
+#
+# $FreeBSD$
+#
+
+PORTNAME= phpua-plugin_q3
+PORTVERSION= 1.1.0b
+CATEGORIES= games www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= phpua
+
+MAINTAINER= hido@neojapangz.com
+COMMENT= A Quake 3 plugin for phpUA
+
+RUN_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${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}/
+ @ ${CP} -R ${WRKDIR}/images ${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>