mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
4893b0b3db
PR: 70965, 70966, 70967, 70968, 70969, 70970, 70971, 70972 Submitted by: Hideki Machida <hido@coreblack.com> (maintainer)
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# 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@coreblack.com
|
|
COMMENT= A Battlefield 1942 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}/
|
|
@ ${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>
|