1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/phpua-bf/Makefile
Martin Wilke 9b44ad368a - Mark unbroken
- Pass maintainership to submitter
- Fix plist

PR:		ports/99740
Submitted by:	Babak Farrokhi <babak(at)farrokhi.net>
Approved by:	krion (mentor)
2006-07-22 10:15:13 +00:00

58 lines
1.5 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
PORTREVISION= 1
CATEGORIES= games www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= phpua
MAINTAINER= babak@farrokhi.net
COMMENT= A Battlefield 1942 plugin for phpUA
BUILD_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${PORTSDIR}/games/phpua-engine
RUN_DEPENDS= ${BUILD_DEPENDS}
# Some variables you can change
PHPUA?= www/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-extract:
@ ${MKDIR} ${WRKSRC}
@ cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}
do-install:
@ ${CHOWN} -R ${PHPUA_USER}:${PHPUA_GROUP} ${WRKSRC}
@ ${CP} -R ${WRKSRC}/ ${PREFIX}/${PHPUA}/
@ ${ECHO_MSG} ""
@ ${ECHO_MSG} "* Files have been installed in"
@ ${ECHO_MSG} "* ${PREFIX}/${PHPUA}"
@ ${ECHO_MSG} "*"
.include <bsd.port.mk>