freebsd-ports/games/phpua-cod/Makefile
Mark Linimon 27aa28e99d Reset bouncing maintainer addresses.
Source:		distfile survey
Hat:		portmgr
2005-10-10 02:25:24 +00:00

53 lines
1.4 KiB
Makefile

# New ports collection makefile for: phpua-plugin_cod
# Date created: 11 March 2003
# Whom: hideki
#
# $FreeBSD$
#
PORTNAME= phpua-plugin_cod
PORTVERSION= 1.1.0b
CATEGORIES= games www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= phpua
MAINTAINER= ports@FreeBSD.org
COMMENT= A Call of Duty plugin for phpUA
RUN_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${PORTSDIR}/games/phpua-engine
# Some variables you can change
PHPUA?= www/data/phpua
PHPUA_USER?= ${WWWOWN}
PHPUA_GROUP?= ${WWWGRP}
# Static Variables
PKGOPTS= ${FILESDIR}/pkg-opts
NO_BUILD= yes
PLIST_SUB+= PHPUA=${PHPUA} PHPUA_USER=${PHPUA_USER} PHPUA_GROUP=${PHPUA_GROUP}
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}/images ${PREFIX}/${PHPUA}/
@ ${CP} -R ${WRKDIR}/plugins ${PREFIX}/${PHPUA}/
@ ${CP} -R ${WRKDIR}/templates ${PREFIX}/${PHPUA}/
@ ${CHOWN} -R ${PHPUA_USER}:${PHPUA_GROUP} ${PREFIX}/${PHPUA}
@ ${ECHO_MSG} ""
@ ${ECHO_MSG} "* Files have been installed in"
@ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}"
@ ${ECHO_MSG} "*"
.include <bsd.port.mk>