Re: [phing] Updated FreeBSD Phing Port

2008-08-18 Thread Jun Kuriyama
Hi,

2008/5/31 Brian A. Seklecki [EMAIL PROTECTED]:
 Normally I would say that this PR may be approaching the point where we
 override the maintainer -- the problem is that I haven't received any
 feedback from anyone other than my development team.

I committed for devel/php5-phing port, but I received this port is
broken.  The reason
is depending PEAR in post-extract stage.  And installing files on
extract stage is not
our style.

I try to fix this, but I don't know this installation can work for
actual phing users.  Can
someone check this patch works well?


-- 
Jun Kuriyama [EMAIL PROTECTED] // FreeBSD Project
 [EMAIL PROTECTED] // S2 Factory, Inc.
Index: Makefile
===
RCS file: /home/ncvs/ports/devel/php5-phing/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	16 Aug 2008 08:10:34 -	1.4
+++ Makefile	18 Aug 2008 05:46:17 -
@@ -7,7 +7,7 @@
 
 PORTNAME=	phing
 PORTVERSION=	2.3.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	http://pear.phing.info/get/
 
@@ -37,6 +37,7 @@
 	BuildLogger.php TaskContainer.php BuildEvent.php Task.php \
 	TaskAdapter.php Phing.php RuntimeConfigurable.php BuildListener.php \
 	Project.php UnknownElement.php BuildException.php Target.php \
+	phing.php \
 	util/regexp/RegexpEngine.php util/regexp/Regexp.php \
 	util/regexp/PregEngine.php \
 	util/SourceFileScanner.php util/ExtendedFileStream.php \
@@ -214,23 +215,24 @@
 	input/InputHandler.php input/InputRequest.php \
 	input/MultipleChoiceInputRequest.php \
 	input/DefaultInputHandler.php input/PropertyFileInputHandler.php \
-	input/YesNoInputRequest.php
+	input/YesNoInputRequest.php \
 
 DOCS=
 EXAMPLES= src/HelloWorldTest.php src/HelloWorld.php build.xml
 SQLS=
-SCRIPTFILES=
+SCRIPTFILES=	phing
 TESTS=
 
 post-extract:
 	${MV} ${WRKSRC}/example ${WRKSRC}/examples
+
+post-patch:
+	${MKDIR} ${WRKSRC}/pear-bin
 	${SED} -e s|/opt/phing|${PREFIX}/lib/php/phing| \
 		-e s|@PHP-BIN@|${PREFIX}/bin/php| \
 		-e s|@PEAR-DIR@|${PREFIX}/share/pear| \
-	${WRKSRC}/bin/pear-phing  ${WRKSRC}/bin/pear-phing.new
-	@${INSTALL_SCRIPT} ${WRKSRC}/bin/pear-phing.new ${PREFIX}/bin/phing
-	${INSTALL_DATA} ${WRKSRC}/bin/phing.php ${PREFIX}/share/pear/phing.php
-	@${CHMOD} 755 ${PREFIX}/bin/phing
+	${WRKSRC}/bin/pear-phing  ${WRKSRC}/pear-phing
+	${CP} ${WRKSRC}/bin/phing.php ${WRKSRC}/phing.php
 
 .include bsd.port.pre.mk
 .include ${PORTSDIR}/devel/pear/bsd.pear.mk
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: [phing] Updated FreeBSD Phing Port

2008-08-04 Thread Brian A. Seklecki

