Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

2
time/php-mrbs/DESCR Normal file
View File

@@ -0,0 +1,2 @@
The Meeting Room Booking System (MRBS) is a PHP-based application for
booking meeting rooms, or other resources.

100
time/php-mrbs/Makefile Normal file
View File

@@ -0,0 +1,100 @@
# $NetBSD: Makefile,v 1.1 2015/01/31 12:23:14 bouyer Exp $
#
DISTNAME= mrbs-1.4.11
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= www time
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mrbs}/
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://mrbs.sourceforge.net/
COMMENT= Meeting Room Booking System
LICENSE= gnu-gpl-v2
DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.3.0:../../converters/php-iconv
.include "options.mk"
USE_LANGUAGES= # none
EGDIR= ${PREFIX}/share/examples/mrbs
CONF_FILES= ${EGDIR}/config.inc.php ${PREFIX}/share/mrbs/config.inc.php
CONF_FILES+= ${EGDIR}/site_faq/site_faq.html ${PREFIX}/share/mrbs/site_faq/site_faq.html
CONF_FILES+= ${EGDIR}/site_faq/site_faq_cs.html ${PREFIX}/share/mrbs/site_faq/site_faq_cs.html
CONF_FILES+= ${EGDIR}/site_faq/site_faq_de.html ${PREFIX}/share/mrbs/site_faq/site_faq_de.html
CONF_FILES+= ${EGDIR}/site_faq/site_faq_es.html ${PREFIX}/share/mrbs/site_faq/site_faq_es.html
CONF_FILES+= ${EGDIR}/site_faq/site_faq_fr.html ${PREFIX}/share/mrbs/site_faq/site_faq_fr.html
CONF_FILES+= ${EGDIR}/site_faq/site_faq_it.html ${PREFIX}/share/mrbs/site_faq/site_faq_it.html
CONF_FILES+= ${EGDIR}/site_faq/site_faq_nl.html ${PREFIX}/share/mrbs/site_faq/site_faq_nl.html
CONF_FILES+= ${EGDIR}/site_faq/site_faq_sv.html ${PREFIX}/share/mrbs/site_faq/site_faq_sv.html
NO_BUILD= yes
.include "../../mk/bsd.prefs.mk"
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/mrbs
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}/site_faq
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mrbs
${INSTALL_DATA} ${WRKSRC}/web/config.inc.php ${DESTDIR}${EGDIR}/
${INSTALL_DATA} ${WRKSRC}/web/.htaccess ${DESTDIR}${EGDIR}/
for file in \
site_faq.html \
site_faq_cs.html \
site_faq_de.html \
site_faq_es.html \
site_faq_fr.html \
site_faq_it.html \
site_faq_nl.html \
site_faq_sv.html \
; do ${INSTALL_DATA} ${WRKSRC}/web/site_faq/$$file ${DESTDIR}${EGDIR}/site_faq; \
done
for file in \
AUTHENTICATION \
COPYING \
ChangeLog \
INSTALL \
LANGUAGE \
NEWS \
README \
README.nwauth \
README.sqlapi \
UPGRADE \
auth_ldap.pl \
auth_ldapsearch.pl \
auth_pam.pl \
badpw.pl \
checklang.php \
convert_db_to_utf8.php \
crypt_passwd.example \
crypt_passwd.pl \
destroy.pg.sql \
grant.pg.sql \
help_report.html \
purge.my.sql \
purge.pg.sql \
sample-data.sql \
smb_auth.c \
tables.my.pre41.sql \
tables.my.sql \
tables.pg.pre73.sql \
tables.pg.sql \
testdata.php \
upgrade.my.sql \
upgrade2.my.sql \
upgrade2.pg.sql \
upgrade3.my.sql \
; do ${INSTALL_DATA} ${WRKSRC}/$$file ${DESTDIR}${PREFIX}/share/doc/mrbs/; \
done
cd ${WRKSRC}/web && ${FIND} . -type f \
\! -name '*.orig' \! -name config.inc.php \! -name .htaccess \
\! -path './site_faq/*' \
-print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/share/mrbs
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"

1220
time/php-mrbs/PLIST Normal file

File diff suppressed because it is too large Load Diff

5
time/php-mrbs/distinfo Normal file
View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2015/01/31 12:23:14 bouyer Exp $
SHA1 (mrbs-1.4.11.tar.gz) = 154392261befaae2aa39ae7457283c17feb03ca1
RMD160 (mrbs-1.4.11.tar.gz) = 37db5cddacb89eaa2622c914f4d5e3edee313a09
Size (mrbs-1.4.11.tar.gz) = 1081223 bytes

21
time/php-mrbs/options.mk Normal file
View File

@@ -0,0 +1,21 @@
# $NetBSD: options.mk,v 1.1 2015/01/31 12:23:14 bouyer Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.php-mrbs
PKG_OPTIONS_REQUIRED_GROUPS= db
PKG_OPTIONS_GROUP.db= mysql pgsql
PKG_SUGGESTED_OPTIONS= mysql
.include "../../mk/bsd.options.mk"
###
### Use mysql, or pgsql backend
###
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql
.elif !empty(PKG_OPTIONS:Mpgsql)
DEPENDS+= ${PHP_PKG_PREFIX}-pgsql>=5.2.0:../../databases/php-pgsql
.else
PKG_FAIL_REASON+= ${PKGNAME} needs either mysql or pgsql
.endif