diff options
author | ryoon <ryoon@pkgsrc.org> | 2011-12-08 20:35:25 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2011-12-08 20:35:25 +0000 |
commit | 0b7eee26d5c99245fc014d22c08d484681a68627 (patch) | |
tree | 5ec795ef052c8c07c4ff75161935a3322d0a2b4f | |
parent | fb017a21a9146177f78ba0f49f4b3b620b2d2b36 (diff) | |
download | pkgsrc-0b7eee26d5c99245fc014d22c08d484681a68627.tar.gz |
* php-tiki6 accepts lang/php5, see http://doc.tiki.org/Requirements .
* Update MESSAGE file, bump PKGREVISION.
-rw-r--r-- | www/php-tiki6/MESSAGE | 22 | ||||
-rw-r--r-- | www/php-tiki6/Makefile | 13 |
2 files changed, 18 insertions, 17 deletions
diff --git a/www/php-tiki6/MESSAGE b/www/php-tiki6/MESSAGE index a27ff742c2c..12ab050d3c8 100644 --- a/www/php-tiki6/MESSAGE +++ b/www/php-tiki6/MESSAGE @@ -1,32 +1,34 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.1.1.1 2011/12/07 13:29:39 ryoon Exp $ +$NetBSD: MESSAGE,v 1.2 2011/12/08 20:35:25 ryoon Exp $ To use tiki with Apache 2.2, you will need to perform the following steps. -1. Setup PHP. At least, ${PREFIX}/etc/php.ini should have date.timezone line. +1. Install www/apache22 and www/ap-php + +2. Setup PHP. At least, ${PREFIX}/etc/php.ini should have date.timezone line. If your machine are located in Tokyo, Japan, you should get the following. - + # cat ${PREFIX}/etc/php.ini | grep date.timezone date.timezone ="Asia/Tokyo" -2. Install MySQL database server. +3. Install MySQL database server. # cd databases/mysql51-server # make install -3. Start MySQL server, and setup MySQL server +4. Start MySQL server, and setup MySQL server # ${RCD_SCRIPTS_DIR}/mysqld start And see messages. -4. Add MySQL user, tiki +5. Add MySQL user, tiki $ mysql -u root -p Enter password: YOUR_MYSQL_ROOT_PASSWORD > create user tiki identified by 'tiki_user_password'; > quit -5. Create database for tiki +6. Create database for tiki $ mysql -u root -p Enter password: YOUR_MYSQL_ROOT_PASSWORD @@ -35,14 +37,14 @@ To use tiki with Apache 2.2, you will need to perform the following steps. on tiki.* to tiki@localhost identified by 'tiki_password'; > quit -6. Be sure to have the following lines in ${PREFIX}/etc/php.ini. +7. Be sure to have the following lines in ${PREFIX}/etc/php.ini. extension=gd.so extension=xmlrpc.so extension=mysqli.so extension=iconv.so -7. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf +8. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf DocumentRoot "${PREFIX}/share/tiki6" LoadModule php5_module lib/httpd/mod_php5.so @@ -52,7 +54,7 @@ To use tiki with Apache 2.2, you will need to perform the following steps. Allow from All </Directory> -8. Access http://localhost/tiki-install.php +9. Access http://localhost/tiki-install.php And setup with the following information. database name: tiki diff --git a/www/php-tiki6/Makefile b/www/php-tiki6/Makefile index 2a73621a9d0..fb911b620b6 100644 --- a/www/php-tiki6/Makefile +++ b/www/php-tiki6/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.2 2011/12/08 03:01:48 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2011/12/08 20:35:25 ryoon Exp $ # DISTNAME= tiki-6.4 PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME:S/tiki-/tiki6-/} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tikiwiki/} EXTRACT_SUFX= .tar.bz2 @@ -14,12 +15,10 @@ LICENSE= gnu-lgpl-v2.1 PKG_DESTDIR_SUPPORT= user-destdir -PHP_VERSIONS_ACCEPTED= 53 - -DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.3.8:../../converters/php-iconv -DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.3.8:../../databases/php-mysqli -DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.3.8:../../graphics/php-gd -DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.3.8:../../net/php-xmlrpc +DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.2.0:../../converters/php-iconv +DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.2.0:../../databases/php-mysqli +DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.2.0:../../graphics/php-gd +DEPENDS+= ${PHP_PKG_PREFIX}-xmlrpc>=5.2.0:../../net/php-xmlrpc USE_LANGUAGES= # none NO_BUILD= yes |