diff options
author | miwi <miwi@FreeBSD.org> | 2006-07-22 18:12:50 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-07-22 18:12:50 +0800 |
commit | 7487ca54cbf2be27f9137f5b994ca897ff9709aa (patch) | |
tree | 06ec1e46b2ce221e161911ec92dca7d20859174d /games/phpua-cod | |
parent | 6b59b5bd52ea93c2d583eb1ab93330e83ad93d52 (diff) | |
download | freebsd-ports-gnome-7487ca54cbf2be27f9137f5b994ca897ff9709aa.tar.gz freebsd-ports-gnome-7487ca54cbf2be27f9137f5b994ca897ff9709aa.tar.zst freebsd-ports-gnome-7487ca54cbf2be27f9137f5b994ca897ff9709aa.zip |
- Mark unbroken
- Pass maintainership to submitter
- Fix plist
PR: ports/99741
Submitted by: Babak Farrokhi <babak(at)farrokhi.net>
Approved by: krion (mentor)
Diffstat (limited to 'games/phpua-cod')
-rw-r--r-- | games/phpua-cod/Makefile | 22 | ||||
-rw-r--r-- | games/phpua-cod/pkg-plist | 9 |
2 files changed, 19 insertions, 12 deletions
diff --git a/games/phpua-cod/Makefile b/games/phpua-cod/Makefile index ae90bff03fa2..1d2719cadcd9 100644 --- a/games/phpua-cod/Makefile +++ b/games/phpua-cod/Makefile @@ -7,21 +7,19 @@ PORTNAME= phpua-plugin_cod PORTVERSION= 1.1.0b +PORTREVISION= 1 CATEGORIES= games www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= phpua -MAINTAINER= ports@FreeBSD.org +MAINTAINER= babak@farrokhi.net COMMENT= A Call of Duty plugin for phpUA -RUN_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${PORTSDIR}/games/phpua-engine - -BROKEN= does not install due to dependency problem in games/phpua-engine -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2006-09-03 +BUILD_DEPENDS= ${LOCALBASE}/${PHPUA}/index.php:${PORTSDIR}/games/phpua-engine +RUN_DEPENDS= ${BUILD_DEPENDS} # Some variables you can change -PHPUA?= www/data/phpua +PHPUA?= www/phpua PHPUA_USER?= ${WWWOWN} PHPUA_GROUP?= ${WWWGRP} @@ -44,11 +42,13 @@ pre-everything:: ${ECHO_MSG} '-------------------------------------------------------------------------') .endif +do-extract: + @ ${MKDIR} ${WRKSRC} + @ cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS} + 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} + @ ${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}" diff --git a/games/phpua-cod/pkg-plist b/games/phpua-cod/pkg-plist index e89deb53aa64..d545ee61bb95 100644 --- a/games/phpua-cod/pkg-plist +++ b/games/phpua-cod/pkg-plist @@ -22,11 +22,18 @@ %%PHPUA%%/templates/default/plugin_cod/x.js %%PHPUA%%/templates/javascript/plugin_cod/info.tpl %%PHPUA%%/templates/wap/plugin_cod/info.tpl -@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%% @dirrm %%PHPUA%%/templates/wap/plugin_cod +@dirrmtry %%PHPUA%%/templates/wap @dirrm %%PHPUA%%/templates/javascript/plugin_cod +@dirrmtry %%PHPUA%%/templates/javascript @dirrm %%PHPUA%%/templates/default/plugin_cod +@dirrmtry %%PHPUA%%/templates/default +@dirrmtry %%PHPUA%%/templates @dirrm %%PHPUA%%/plugins/plugin_cod +@dirrmtry %%PHPUA%%/plugins @dirrm %%PHPUA%%/images/templates/default/plugin_cod +@dirrmtry %%PHPUA%%/images/templates/default +@dirrmtry %%PHPUA%%/images/templates @dirrm %%PHPUA%%/images/plugin_cod/maps @dirrm %%PHPUA%%/images/plugin_cod +@dirrmtry %%PHPUA%%/images |