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 -0000	1.4
+++ Makefile	18 Aug 2008 05:46:17 -0000
@@ -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]"

Reply via email to