View | Details | Raw Unified | Return to bug 88572
Collapse All | Expand All

(-)devel/pear-PEAR/Makefile (-12 / +51 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	PEAR
8
PORTNAME=	PEAR
9
PORTVERSION=	1.3.5
9
PORTVERSION=	1.4.4
10
PORTREVISION=	1
11
CATEGORIES=	devel www pear
10
CATEGORIES=	devel www pear
12
11
13
MAINTAINER=	antonio@php.net
12
MAINTAINER=	antonio@php.net
Lines 18-38 Link Here
18
		${PEARDIR}/XML/RPC.php:${PORTSDIR}/devel/pear-XML_RPC
17
		${PEARDIR}/XML/RPC.php:${PORTSDIR}/devel/pear-XML_RPC
19
RUN_DEPENDS=	${BUILD_DEPENDS}
18
RUN_DEPENDS=	${BUILD_DEPENDS}
20
19
21
FILES=		OS/Guess.php PEAR/Command/Auth.php PEAR/Command/Build.php \
20
USE_REINPLACE=	yes
22
		PEAR/Command/Common.php PEAR/Command/Config.php \
21
23
		PEAR/Command/Install.php PEAR/Command/Package.php \
22
FILES=		OS/Guess.php PEAR/ChannelFile/Parser.php PEAR/Command/Auth.xml		\
24
		PEAR/Command/Registry.php PEAR/Command/Remote.php \
23
		PEAR/Command/Auth.php PEAR/Command/Build.xml PEAR/Command/Build.php	\
25
		PEAR/Command/Mirror.php PEAR/Frontend/CLI.php PEAR/Autoloader.php \
24
		PEAR/Command/Channels.xml PEAR/Command/Channels.php			\
26
		PEAR/Command.php PEAR/Common.php PEAR/Config.php PEAR/Dependency.php \
25
		PEAR/Command/Common.php PEAR/Command/Config.xml PEAR/Command/Config.php	\
27
		PEAR/Downloader.php PEAR/Exception.php PEAR/ErrorStack.php \
26
		PEAR/Command/Install.xml PEAR/Command/Install.php			\
28
		PEAR/Builder.php PEAR/Installer.php PEAR/Packager.php PEAR/Registry.php \
27
		PEAR/Command/Package.xml PEAR/Command/Package.php			\
29
		PEAR/Remote.php PEAR/RunTest.php PEAR.php System.php \
28
		PEAR/Command/Pickle.xml PEAR/Command/Pickle.php				\
30
		package.dtd template.spec
29
		PEAR/Command/Registry.xml PEAR/Command/Registry.php			\
30
		PEAR/Command/Remote.xml PEAR/Command/Remote.php				\
31
		PEAR/Command/Mirror.xml PEAR/Command/Mirror.php				\
32
		PEAR/Command/Test.xml PEAR/Command/Test.php PEAR/Downloader/Package.php	\
33
		PEAR/Frontend/CLI.php PEAR/Installer/Role/Common.php			\
34
		PEAR/Installer/Role/Data.xml PEAR/Installer/Role/Data.php		\
35
		PEAR/Installer/Role/Doc.xml PEAR/Installer/Role/Doc.php			\
36
		PEAR/Installer/Role/Ext.xml PEAR/Installer/Role/Ext.php			\
37
		PEAR/Installer/Role/Php.xml PEAR/Installer/Role/Php.php			\
38
		PEAR/Installer/Role/Script.xml PEAR/Installer/Role/Script.php		\
39
		PEAR/Installer/Role/Src.xml PEAR/Installer/Role/Src.php			\
40
		PEAR/Installer/Role/Test.xml PEAR/Installer/Role/Test.php		\
41
		PEAR/Installer/Role.php PEAR/PackageFile/Generator/v1.php		\
42
		PEAR/PackageFile/Generator/v2.php PEAR/PackageFile/Parser/v1.php	\
43
		PEAR/PackageFile/Parser/v2.php PEAR/PackageFile/v2/rw.php		\
44
		PEAR/PackageFile/v2/Validator.php PEAR/PackageFile/v1.php		\
45
		PEAR/PackageFile/v2.php PEAR/REST/10.php PEAR/REST/11.php		\
46
		PEAR/Task/Postinstallscript/rw.php PEAR/Task/Replace/rw.php		\
47
		PEAR/Task/Unixeol/rw.php PEAR/Task/Windowseol/rw.php			\
48
		PEAR/Task/Common.php PEAR/Task/Postinstallscript.php			\
49
		PEAR/Task/Replace.php PEAR/Task/Unixeol.php PEAR/Task/Windowseol.php	\
50
		PEAR/Validator/PECL.php PEAR/Autoloader.php PEAR/Builder.php		\
51
		PEAR/ChannelFile.php PEAR/Command.php PEAR/Common.php PEAR/Config.php	\
52
		PEAR/Dependency.php PEAR/DependencyDB.php PEAR/Dependency2.php		\
53
		PEAR/Downloader.php PEAR/ErrorStack.php PEAR/Exception.php		\
54
		PEAR/Frontend.php PEAR/Installer.php PEAR/Packager.php			\
55
		PEAR/PackageFile.php PEAR/Registry.php PEAR/Remote.php PEAR/REST.php	\
56
		PEAR/RunTest.php PEAR/Validate.php PEAR/XMLParser.php package.dtd	\
57
		template.spec PEAR.php System.php
31
SCRIPTFILES=	pear2
58
SCRIPTFILES=	pear2
32
59
33
.include <bsd.port.pre.mk>
60
.include <bsd.port.pre.mk>
34
61
62
pre-patch:
63
.for dosfile in ${FILES} scripts/pearcmd.php
64
	@${MV} ${WRKSRC}/${dosfile} ${WRKSRC}/${dosfile}.dos
65
	@${TR} -d '\r' < ${WRKSRC}/${dosfile}.dos > ${WRKSRC}/${dosfile}
66
.endfor
67
35
post-patch:
68
post-patch:
69
.for origfile in ${FILES}
70
	@${REINPLACE_CMD} -e 's|@pear_version@|${PORTVERSION}|g'	\
71
			-e 's|@PEAR-VER@|${PORTVERSION}|g'		\
72
			-e 's|@DATA-DIR@|${PEARDIR}|g'		\
73
		${WRKSRC}/${origfile}
74
.endfor
36
	@${SED} "s|@pear_version@|${PORTVERSION}|g" \
75
	@${SED} "s|@pear_version@|${PORTVERSION}|g" \
37
		${WRKSRC}/scripts/pearcmd.php > ${WRKSRC}/pear-${SCRIPTFILES}
76
		${WRKSRC}/scripts/pearcmd.php > ${WRKSRC}/pear-${SCRIPTFILES}
38
77
(-)devel/pear-PEAR/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (PEAR/PEAR-1.3.5.tgz) = 8fead7fddb93f9b3cecd740823daafd2
1
MD5 (PEAR/PEAR-1.4.4.tgz) = 20c5d38b16b364bbf5395e6890f048e4
2
SIZE (PEAR/PEAR-1.3.5.tgz) = 108423
2
SIZE (PEAR/PEAR-1.4.4.tgz) = 276978
(-)devel/pear-PEAR/files/patch-scripts::pearcmd.php (-7 / +6 lines)
Lines 1-20 Link Here
1
--- scripts/pearcmd.php.orig	Wed Oct 27 02:58:21 2004
1
--- scripts/pearcmd.php.orig	Sun Nov  6 21:17:11 2005
2
+++ scripts/pearcmd.php	Thu Dec 16 17:30:19 2004
2
+++ scripts/pearcmd.php	Sun Nov  6 21:19:20 2005
3
@@ -1,3 +1,4 @@
3
@@ -1,3 +1,4 @@
4
+#!@php_bin@ -nq
4
+#!@php_bin@ -nq
5
 <?php
5
 <?php
6
 //
6
 //
7
 // +----------------------------------------------------------------------+
7
 // +----------------------------------------------------------------------+
8
@@ -24,8 +25,11 @@
8
@@ -29,8 +30,10 @@
9
 /**
9
 /**
10
  * @nodep Gtk
10
  * @nodep Gtk
11
  */
11
  */
12
+dl('pcre.so');
12
+dl('pcre.so');
13
+dl('xml.so');
13
+dl('xml.so');
14
+
15
 if ('@include_path@' != '@'.'include_path'.'@') {
14
 if ('@include_path@' != '@'.'include_path'.'@') {
16
-    ini_set('include_path', '@include_path@');
15
-    ini_set('include_path', '@include_path@');
17
+    ini_set('include_path', '@include_path@:@include_path@/bootstrap');
16
+    ini_set('include_path', '@include_path@:@include_path@/bootstrap');
18
 }
17
     $raw = false;
19
 ini_set('allow_url_fopen', true);
18
 } else {
20
 if (!ini_get('safe_mode')) {
19
     // this is a raw, uninstalled pear, either a cvs checkout, or php distro

Return to bug 88572