source: trunk/dports/www/phpbb/Portfile @ 58230

Last change on this file since 58230 was 58230, checked in by ryandesign@…, 11 years ago

rewrite mysql5 dependency so mysql5-devel can satisfy it

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 58230 2009-09-24 16:45:22Z ryandesign@macports.org $
2PortSystem              1.0
3
4name                    phpbb
5version                 2.0.19
6categories              www php
7maintainers             nomaintainer
8description             A PHP-based bulletin board / discussion forum system
9long_description        phpBB is a high powered, fully scalable, and highly customisable \
10                          open-source bulletin board package.  phpBB has a user-friendly interface, \
11                          simple and straightforward administration panel, and helpful FAQ.  Based \
12                          on the powerful PHP server language and your choice of MySQL, MS-SQL, \
13                          PostgreSQL or Access/ODBC database servers, phpBB is the ideal free \
14                          community solution for all web sites.
15homepage                http://www.phpbb.com
16master_sites            sourceforge
17distname                phpBB-${version}
18use_bzip2               yes
19checksums               md5 7b8c6d6f7f92571afb34f192f3c242dd
20platforms               darwin freebsd
21
22depends_lib             port:apache2 path:bin/php:php5 path:bin/mysql_config5:mysql5
23
24variant apache {
25        depends_lib-append      port:apache
26        depends_lib-delete      port:apache2
27}
28
29variant php4 {
30        depends_lib-append      port:php4
31        depends_lib-delete      path:bin/php:php5
32}
33
34variant mysql3 conflicts mysql4 postgresql7 postgresql8 {
35        depends_lib-append      port:mysql3
36}
37
38variant mysql4 conflicts mysql3 postgresql7 postgresql8 {
39        depends_lib-append      port:mysql4
40        depends_lib-delete      path:bin/mysql_config5:mysql5
41}
42
43variant postgresql7 conflicts mysql3 mysql4 postgresql8 {
44        depends_lib-append      port:postgresql7
45        depends_lib-delete      path:bin/mysql_config5:mysql5
46}
47
48variant postgresql8 conflicts mysql3 mysql4 postgresql7 {
49        depends_lib-append      port:postgresql80
50        depends_lib-delete      path:bin/mysql_config5:mysql5
51}
52
53set docpath ${destroot}${prefix}/www/data
54set worksrcpath ${workpath}/phpBB2
55             
56use_configure   no
57build                   {}
58
59destroot {
60        xinstall -d -m 0755 ${docpath}/phpbb
61        eval file copy [glob ${worksrcpath}/*] ${docpath}/phpbb
62        file rename ${docpath}/phpbb/config.php \
63                        ${docpath}/phpbb/config.php-dist
64}
65
66
Note: See TracBrowser for help on using the repository browser.