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

Last change on this file since 87969 was 85177, checked in by snc@…, 8 years ago

phpbb: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 85177 2011-10-10 19:45:43Z snc@macports.org $
3
4PortSystem          1.0
5
6name                phpbb
7version             3.0.9
8categories          www php
9maintainers         snc openmaintainer
10license             {GPL-2 GPL-3}
11description         A PHP-based bulletin board / discussion forum system
12long_description    phpBB is a high powered, fully scalable, and highly \
13                    customisable open-source bulletin board package.  phpBB \
14                    has a user-friendly interface, simple and straightforward \
15                    administration panel, and helpful FAQ.  Based on the \
16                    powerful PHP server language and your choice of MySQL, \
17                    MS-SQL, PostgreSQL or Access/ODBC database servers, phpBB \
18                    is the ideal free community solution for all web sites.
19homepage            http://www.phpbb.com
20
21platforms           darwin freebsd
22depends_run         port:php5-web port:php5-ftp port:php5-imagick port:php5-gd
23
24master_sites        ${homepage}/files/release/
25distname            phpBB-${version}
26use_bzip2           yes
27
28checksums           rmd160  b8abc093077e9b14507e1be4394c8c4646eee868 \
29                    sha256  ab5cc5191fe85d298100982a910b7a25bcd22aa8a7935fc330302d021c142d47
30
31variant mysql {
32    depends_run-append  port:php5-mysql
33}
34
35variant postgresql {
36    depends_run-append    port:php5-postgresql
37}
38
39set docpath ${destroot}${prefix}/www/data
40set worksrcpath ${workpath}/phpBB3
41             
42use_configure   no
43
44build            {}
45
46destroot {
47    xinstall -d -m 0755 ${docpath}/phpbb
48    eval file copy [glob ${worksrcpath}/*] ${docpath}/phpbb
49    file rename ${docpath}/phpbb/config.php \
50            ${docpath}/phpbb/config.php-dist
51}
52
53livecheck.url       http://www.phpbb.com/
54livecheck.regex     version">(\\d+(\\.\\d+)+(-PL\\d+)?)
Note: See TracBrowser for help on using the repository browser.