1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/devel/phpsh/Makefile
Bernard Spil 7ec325fa69 category devel: Convert to USES=php
Approved by:    infrastructure modernization blanket
2018-04-08 11:56:03 +00:00

35 lines
734 B
Makefile

# Created by: Ashish SHUKLA <ashish@FreeBSD.org>
# $FreeBSD$
PORTNAME= phpsh
PORTVERSION= 20110513
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://distfiles.pirateparty.in/ashish/ \
LOCAL/ashish
MAINTAINER= ashish@FreeBSD.org
COMMENT= Interactive shell for PHP
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php:cli python:2.7 tar:bzip2
USE_PYTHON= distutils autoplist
USE_PHP= pcre posix tokenizer
NO_ARCH= yes
PLIST_SUB= PORTNAME=${PORTNAME}
PYDISTUTILS_PKGVERSION= 1.3
OPTIONS_DEFINE= PCNTL
PCNTL_DESC= Fork on every command (pcntl PHP extension)
PCNTL_USE= PHP=pcntl
post-patch:
@${GREP} -Rl '%%ETCDIR%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
-e 's,%%ETCDIR%%,${ETCDIR},g'
.include <bsd.port.mk>