2013-09-21 01:36:50 +02:00
|
|
|
# Created by: Wen Heping <wenheping@gmail.com>
|
2008-06-03 15:24:39 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fluxbb
|
2011-02-14 01:33:19 +01:00
|
|
|
PORTVERSION= 1.4.4
|
2008-06-03 15:24:39 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://fluxbb.org/download/releases/${PORTVERSION}/
|
|
|
|
|
2010-05-03 07:49:36 +02:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
2014-08-06 11:11:57 +02:00
|
|
|
COMMENT= Fast and lightweight PHP-powered discussion board
|
2008-06-03 15:24:39 +02:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PHP= yes
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
OPTIONS_DEFINE= MYSQL PGSQL SQLITE
|
|
|
|
OPTIONS_DEFAULT= MYSQL
|
2010-05-03 07:49:36 +02:00
|
|
|
|
2013-03-05 18:16:48 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
2008-06-03 15:24:39 +02:00
|
|
|
USE_PHP+= mysql
|
|
|
|
.endif
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2008-06-03 15:24:39 +02:00
|
|
|
USE_PHP+= pgsql
|
|
|
|
.endif
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MSQLITE}
|
2008-06-03 15:24:39 +02:00
|
|
|
USE_PHP+= sqlite
|
|
|
|
.endif
|
|
|
|
|
2011-01-16 02:26:12 +01:00
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKSRC}
|
|
|
|
@${TAR} -yxf ${DISTDIR}/${DISTFILES} -C ${WRKSRC}
|
|
|
|
|
2008-06-03 15:24:39 +02:00
|
|
|
do-install:
|
2014-02-28 17:21:29 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
|
|
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
|
|
|
|
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}' >> ${TMPPLIST}
|
2008-06-03 15:24:39 +02:00
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.include <bsd.port.mk>
|