freebsd-ports/www/codeigniter/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

68 lines
1.8 KiB
Makefile

PORTNAME= codeigniter
PORTVERSION= 3.1.13
CATEGORIES= www
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Framework for developing PHP web applications
WWW= https://codeigniter.com/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/license.txt
USES= cpe php:web
USE_PHP= mcrypt session
USE_GITHUB= yes
GH_ACCOUNT= bcit-ci
GH_PROJECT= CodeIgniter
NO_ARCH= yes
NO_BUILD= yes
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
SUB_FILES= pkg-message
# These are all user-configurable files that we'll install
CI_CONF_FILES= application/config/autoload.php \
application/config/config.php \
application/config/constants.php \
application/config/database.php \
application/config/doctypes.php \
application/config/foreign_chars.php \
application/config/hooks.php \
application/config/memcached.php \
application/config/migration.php \
application/config/mimes.php \
application/config/profiler.php \
application/config/routes.php \
application/config/smileys.php \
application/config/user_agents.php \
index.php
OPTIONS_DEFINE= APACHE MYSQLI ODBC PGSQL SQLITE
OPTIONS_SUB= yes
APACHE_DESC= Configure for Apache-2.x
MYSQLI_DESC= Install MySQLi support for PHP
ODBC_DESC= Install ODBC support for PHP
PGSQL_DESC= Install PostgreSQL support for PHP
SQLITE_DESC= Install SQLite support for PHP
APACHE_SUB_FILES= codeigniter.conf
APACHE_USES= apache:run
MYSQLI_USE= PHP=mysqli
ODBC_USE= PHP=odbc
PGSQL_USE= PHP=pgsql
SQLITE_USE= PHP=sqlite3
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} "application index.php system" ${STAGEDIR}${WWWDIR}
.for ci_conf_file in ${CI_CONF_FILES}
${INSTALL_DATA} ${WRKSRC}/${ci_conf_file} ${STAGEDIR}${WWWDIR}/${ci_conf_file}.sample
.endfor
do-install-APACHE-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes
${INSTALL_DATA} ${WRKDIR}/codeigniter.conf ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes/codeigniter.conf
.include <bsd.port.mk>