1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/www/phpbb3/Makefile
Muhammad Moinur Rahman 0ac3a69555 */*: Remove merged or non-existent USE_PHP directives
- Remove USE_PHP=hash which is available in default php installation of
  all versions of php
  * security/pear-Horde_Crypt_Blowfish: Remove OPTION MHASH
- Remove USE_PHP=json which is available in default php installation of
  all versions of php
  * devel/pear-PHPTAL: Remove OPTION JSON
  * www/ilias: Remove OPTION SCORM2004
- Remove USE_PHP=mssql which is no longer available in php from php80
  and later and has been replaced with sqlsrv module which is Windows
  only
  * www/codeigniter: Remove OPTION MSSQL
  * www/moodle311: Remove OPTION MSSQL
  * www/moodle39: Remove OPTION MSSQL
  * www/moodle40: Remove OPTION MSSQL
  * www/moodle41: Remove OPTION MSSQL
- Remove USE_PHP=openssl which is available in default php installation
  of all versions of php
  * databases/phpmyadmin: Remove OPTION OPENSSL
  * databases/phpmyadmin5: Remove OPTION OPENSSL
  * security/pear-Horde_Crypt_Blowfish: Remove OPTION OPENSSL
  * www/nextcloud: Remove OPTION SSL
  * www/owncloud: Remove OPTION SSL
- Remove USE_PHP=pcre which is available in default php installation of
  all versions of php
  * sysutils/racktables: Remove OPTION PCRE
- Remove USE_PHP=postgresql which should be USE_PHP=pgsql and update
  following ports
  * www/typo3-11
  * www/typo3-12
- Remove USE_PHP=pdf which is no longer available as php module
  * databases/phpmyadmin: Remove OPTION PDF
- Remove USE_PHP=spl which is available in default php installation of
  all versions of php
- Remove USE_PHP=sqlsrv which was never imported into FreeBSD as that is
  Windows only php module
  * www/typo3-11: Remove OPTION SQLSRV
  * www/typo3-12: Remove OPTION SQLSRV
- Bump where DEFAULT OPTIONS are affected

Sponsored by:	Bounce Experts

Approved by:	portmgr(blanket)
2023-04-16 20:09:23 +02:00

59 lines
1.5 KiB
Makefile

PORTNAME= phpbb
DISTVERSION= 3.3.9
CATEGORIES= www
MASTER_SITES= https://download.phpbb.com/pub/release/${PORTVERSION:C/([0-9]+\.[0-9]+).*/\1/}/${PORTVERSION}/
PKGNAMESUFFIX= 3
DISTNAME= phpBB-${PORTVERSION}
MAINTAINER= joneum@FreeBSD.org
COMMENT= PHP-based bulletin board / discussion forum system
WWW= https://www.phpbb.com/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/docs/LICENSE.txt
USES= cpe php tar:bzip2
USE_PHP= ctype dom filter tokenizer
CONFLICTS= phpbb-[0-2]*
OPTIONS_DEFINE= DOCS
WWWDOCROOT?= www
PHPBBURL?= phpBB3
WRKSRC= ${WRKDIR}/phpBB3
NO_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
SUB_LIST= PHPBBURL="${PHPBBURL}" \
PHPBBDIR="${PHPBBDIR}"
PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL}
PKGOPTS= ${FILESDIR}/pkg-opts
PORTDOCS= *
options:
@${ECHO_MSG} "===> Build options for ${PKGNAME}:"
@${CAT} ${PKGOPTS}
pre-everything::
.if !defined(BATCH)
@${TEST} -r ${PKGOPTS} && \
(${ECHO_MSG} '-------------------------------------------------------------------------'; \
${ECHO_MSG} 'Perform a "make options" to see a list of available installation options.'; \
${ECHO_MSG} '-------------------------------------------------------------------------')
.endif
do-install:
${MV} ${WRKSRC}/config.php ${WRKSRC}/config.php.sample
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PHPBBDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>