blob: 1e39097b0b9109986acad2b79b13b45a44868f0b (
plain) (
blame)
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
37
38
39
40
41
42
43
44
|
# Created by: Ashish SHUKLA <ashish@FreeBSD.org>
# $FreeBSD$
PORTNAME= phpsh
PORTVERSION= 20110513
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
USES= python tar:bzip2
USE_PYTHON= distutils autoplist
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 <bsd.port.options.mk>
.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 <bsd.port.mk>
|