# -*- 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 # $Id$ PortSystem 1.0 name phpbb version 3.1.10 categories www php platforms darwin freebsd maintainers snc openmaintainer license {GPL-2 GPL-3} 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. installs_libs no depends_run port:php56-apache2handler \ port:php56-ftp \ port:php56-imagick \ port:php56-gd homepage http://www.phpbb.com/ master_sites https://www.phpbb.com/files/release distname phpBB-${version} use_bzip2 yes checksums rmd160 8498b035568cecb75251b79fae0072e76b8c30ff \ sha256 198fda1a0bd833d42e0d4f4fe26a47d656a6e087ed9a561e06b0940de131a22c variant mysql description {add convenient runtime dependency on PHP's mysql extension} { depends_run-append port:php56-mysql } variant postgresql description {add convenient runtime dependency on PHP's postgresql extension} { depends_run-append port:php56-postgresql } set docpath ${destroot}${prefix}/www/data set worksrcpath ${workpath}/phpBB3 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 } livecheck.type regex livecheck.url http://www.phpbb.com/ livecheck.regex version">(\\d+(\\.\\d+)+(-PL\\d+)?)