As we near the 9 month anniversary of this, [er [EMAIL PROTECTED], I
recommend that we commit the new version of this port.

~BAS


On Fri, 2008-05-30 at 17:11 -0400, Brian A. Seklecki wrote:
 All:
 
 Normally I would say that this PR may be approaching the point where we
 override the maintainer -- the problem is that I haven't received any
 feedback from anyone other than my development team.
 
 ~BAS
 
 On Mon, 2008-04-07 at 11:32 -0400, Brian A. Seklecki wrote:
  The associated PRs are:
  
  http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/122450
  
  http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/121791
  
  My draft version of the rewrite is at:
  
  http://people.collaborativefusion.com/~seklecki/phing-2.3.0-CFI1.tar
  
  I would note that there is a 20-line count diff of the file-contents
  listing  -- someone should  dig through it to validate that some files
  massive list of files has not been added since I originally composed the
  PLIST back in  late October of 2007?  I just never filed PR for some
  reason.
  
  Feedback appreciated  -- be sure to CC: [EMAIL PROTECTED] with
  title e: ports/122450: devel/php5-phing redesign
  
  TIA,
  
  ~BAS
  
  On Fri, 2008-04-04 at 12:43 -0400, Brian A. Seklecki wrote:
   I remember now why I never filed the PR -- the whole thing is fucked.  I
   realized that after I tried to conver the FreeBSD port from a simple
   do-install: target to use ${PORTSDIR}/devel/pear/bsd.pear.mk:
   
   
   Here are the two big issues that I require guidance with:
   
   1) FreeBSD Ports PEAR subsystem designates pear package contents as
  either: $TESTS $SCRIPTFILES $SQLS $EXAMPLES $DOCS or $FILES
   
  Not the most ambiguous designations ever, but close.
   
  Pear packages use categories: script, php, data, doc 
   
  Could anyone comment on the mappings?
   
   2) The PEAR port is installing a script in $PREFIX/bin/phing
  as a bourne shell script wrapper around $PREFIX/share/pear/phing.php
   
  script /usr/local/bin/phing
 
   
  $ ident /usr/local/bin/phing
  /usr/local/bin/phing:
  $Id: pear-phing 123 2006-09-14 20:19:08Z mrook $
   
  Where as we are running some sed(1) statements on:
   
   ${WRKSRC}/bin/phing the installing it as ${PREFIX}/bin/phing
   
   However, i think some of these post-extract: targets are legacy 
   because one substrpl is: s|/opt/phing|${PREFIX}/lib/php/phing|
   
   But:
   
   $ grep -i opt \
 [../obj]/devel/php5-phing-work/work/phing-2.3.0/bin/phing.php 
 // Set any INI options for PHP
   
   No such instances of this string exist any more in phing.php or
   phing in 2.3.0x
   
   I'm filing the PR now and I'll let everyone else fight over the proper
   solution.
   
   ~BAS
   
   
   On Fri, 2008-04-04 at 11:46 -0400, Brian A. Seklecki wrote:


On Fri, 2008-04-04 at 11:27 -0400, Brian A. Seklecki wrote:
 Michiel et. al.:
 
 Some of my developers are telling me that they are having some 
 trouble 
 using the stable v2.3.0 in FreeBSD ports.

Oh yea, my day is done for:

[EMAIL PROTECTED]:/home/seklecki$ wc -l phing_port.txt phing_pear.txt
  272 phing_port
  301 phing_pear

  573 total

I have a vague recollection, maybe 6 months ago, converting the FreeBSD
port to use the PEAR-framework so that it is properly registered --
spending 18 hours sorting out PLIST differences.

What happened? Maybe I forgot to file PR?

~BAS


 I'm digging for details now -- but I may be related to the path in 
 which 
 the PEAR package installs files v.s. the Port.
 
 Any insight into this before I burn my day down?
 
 ~BAS
 
 On Sun, 7 Oct 2007, Michiel Rook wrote:
 
  Hi Brian,
 
  We should endeavor to update this to something recent.  We'll try 
  this from 
  here and forward results on.
 
  That'd be great! The latest release is 2.3.0RC1 - we're hoping to 
  release 
  2.3.0 soon(ish).
 
  regards,
 
  Michiel
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 l8*
   -lava (Brian A. Seklecki - Pittsburgh, PA, USA)
  http://www.spiritual-machines.org/
 
  Guilty? Yeah. But he knows it. I mean, you're guilty.
  You just don't know it. So who's really in jail?
  ~Maynard James Keenan
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.

___
freebsd-ports@freebsd.org mailing list

Re: [phing] Updated FreeBSD Phing Port

2008-06-04 Thread Jun Kuriyama
At Fri, 30 May 2008 17:11:35 -0400,
Brian A. Seklecki wrote:
 Normally I would say that this PR may be approaching the point where we
 override the maintainer

No problem from me.


-- 
Jun Kuriyama [EMAIL PROTECTED] // S2 Factory, Inc.
 [EMAIL PROTECTED]   // IMG SRC, Inc.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [phing] Updated FreeBSD Phing Port

2008-05-30 Thread Brian A. Seklecki
All:

Normally I would say that this PR may be approaching the point where we
override the maintainer -- the problem is that I haven't received any
feedback from anyone other than my development team.

~BAS

