Skip to content
Permalink
Browse files

Submitted by: joe@

new port: phpBB2 (http://www.phpbb.com)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15405 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Joe Auty
Joe Auty committed Dec 10, 2005
1 parent 554d3c1 commit a83cc5a7343d41803e506e2966f411fd0953af42
Showing with 69 additions and 0 deletions.
  1. +69 −0 www/phpbb/Portfile
@@ -0,0 +1,69 @@
# $Id: Portfile,v 1.1 2005/12/10 22:30:13 joe Exp $
PortSystem 1.0

name phpbb
version 2.0.18
categories www
maintainers joe@netmusician.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
}


0 comments on commit a83cc5a

Please sign in to comment.
You can’t perform that action at this time.