Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

2
www/php-basercms/DESCR Normal file
View File

@@ -0,0 +1,2 @@
Open source Content Management System based on CakePHP framework.
This CMS's user interface is entirely written in Japanese.

14
www/php-basercms/INSTALL Normal file
View File

@@ -0,0 +1,14 @@
#!@SH@
#
# $NetBSD: INSTALL,v 1.1 2013/11/22 14:35:56 ryoon Exp $
WWWGRP="@WWWGRP@"
WWWOWN="@WWWOWN@"
BC_DIR="@PREFIX@/@BC_DIR@"
case "${STAGE}" in
POST-INSTALL)
${CHOWN} -R ${WWWOWN} ${BC_DIR} &&
${CHGRP} -R ${WWWGRP} ${BC_DIR}
;;
esac

42
www/php-basercms/MESSAGE Normal file
View File

@@ -0,0 +1,42 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2013/11/22 14:35:56 ryoon Exp $
To use baserCMS, you will need to perform the following steps.
1. If you want to use with MySQL server, install databases/mysql55-*
and enable it, then create database.
2. Create database for baserCMS.
# mysql -u root -p
mysql> grant all on *.* to baser@localhost IDENTIFIED BY 'baser-password';
mysql> create database basercms character set utf8 ;
mysql> GRANT ALL PRIVILEGES ON basercms.* TO baser@localhost IDENTIFIED BY 'baser-password';
2. Install apache httpd server, for example www/apache24 and www/ap-php.
3. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf
Alias / ${PREFIX}/share/basercms
<Directory "${PREFIX}/share/basercms">
DirectoryIndex index.php
Options All
Allow from All
AllowOverride All
Require all granted
</Directory>
4. Be sure to have the following lines in ${PREFIX}/etc/php.ini.
extension=gd.so
extension=mbstring.so
extension=mysql.so ;if you select MySQL backend.
extension=pdo.so ;if you select sqlite backend.
extension=pdo_sqlite.so ;if you select sqlite backend.
extension=pgsql.so ;if you select PostgreSQL backend.
5. Start apache httpd.
6. Access http://localhost/ and setup with userID/password =
baser/paser-password for MySQL database.
===========================================================================

51
www/php-basercms/Makefile Normal file
View File

@@ -0,0 +1,51 @@
# $NetBSD: Makefile,v 1.1 2013/11/22 14:35:56 ryoon Exp $
DISTNAME= basercms-2.1.2
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= -http://basercms.net/packages/download/basercms/2.1.2
EXTRACT_SUFX= .zip
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://basercms.net/packages/download/basercms/
COMMENT= Easy to use Content Management System for Japan/Japanese
LICENSE= mit
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-gd-[0-9]*:../../graphics/php-gd
WRKSRC= ${WRKDIR}/basercms
USE_LANGUAGES= # none
USE_TOOLS+= pax
NO_BUILD= yes
CHECK_INTERPRETER_SKIP+= share/basercms/cake/console/cake.php
CHECK_INTERPRETER_SKIP+= share/basercms/cake/console/cake
BC_DIR= share/basercms
INSTALLATION_DIRS+= ${BC_DIR}
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
APACHE_USER?= www
APACHE_GROUP?= www
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
PKG_USERS_VARS= APACHE_USER
PKG_GROUPS_VARS= APACHE_GROUP
BUILD_DEFS+= APACHE_GROUP APACHE_USER
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
BC_DIR=${BC_DIR}
do-install:
cd ${WRKDIR} && ${FIND} basercms -type f \! -name '*.orig' -print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/share
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"

1405
www/php-basercms/PLIST Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2013/11/22 14:35:56 ryoon Exp $
SHA1 (basercms-2.1.2.zip) = 5a4e9345eec787486e0978705b4be45a45a6794f
RMD160 (basercms-2.1.2.zip) = 277225b4eba97cc3fb337d278c5650192964d684
Size (basercms-2.1.2.zip) = 5901937 bytes

View File

@@ -0,0 +1,30 @@
# $NetBSD: options.mk,v 1.1 2013/11/22 14:35:56 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.php-basercms
PKG_OPTIONS_REQUIRED_GROUPS= db
PKG_OPTIONS_GROUP.db= csv mysql pgsql sqlite
PKG_SUGGESTED_OPTIONS= mysql
.include "../../mk/bsd.options.mk"
###
### Use csv, mysql, pgsql, or sqlite backend
###
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql
.elif !empty(PKG_OPTIONS:Msqlite)
# php-sqlite provides sqlite2
#DEPENDS+= ${PHP_PKG_PREFIX}-sqlite>=5.2.0:../../databases/php-sqlite
# php-pdo_sqlite provides sqlite3. An owncloud instance that was
# installed as version 2 and upgraded to 3 and then 4
# complained/failed that PDO was not present.
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_sqlite>=5.2.0:../../databases/php-pdo_sqlite
.elif !empty(PKG_OPTIONS:Mpgsql)
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.2.0:../../databases/php-pgsql
.elif !!empty(PKG_OPTIONS:Mcsv)
# no DEPENDS
.endif