blob: 13232c760cfe1b1724436b3e07f1e23590ffff84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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= python tar:bzip2
USE_PYTHON= distutils autoplist
USE_PHP= pcre posix tokenizer
NO_ARCH= yes
WANT_PHP_CLI= 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>
|