Index: head/devel/phpsh/Makefile =================================================================== --- head/devel/phpsh/Makefile (revision 362801) +++ head/devel/phpsh/Makefile (revision 362802) @@ -1,44 +1,46 @@ # Created by: Ashish SHUKLA # $FreeBSD$ PORTNAME= phpsh PORTVERSION= 20110513 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://distfiles.pirateparty.in/%SUBDIR%/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= ashish MAINTAINER= ashish@FreeBSD.org COMMENT= Interactive shell for PHP +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + USE_BZIP2= yes USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes USE_PHP= pcre posix tokenizer WANT_PHP_CLI= yes PLIST_SUB= PORTNAME=${PORTNAME} PYDISTUTILS_PKGVERSION= 1.3 - OPTIONS_DEFINE= PCNTL PCNTL_DESC= Fork on every command (pcntl PHP extension) .include .if ${PORT_OPTIONS:MPCNTL} USE_PHP+= pcntl .endif post-patch: @${GREP} -Rl '%%ETCDIR%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \ -e 's,%%ETCDIR%%,${ETCDIR},g' post-install: @${CAT} ${PKGMESSAGE} .include Index: head/devel/phpsh/files/patch-src____init__.py =================================================================== --- head/devel/phpsh/files/patch-src____init__.py (nonexistent) +++ head/devel/phpsh/files/patch-src____init__.py (revision 362802) @@ -0,0 +1,11 @@ +--- ./src/__init__.py.orig 2014-07-08 19:24:25.000000000 +0800 ++++ ./src/__init__.py 2014-07-08 19:24:45.000000000 +0800 +@@ -758,7 +758,7 @@ + ret_code = self.p.poll() + if debug: + print "ret_code: " + str(ret_code) +- if ret_code != None: ++ if ret_code not in (None, 0): + if debug: + print "NOOOOO" + print "subprocess died with return code: " + repr(ret_code) Property changes on: head/devel/phpsh/files/patch-src____init__.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/phpsh/pkg-descr =================================================================== --- head/devel/phpsh/pkg-descr (revision 362801) +++ head/devel/phpsh/pkg-descr (revision 362802) @@ -1,7 +1,7 @@ phpsh is an interactive shell for php that features readline history, tab completion, quick access to documentation. It was developed at Facebook and ironically, is written mostly in python. It is open source and released under a modified BSD license. -WWW: http://phpsh.org/ +WWW: http://phpsh.org/