On Mon, 2008-04-07 at 11:32 -0400, Brian A. Seklecki wrote:
 The associated PRs are:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/122450
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/121791
 
 My draft version of the rewrite is at:
 
 http://people.collaborativefusion.com/~seklecki/phing-2.3.0-CFI1.tar
 
 I would note that there is a 20-line count diff of the file-contents
 listing  -- someone should  dig through it to validate that some files
 massive list of files has not been added since I originally composed the
 PLIST back in  late October of 2007?  I just never filed PR for some
 reason.
 
 Feedback appreciated  -- be sure to CC: [EMAIL PROTECTED] with
 title e: ports/122450: devel/php5-phing redesign
 
 TIA,
 
 ~BAS
 
 On Fri, 2008-04-04 at 12:43 -0400, Brian A. Seklecki wrote:
  I remember now why I never filed the PR -- the whole thing is fucked.  I
  realized that after I tried to conver the FreeBSD port from a simple
  do-install: target to use ${PORTSDIR}/devel/pear/bsd.pear.mk:
  
  
  Here are the two big issues that I require guidance with:
  
  1) FreeBSD Ports PEAR subsystem designates pear package contents as
 either: $TESTS $SCRIPTFILES $SQLS $EXAMPLES $DOCS or $FILES
  
 Not the most ambiguous designations ever, but close.
  
 Pear packages use categories: script, php, data, doc 
  
 Could anyone comment on the mappings?
  
  2) The PEAR port is installing a script in $PREFIX/bin/phing
 as a bourne shell script wrapper around $PREFIX/share/pear/phing.php
  
 script /usr/local/bin/phing

  
 $ ident /usr/local/bin/phing
 /usr/local/bin/phing:
 $Id: pear-phing 123 2006-09-14 20:19:08Z mrook $
  
 Where as we are running some sed(1) statements on:
  
  ${WRKSRC}/bin/phing the installing it as ${PREFIX}/bin/phing
  
  However, i think some of these post-extract: targets are legacy 
  because one substrpl is: s|/opt/phing|${PREFIX}/lib/php/phing|
  
  But:
  
  $ grep -i opt \
[../obj]/devel/php5-phing-work/work/phing-2.3.0/bin/phing.php 
// Set any INI options for PHP
  
  No such instances of this string exist any more in phing.php or
  phing in 2.3.0x
  
  I'm filing the PR now and I'll let everyone else fight over the proper
  solution.
  
  ~BAS
  
  
  On Fri, 2008-04-04 at 11:46 -0400, Brian A. Seklecki wrote:
   
   
   On Fri, 2008-04-04 at 11:27 -0400, Brian A. Seklecki wrote:
Michiel et. al.:

Some of my developers are telling me that they are having some trouble 
using the stable v2.3.0 in FreeBSD ports.
   
   Oh yea, my day is done for:
   
   [EMAIL PROTECTED]:/home/seklecki$ wc -l phing_port.txt phing_pear.txt
 272 phing_port
 301 phing_pear
   
 573 total
   
   I have a vague recollection, maybe 6 months ago, converting the FreeBSD
   port to use the PEAR-framework so that it is properly registered --
   spending 18 hours sorting out PLIST differences.
   
   What happened? Maybe I forgot to file PR?
   
   ~BAS
   
   
I'm digging for details now -- but I may be related to the path in 
which 
the PEAR package installs files v.s. the Port.

Any insight into this before I burn my day down?

~BAS

On Sun, 7 Oct 2007, Michiel Rook wrote:

 Hi Brian,

 We should endeavor to update this to something recent.  We'll try 
 this from 
 here and forward results on.

 That'd be great! The latest release is 2.3.0RC1 - we're hoping to 
 release 
 2.3.0 soon(ish).

 regards,

 Michiel

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Updated FreeBSD Phing Port

2007-10-02 Thread Brian A. Seklecki


All:

FBSD Ports has an old copy from late `06 before phing.info / 
phing.tigris.org apparently:


 $ ident /usr/local/bin/phing
  /usr/local/bin/phing:
  $Id: pear-phing 123 2006-09-14 20:19:08Z mrook

  PORTNAME=   phing
  PORTVERSION=2.1.1


However, one of my developers seems to have a 2.3.x-BETA/RC version 
running on 6.2-p7 just fine (php 5.2.1/pear 1.6.2)


 $ phing -version
   Phing version 2.3.0beta1

We should endeavor to update this to something recent.  We'll try this 
from here and forward results on.



l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

Guilty? Yeah. But he knows it. I mean, you're guilty.
You just don't know it. So who's really in jail?
~Maynard James Keenan

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]