1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/devel/pear/Makefile
Steve Price 0f3643ecb1 Adding pear version 4.0.7.
A framework and distrbution system for reusable PHP components.

PR:		31900
Submitted by:	Thierry Thomas <thierry@thomas.as>
2001-12-03 02:31:03 +00:00

43 lines
1.1 KiB
Makefile

# Ports collection makefile for: pear
# Date created: Sat Nov 10, 2001
# Whom: Thierry Thomas (<thierry@thomas.as>)
#
# $FreeBSD$
#
PORTNAME= pear
PORTVERSION= 4.0.7
CATEGORIES= devel www
MASTER_SITES= ftp://ftp.horde.org/pub/horde/tarballs/
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${PORTVERSION}RC3
MAINTAINER= thierry@thomas.as
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
NO_BUILD= yes
LPHP_LIB?= lib/php
PLIST_SUB= PEARDIR=${LPHP_LIB}
PEARDIR= ${LOCALBASE}/${LPHP_LIB}
do-install:
@${ECHO} "===> Backup the original PEAR from mod_php4 into ${PEARDIR}.DIST_PHP ..."
${MV} ${PEARDIR} ${PEARDIR}.DIST_PHP
@${ECHO} "===> Installing the new PEAR ..."
${MKDIR} ${PEARDIR}
${CP} -Rp ${WRKSRC}/* ${PEARDIR}
post-install:
@${ECHO} "*****************************************************************"
@${ECHO} ""
@${ECHO} "The new PEAR has replaced your original distribution."
@${ECHO} "No recompilation or restarting of the server is necessary."
@${ECHO} ""
@${ECHO} "*****************************************************************"
.include <bsd.port.mk>