freebsd-ports/devel/pear/Makefile

36 lines
705 B
Makefile
Raw Normal View History

# New ports collection makefile for: pear
# Date created: 25 Nov 2005
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pear
2007-09-10 19:51:34 +02:00
PORTVERSION= 1.6.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://freebsd.unixfreunde.de/sources/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= miwi
MAINTAINER= miwi@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>