From babak@farrokhi.net  Mon Jul  3 10:40:19 2006
Return-Path: <babak@farrokhi.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0895416A4E6
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Jul 2006 10:40:19 +0000 (UTC)
	(envelope-from babak@farrokhi.net)
Received: from Plesk.datak.net (plesk.datak-telecom.net [81.91.129.96])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 04D6143D7B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Jul 2006 10:40:11 +0000 (GMT)
	(envelope-from babak@farrokhi.net)
Received: (qmail 20028 invoked from network); 3 Jul 2006 15:10:09 +0430
Received: from unknown (HELO starfish.datak.net) (81.91.130.217)
  by 81.91.129.125 with (DHE-RSA-AES256-SHA encrypted) SMTP; 3 Jul 2006 15:10:09 +0430
Message-Id: <1151923208.70357@starfish.datak.net>
Date: Mon, 3 Jul 2006 14:10:08 +0330
From: "Babak Farrokhi" <babak@farrokhi.net>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [update port] games/phpua-ut2003 - UnBROKEN
X-Send-Pr-Version: gtk-send-pr 0.4.7 
X-GNATS-Notify:

>Number:         99744
>Category:       ports
>Synopsis:       [update port] games/phpua-ut2003 - UnBROKEN
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 03 10:50:17 GMT 2006
>Closed-Date:    Sat Jul 22 10:24:41 GMT 2006
>Last-Modified:  Sat Jul 22 10:24:41 GMT 2006
>Originator:     Babak Farrokhi
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.1-STABLE #0: Sat Jul  1 09:11:09 IRDT 2006
    root@starfish.datak.net:/usr/obj/usr/src/sys/SMP



>Description:


- www/data/phpua -> www/phpua
- UnBROKEN
- Take maintainership


>How-To-Repeat:





>Fix:


--- phpua-ut2003.patch begins here ---
diff -ruN phpua-ut2003.orig/Makefile phpua-ut2003/Makefile
--- phpua-ut2003.orig/Makefile	Mon Jul  3 14:08:26 2006
+++ phpua-ut2003/Makefile	Mon Jul  3 14:08:45 2006
@@ -11,17 +11,13 @@
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	phpua
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	babak@farrokhi.net
 COMMENT=	An Unreal Tournament 2003 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
-
 # Some variables you can change
-PHPUA?=		www/data/phpua
+PHPUA?=		www/phpua
 PHPUA_USER?=	${WWWOWN}
 PHPUA_GROUP?=	${WWWGRP}
 
--- phpua-ut2003.patch ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Mon Jul 3 11:22:07 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99744 

From: "Babak Farrokhi" <babak@farrokhi.net>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: ports/99744: [update port] games/phpua-ut2003 - UnBROKEN
Date: Thu, 20 Jul 2006 14:54:12 +0330

 New patch:
 
 --- phpua-ut2003.patch begins here ---
 diff -ruN phpua-ut2003.orig/Makefile phpua-ut2003/Makefile
 --- phpua-ut2003.orig/Makefile	Thu Jul 20 09:53:29 2006
 +++ phpua-ut2003/Makefile	Thu Jul 20 13:21:09 2006
 @@ -7,21 +7,19 @@
  
  PORTNAME=	phpua-plugin_ut2003
  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=	An Unreal Tournament 2003 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,12 +42,16 @@
  	${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}/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}"
  	@ ${ECHO_MSG} "*"
 +
  .include <bsd.port.mk>
 diff -ruN phpua-ut2003.orig/pkg-plist phpua-ut2003/pkg-plist
 --- phpua-ut2003.orig/pkg-plist	Thu Jul 20 09:53:29 2006
 +++ phpua-ut2003/pkg-plist	Thu Jul 20 14:00:46 2006
 @@ -9,8 +9,12 @@
  %%PHPUA%%/templates/default/plugin_ut2003/x.js
  %%PHPUA%%/templates/javascript/plugin_ut2003/info.tpl
  %%PHPUA%%/templates/wap/plugin_ut2003/info.tpl
 -@exec chown -R %%PHPUA_USER%%:%%PHPUA_GROUP%% %D/%%PHPUA%%
  @dirrm %%PHPUA%%/templates/wap/plugin_ut2003
 +@dirrmtry %%PHPUA%%/templates/wap
  @dirrm %%PHPUA%%/templates/javascript/plugin_ut2003
 +@dirrmtry %%PHPUA%%/templates/javascript
  @dirrm %%PHPUA%%/templates/default/plugin_ut2003
 +@dirrmtry %%PHPUA%%/templates/default
 +@dirrmtry %%PHPUA%%/templates
  @dirrm %%PHPUA%%/plugins/plugin_ut2003
 +@dirrmtry %%PHPUA%%/plugins
 --- phpua-ut2003.patch ends here ---
 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jul 22 10:24:39 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99744 
>Unformatted:
