mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
36 lines
736 B
Makefile
36 lines
736 B
Makefile
# New ports collection makefile for: pear
|
|
# Date created: 25 Nov 2005
|
|
# Whom: Alex Dupre <ale@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pear
|
|
PORTVERSION= 1.9.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://bsdcrew.de/distfiles/
|
|
|
|
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} -e "s|%%PREFIX%%|${PREFIX}|" \
|
|
-e "s|%%BUNDLEDIR%%|${WRKSRC}/go-pear-bundle|" \
|
|
-e "s|%%TMPDIR%%|${TMPDIR}/go-pear|" \
|
|
${WRKSRC}/go-pear
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${LOCALBASE}/bin/php -q ./go-pear
|
|
@${SED} -i "" "s|<?php|<?php dl('pcre.so'); dl('xml.so');|" \
|
|
${PEARDIR}/peclcmd.php
|
|
|
|
.include <bsd.port.mk>
|