blob: e6eec06c3da0a7af6abf1c93c48051e251b15d88 (
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
|
# New ports collection makefile for: pear
# Date created: 25 Nov 2005
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pear
PORTVERSION= 1.6.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ale
MAINTAINER= ale@FreeBSD.org
COMMENT= PEAR framework for PHP
USE_BZIP2= yes
NO_BUILD= yes
WANT_PHP_CLI= yes
USE_PHP= pcre xml
PEARDIR= ${PREFIX}/share/pear
post-patch:
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/go-pear
do-install:
@${LOCALBASE}/bin/php -q ${WRKSRC}/go-pear
@${SED} -i "" "s|<?php|<?php dl('pcre.so'); dl('xml.so');|" \
${PEARDIR}/peclcmd.php
.include <bsd.port.mk>
|