Bug 99739 - [update port] games/phpua-hl - UnBROKEN
Summary: [update port] games/phpua-hl - UnBROKEN
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 11:30 UTC by babak
Modified: 2006-07-22 11:10 UTC (History)
0 users

See Also:


Attachments
phpua-hl.patch (678 bytes, patch)
2006-07-03 11:30 UTC, babak
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description babak 2006-07-03 11:30:21 UTC

- www/data/phpua -> www/phpua
- UnBROKEN
- Take maintainership
Comment 1 Mark Linimon 2006-07-03 11:36:30 UTC
If this is the same fix for all the other phpua-* ports, just send a
followup to this PR saying so, rather than the 6 different PRs, and
I'll take care of it.  Thanks.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2006-07-03 11:51:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 3 babak 2006-07-03 12:03:12 UTC
Hi,

Got this message too late and already submitted 6 PRs. And the answer is
yes, it is the same patch for all.

Thank you

> -----Original Message-----
> From: Mark Linimon [mailto:linimon@lonesome.com]
> Sent: Monday, July 03, 2006 2:07 PM
> To: Babak Farrokhi
> Cc: FreeBSD gnats submit
> Subject: Re: ports/99739: [update port] games/phpua-hl - UnBROKEN
> 
> If this is the same fix for all the other phpua-* ports, just send a
> followup to this PR saying so, rather than the 6 different PRs, and
> I'll take care of it.  Thanks.
Comment 4 babak 2006-07-20 12:16:36 UTC
New patch:

--- phpua-hl.patch begins here ---
diff -ruN phpua-hl.orig/Makefile phpua-hl/Makefile
--- phpua-hl.orig/Makefile	Thu Jul 20 09:53:17 2006
+++ phpua-hl/Makefile	Thu Jul 20 13:21:24 2006
@@ -7,21 +7,19 @@
 
 PORTNAME=	phpua-plugin_hl
 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 Half-Life 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 @@
 	${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 -ruN phpua-hl.orig/pkg-plist phpua-hl/pkg-plist
--- phpua-hl.orig/pkg-plist	Thu Jul 20 09:53:17 2006
+++ phpua-hl/pkg-plist	Thu Jul 20 13:55:06 2006
@@ -52,11 +52,18 @@
 %%PHPUA%%/templates/default/plugin_hl/x.js
 %%PHPUA%%/templates/javascript/plugin_hl/info.tpl
 %%PHPUA%%/templates/wap/plugin_hl/info.tpl
-@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%%
 @dirrm %%PHPUA%%/templates/wap/plugin_hl
+@dirrmtry %%PHPUA%%/templates/wap
 @dirrm %%PHPUA%%/templates/javascript/plugin_hl
+@dirrmtry %%PHPUA%%/templates/javascript
 @dirrm %%PHPUA%%/templates/default/plugin_hl
+@dirrmtry %%PHPUA%%/templates/default
+@dirrmtry %%PHPUA%%/templates
 @dirrm %%PHPUA%%/plugins/plugin_hl
+@dirrmtry %%PHPUA%%/plugins
 @dirrm %%PHPUA%%/images/templates/wap/plugin_hl
+@dirrmtry %%PHPUA%%/images/templates/wap
 @dirrm %%PHPUA%%/images/templates/default/plugin_hl
-@dirrmtry %%PHPUA%%/images/templates/wap/
+@dirrmtry %%PHPUA%%/images/templates/default
+@dirrmtry %%PHPUA%%/images/templates
+@dirrmtry %%PHPUA%%/images
--- phpua-hl.patch ends here ---
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2006-07-22 11:10:43 UTC
State Changed
From-To: open->closed

Committed. Thanks!