source: trunk/dports/www/phpbb/Portfile

Last change on this file was 153989, checked in by snc@…, 13 months ago

phpbb: update to 3.1.10

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 153989 2016-10-17 16:40:02Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                phpbb
7version             3.1.10
8categories          www php
9platforms           darwin freebsd
10maintainers         snc openmaintainer
11license             {GPL-2 GPL-3}
12
13description         A PHP-based bulletin board / discussion forum system
14
15long_description    phpBB is a high powered, fully scalable, and highly \
16                    customisable open-source bulletin board package.  phpBB \
17                    has a user-friendly interface, simple and straightforward \
18                    administration panel, and helpful FAQ.  Based on the \
19                    powerful PHP server language and your choice of MySQL, \
20                    MS-SQL, PostgreSQL or Access/ODBC database servers, phpBB \
21                    is the ideal free community solution for all web sites.
22
23installs_libs       no
24
25depends_run         port:php56-apache2handler \
26                    port:php56-ftp \
27                    port:php56-imagick \
28                    port:php56-gd
29
30homepage            http://www.phpbb.com/
31master_sites        https://www.phpbb.com/files/release
32distname            phpBB-${version}
33use_bzip2           yes
34
35checksums           rmd160  8498b035568cecb75251b79fae0072e76b8c30ff \
36                    sha256  198fda1a0bd833d42e0d4f4fe26a47d656a6e087ed9a561e06b0940de131a22c
37
38variant mysql description {add convenient runtime dependency on PHP's mysql extension} {
39    depends_run-append  port:php56-mysql
40}
41
42variant postgresql description {add convenient runtime dependency on PHP's postgresql extension} {
43    depends_run-append  port:php56-postgresql
44}
45
46set docpath         ${destroot}${prefix}/www/data
47set worksrcpath     ${workpath}/phpBB3
48
49use_configure       no
50
51build               {}
52
53destroot {
54    xinstall -d -m 0755 ${docpath}/phpbb
55    eval file copy [glob ${worksrcpath}/*] ${docpath}/phpbb
56    file rename ${docpath}/phpbb/config.php \
57        ${docpath}/phpbb/config.php-dist
58}
59
60livecheck.type      regex
61livecheck.url       http://www.phpbb.com/
62livecheck.regex     version">(\\d+(\\.\\d+)+(-PL\\d+)?)
Note: See TracBrowser for help on using the repository browser.