/
Portfile
69 lines (54 loc) · 1.71 KB
/
Portfile
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# $Id: Portfile,v 1.2 2005/12/10 22:56:04 joe Exp $
PortSystem 1.0
name phpbb
version 2.0.18
categories www
maintainers joe@opendarwin.org
description A PHP-based bulletin board / discussion forum system
long_description phpBB is a high powered, fully scalable, and highly customisable \
open-source bulletin board package. phpBB has a user-friendly interface, \
simple and straightforward administration panel, and helpful FAQ. Based \
on the powerful PHP server language and your choice of MySQL, MS-SQL, \
PostgreSQL or Access/ODBC database servers, phpBB is the ideal free \
community solution for all web sites.
homepage http://www.phpbb.com
master_sites sourceforge
distname phpBB-${version}
use_bzip2 yes
checksums md5 2d3c71574ea8d3ef0afbcf4aec63947a
platforms darwin freebsd
default_variants +apache +mysql4 +php4
variant apache conflicts apache2 {
depends_lib-append port:apache
}
variant apache2 conflicts apache {
depends_lib-append port:apache2
}
variant php4 conflicts php5 {
depends_lib-append port:php4
}
variant php5 conflicts php4 {
depends_lib-append port:php5
}
variant mysql conflicts mysql4 {
depends_lib-append port:mysql
}
variant mysql4 conflicts mysql {
depends_lib-append port:mysql4
}
variant postgresql conflicts postgresql8 {
depends_lib-append port:postgresql
}
variant postgresql8 conflicts postgresql {
depends_lib-append port:postgresql8
}
set docpath ${destroot}${prefix}/www/data
set worksrcpath ${workpath}/phpBB2
use_configure no
build {}
destroot {
xinstall -d -m 0755 ${docpath}/phpbb
eval file copy [glob ${worksrcpath}/*] ${docpath}/phpbb
file rename ${docpath}/phpbb/config.php \
${docpath}/phpbb/config.php-dist
}