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 |
|