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

Last change on this file since 72325 was 72325, checked in by snc@…, 7 years ago

phpbb: update to 3.0.7-PL1, fix livecheck. #26778

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