1 | --- Portfile-old Tue Mar 18 18:06:28 2003 |
---|
2 | +++ Portfile Tue Mar 18 04:38:41 2003 |
---|
3 | @@ -6,12 +6,11 @@ |
---|
4 | description PHP: Hypertext Preprocessor |
---|
5 | long_description PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. |
---|
6 | |
---|
7 | -platforms darwin |
---|
8 | +platforms darwin freebsd |
---|
9 | master_sites http://www.php.net/distributions/ |
---|
10 | checksums md5 d4a34efe145b43ed10dbd95825686065 |
---|
11 | |
---|
12 | -depends_lib lib:libdl.1:dlcompat \ |
---|
13 | - lib:libcurl.2:curl \ |
---|
14 | +depends_lib lib:libcurl.2:curl \ |
---|
15 | lib:libiconv.2:libiconv \ |
---|
16 | lib:libexpat.0.4:expat \ |
---|
17 | lib:libintl:gettext \ |
---|
18 | @@ -25,17 +24,19 @@ |
---|
19 | |
---|
20 | configure.args --with-apxs=${prefix}/sbin/apxs --mandir=${prefix}/share/man --infodir=${prefix}/share/info --with-config-file-path=${prefix}/etc --enable-calendar --with-iconv=${prefix} --enable-exif --enable-ftp --enable-wddx --with-zlib --with-curl=${prefix} --with-gd --with-jpeg-dir=${prefix} --with-png-dir=${prefix} --without-mysql --with-gettext=${prefix} --with-mhash=${prefix} --with-expat-dir=${prefix} --with-iconv-dir=${prefix} --with-xmlrpc --enable-filepro --enable-bcmath --with-zlib-dir=/usr |
---|
21 | |
---|
22 | +variant darwin { |
---|
23 | + depends_lib-append lib:libdl.1:dlcompat |
---|
24 | +} |
---|
25 | |
---|
26 | variant mysql { |
---|
27 | - depends_lib lib:libmysqlclient:mysql |
---|
28 | + depends_lib-append lib:libmysqlclient:mysql |
---|
29 | configure.args-append --with-mysql=${prefix} |
---|
30 | } |
---|
31 | |
---|
32 | variant postgresql { |
---|
33 | - configure.env LDFLAGS=-L${prefix}/lib -L${prefix}/pgsql \ |
---|
34 | - CPPFLAGS=-I${prefix}/include |
---|
35 | + configure.env-append LDFLAGS=-L${prefix}/lib -L${prefix}/pgsql |
---|
36 | |
---|
37 | - depends_lib lib:plpgsql:postgresql |
---|
38 | + depends_lib-append lib:plpgsql:postgresql |
---|
39 | configure.args-append --with-pgsql=${prefix}/pgsql |
---|
40 | } |
---|
41 | |
---|