2005-12-09 19:58:03 +01:00
|
|
|
# New ports collection makefile for: pear
|
|
|
|
# Date created: 25 Nov 2005
|
|
|
|
# Whom: Alex Dupre <ale@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pear
|
2008-05-23 16:00:22 +02:00
|
|
|
PORTVERSION= 1.7.2
|
2005-12-09 19:58:03 +01:00
|
|
|
CATEGORIES= devel
|
2008-05-23 16:00:22 +02:00
|
|
|
MASTER_SITES= http://freebsd.unixfreunde.de/sources/
|
2005-12-09 19:58:03 +01:00
|
|
|
|
2007-07-02 14:51:08 +02:00
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
2005-12-09 19:58:03 +01:00
|
|
|
COMMENT= PEAR framework for PHP
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2006-05-06 15:26:49 +02:00
|
|
|
WANT_PHP_CLI= yes
|
2005-12-09 19:58:03 +01:00
|
|
|
USE_PHP= pcre xml
|
|
|
|
|
2006-08-21 10:42:31 +02:00
|
|
|
PEARDIR= ${PREFIX}/share/pear
|
|
|
|
|
2005-12-09 19:58:03 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/go-pear
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${LOCALBASE}/bin/php -q ${WRKSRC}/go-pear
|
2007-04-30 10:40:19 +02:00
|
|
|
@${SED} -i "" "s|<?php|<?php dl('pcre.so'); dl('xml.so');|" \
|
|
|
|
${PEARDIR}/peclcmd.php
|
2005-12-09 19:58:03 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|