blob: 96044501bd03ebc234470e131142ab0c7f740271 (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
|
# Ports collection makefile for: pear
# Date created: Sat Nov 10, 2001
# Whom: Thierry Thomas (<thierry@thomas.as>)
#
# $FreeBSD$
#
PORTNAME= pear
PORTVERSION= 4.1.0
CATEGORIES= devel www
MASTER_SITES= ftp://ftp.horde.org/pub/horde/tarballs/
PKGNAMESUFFIX= -devel
MAINTAINER= thierry@pompo.net
RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
USE_BZIP2= yes
NO_BUILD= yes
LPHP_LIB?= lib/php
PLIST_SUB= PEARDIR=${LPHP_LIB}
PEARDIR= ${LOCALBASE}/${LPHP_LIB}
FORBIDDEN= "This module is now part of mod_php4 as of 4.1.0"
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>
|