- update to 2.1.1

- while here migrate to optionsNG

PR:	ports/169049
Submitted by:	maintainer, appleboy.tw@gmail.com
This commit is contained in:
Jason Helfman 2012-06-15 16:06:08 +00:00
parent 4fa07c7f2c
commit b79a061906
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299356
3 changed files with 29 additions and 23 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= codeigniter
PORTVERSION= 2.1.0
PORTVERSION= 2.1.1
CATEGORIES= www
MASTER_SITES= http://downloads.codeigniter.com/reactor/ \
http://www.codeigniter.org.tw/download_files/
@ -66,18 +66,20 @@ STD_BITS= ${CI_CONF_DIR}/index.html \
${CI_SYS_DIR}/language \
${CI_SYS_DIR}/libraries
OPTIONS= APACHE "Configure for Apache-2.x" off \
PROD "Install for production server (see: make confighelp)" Off \
MSSQL "Install MSSQL support for PHP" Off \
MYSQL "Install MySQL support for PHP" Off \
MYSQLI "Install MySQLi support for PHP" Off \
ODBC "Install ODBC support for PHP" Off \
PGSQL "Install PostgreSQL support for PHP" Off \
SQLITE "Install SQLite support for PHP" Off
OPTIONS_DEFINE= APACHE PROD MSSQL MYSQL MYSQLI ODBC PGSQL SQLITE
APACHE_DESC= Configure for Apache-2.x
PROD_DESC= Install for production server (see: make confighelp)
MSSQL_DESC= Install MSSQL support for PHP
MYSQL_DESC= Install MySQL support for PHP
MYSQLI_DESC= Install MySQLi support for PHP
ODBC= Install ODBC support for PHP
PGSQL_DESC= Install PostgreSQL support for PHP
SQLITE_DESC= Install SQLite support for PHP
.include <bsd.port.pre.mk>
.if defined(WITH_APACHE)
.if ${PORT_OPTIONS:MAPACHE}
USE_APACHE= 20+
PLIST_SUB+= NOAPACHE="" CONFDIR=${CONFDIR_REL}
@ -105,37 +107,37 @@ DEFAULT_PHP_VER=5
SUB_LIST+= PHPCGI=${WITH_PHP_CGI}
.if defined(WITH_PROD)
.if ${PORT_OPTIONS:MPROD}
PROD= production
.else
PROD= development
.endif
.if defined(WITH_MSSQL)
.if ${PORT_OPTIONS:MMSSQL}
USE_PHP+= mssql
.endif
.if defined(WITH_MYSQL)
.if ${PORT_OPTIONS:MMYSQL}
USE_PHP+= mysql
.endif
.if defined(WITH_MYSQLI)
.if ${PORT_OPTIONS:MMYSQLI}
USE_PHP+= mysqli
.endif
.if defined(WITH_ODBC)
.if ${PORT_OPTIONS:MODBC}
USE_PHP+= odbc
.endif
.if defined(WITH_PGSQL)
.if ${PORT_OPTIONS:MPGSQL}
USE_PHP+= pgsql
.endif
.if defined(WITH_SQLITE)
.if ${PORT_OPTIONS:MSQLITE}
USE_PHP+= sqlite
.endif
.if defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
SUB_LIST+= HASHMARK=\#
.else
SUB_LIST+= HASHMARK=
@ -185,7 +187,7 @@ post-install:
fi; \
fi; \
done
.if defined(WITH_APACHE)
.if ${PORT_OPTIONS:MAPACHE}
@if [ -d "${CONFDIR}" ]; then \
${CP} ${WRKDIR}/${CONF} ${CONFDIR}/codeigniter.conf; \
else \
@ -197,7 +199,7 @@ post-install:
${FALSE} ; \
fi
.endif
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@cd ${WRKSRC}/user_guide && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif

View file

@ -1,2 +1,2 @@
SHA256 (CodeIgniter_2.1.0.zip) = 95b5d9afe2711bcc2a10aef8e1208cfc9fdc448bba0b0fbbf5e865141525b2ca
SIZE (CodeIgniter_2.1.0.zip) = 2308804
SHA256 (CodeIgniter_2.1.1.zip) = ae57494d7659837cc4aa33f7532d6c8373a984acc9c087f69fc96724f582a789
SIZE (CodeIgniter_2.1.1.zip) = 2318153

View file

@ -116,7 +116,11 @@
%%WWWDIR%%/system/database/drivers/odbc/odbc_forge.php
%%WWWDIR%%/system/database/drivers/odbc/odbc_result.php
%%WWWDIR%%/system/database/drivers/odbc/odbc_utility.php
%%WWWDIR%%/system/database/drivers/pdo/index.html
%%WWWDIR%%/system/database/drivers/pdo/pdo_driver.php
%%WWWDIR%%/system/database/drivers/pdo/pdo_forge.php
%%WWWDIR%%/system/database/drivers/pdo/pdo_result.php
%%WWWDIR%%/system/database/drivers/pdo/pdo_utility.php
%%WWWDIR%%/system/database/drivers/postgre/index.html
%%WWWDIR%%/system/database/drivers/postgre/postgre_driver.php
%%WWWDIR%%/system/database/drivers/postgre/postgre_forge.php
@ -214,8 +218,8 @@
@dirrm %%WWWDIR%%/system/database/drivers/sqlsrv
@dirrm %%WWWDIR%%/system/database/drivers/sqlite
@dirrm %%WWWDIR%%/system/database/drivers/postgre
@dirrm %%WWWDIR%%/system/database/drivers/pdo
@dirrm %%WWWDIR%%/system/database/drivers/odbc
@dirrm %%WWWDIR%%/system/database/drivers/pdo
@dirrm %%WWWDIR%%/system/database/drivers/oci8
@dirrm %%WWWDIR%%/system/database/drivers/mysqli
@dirrm %%WWWDIR%%/system/database/drivers/mysql