aboutsummaryrefslogtreecommitdiffstats
path: root/www/phpscheduleit
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-01-07 10:21:21 +0800
committerwen <wen@FreeBSD.org>2011-01-07 10:21:21 +0800
commit143e6dfe391120eec7264a888959cd9dc22c43e2 (patch)
tree4e8444905a97694810cdbea399de4b806ef6ea02 /www/phpscheduleit
parentca2d50802c7c7fa716c326085e3a45c8514d73ac (diff)
downloadfreebsd-ports-graphics-143e6dfe391120eec7264a888959cd9dc22c43e2.tar.gz
freebsd-ports-graphics-143e6dfe391120eec7264a888959cd9dc22c43e2.tar.zst
freebsd-ports-graphics-143e6dfe391120eec7264a888959cd9dc22c43e2.zip
phpScheduleIt is a web-based resource scheduling system that allows
administered management of reservations on any number of resources. Typical applications are conference room or machine reservation management. Written in PHP and tested on MySQL. WWW: http://sourceforge.net/projects/phpscheduleit/ PR: ports/153678 Submitted by: Marian Jamrich <jamrich.majo@gmail.com>
Diffstat (limited to 'www/phpscheduleit')
-rw-r--r--www/phpscheduleit/Makefile56
-rw-r--r--www/phpscheduleit/distinfo2
-rw-r--r--www/phpscheduleit/files/pkg-message.in33
-rw-r--r--www/phpscheduleit/pkg-descr6
-rw-r--r--www/phpscheduleit/pkg-plist276
5 files changed, 373 insertions, 0 deletions
diff --git a/www/phpscheduleit/Makefile b/www/phpscheduleit/Makefile
new file mode 100644
index 00000000000..1b5efa5a6ba
--- /dev/null
+++ b/www/phpscheduleit/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: phpscheduleit
+# Date created: 4 Januar 2011
+# Whom: jamrich.majo@gmail.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= phpscheduleit
+PORTVERSION= 1.2.12
+CATEGORIES= www
+MASTER_SITES= SF/phpscheduleit/1.%20phpScheduleIt/${PORTVERSION}
+DISTNAME= phpScheduleIt_${PORTVERSION}
+
+MAINTAINER= jamrich.majo@gmail.com
+COMMENT= A web-based resource scheduling and management system
+
+RUN_DEPENDS+= php:${PORTSDIR}/lang/php5 \
+ ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
+
+PEARDIR= ${PREFIX}/share/pear
+USE_PHP+= mysql
+USE_MYSQL= yes
+NO_BUILD= yes
+WWWOWN= www
+WWWGRP= ${WWWOWN}
+
+PKGMESSAGE= ${WRKDIR}/${PORTNAME}/pkg-message
+SUB_FILES= pkg-message
+PLIST_DIRSTRY= %%WWWDIR%%
+
+OPTIONS= POSTGRE "Use PostgreSQL Database" off \
+ APACHE "Use Apache webserver" on \
+ LIGHTTPD "Use Lighttpd webserver" off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_POSTGRE)
+USE_PHP+= pgsql
+RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql
+.endif
+.if defined(WITH_APACHE)
+USE_APACHE= 22
+.endif
+.if defined(WITH_LIGHTTPD)
+RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd
+.endif
+
+do-install:
+ @${MKDIR} ${WWWDIR}
+ @${CP} -r ${WRKDIR}/* ${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/phpscheduleit/distinfo b/www/phpscheduleit/distinfo
new file mode 100644
index 00000000000..dd912f98180
--- /dev/null
+++ b/www/phpscheduleit/distinfo
@@ -0,0 +1,2 @@
+SHA256 (phpScheduleIt_1.2.12.tar.gz) = 5e9b1203476171761f3ad73aac2b0aa0dd0360477d714a32d6f4bc6c009dfabd
+SIZE (phpScheduleIt_1.2.12.tar.gz) = 865261
diff --git a/www/phpscheduleit/files/pkg-message.in b/www/phpscheduleit/files/pkg-message.in
new file mode 100644
index 00000000000..c0848d78cef
--- /dev/null
+++ b/www/phpscheduleit/files/pkg-message.in
@@ -0,0 +1,33 @@
+-----------------------------------------------------------------------------
+Installation has successfully completed!
+-----------------------------------------------------------------------------
+phpScheduleIt is now installed in documentoroot: %%PREFIX%%/www/phpscheduleit.
+
+In php.ini >= PHP 5.3 set:
+- date.timezone = "Europe/Bratislava"
+
+1) MySQL:
+
+cd %%WWWDIR%%
+mysql -u root -p'your_root_password' < ./install/setup.sql
+mysql -u root -p'your_root_password'
+create user 'phpscheduleit'@'localhost' identified by 'your_password';
+grant all privileges on phpScheduleIt.* to 'phpscheduleit'@'localhost' identified by 'your_password';
+
+2) Edit config.php:
+
+vim config/config.php
+
+$conf['db']['dbUser'] = 'phpscheduleit';
+$conf['db']['dbPass'] = 'your_password';
+$conf['db']['dbName'] = 'phpScheduleIt';
+
+4) cp %%WWWDIR%%/config/config.new.php %%WWWDIR%%/config/config.php
+5) And finally connect: http://your-server/phpscheduleit and register in the system.
+
+phpschedule reguired to run properly:
+- pear-DB
+- PHP
+- Webserver
+- Database
+-----------------------------------------------------------------------------
diff --git a/www/phpscheduleit/pkg-descr b/www/phpscheduleit/pkg-descr
new file mode 100644
index 00000000000..93b4711fe72
--- /dev/null
+++ b/www/phpscheduleit/pkg-descr
@@ -0,0 +1,6 @@
+phpScheduleIt is a web-based resource scheduling system that allows
+administered management of reservations on any number of resources.
+Typical applications are conference room or machine reservation
+management. Written in PHP and tested on MySQL.
+
+WWW: http://sourceforge.net/projects/phpscheduleit/
diff --git a/www/phpscheduleit/pkg-plist b/www/phpscheduleit/pkg-plist
new file mode 100644
index 00000000000..f2623edfc3d
--- /dev/null
+++ b/www/phpscheduleit/pkg-plist
@@ -0,0 +1,276 @@
+%%WWWDIR%%/License
+%%WWWDIR%%/admin.php
+%%WWWDIR%%/admin_update.php
+%%WWWDIR%%/ajax.js
+%%WWWDIR%%/blackouts.php
+%%WWWDIR%%/calendar.ico
+%%WWWDIR%%/check.php
+%%WWWDIR%%/cmd/send_reminders.php
+%%WWWDIR%%/config/cmdinit.php
+%%WWWDIR%%/config/config.new.php
+%%WWWDIR%%/config/constants.php
+%%WWWDIR%%/config/index.html
+%%WWWDIR%%/config/init.php
+%%WWWDIR%%/config/langs.php
+%%WWWDIR%%/css.css
+%%WWWDIR%%/ctrlpnl.php
+%%WWWDIR%%/export.php
+%%WWWDIR%%/exports/ical.php
+%%WWWDIR%%/favicon.ico
+%%WWWDIR%%/forgot_pwd.php
+%%WWWDIR%%/functions.js
+%%WWWDIR%%/group_edit.php
+%%WWWDIR%%/help.php
+%%WWWDIR%%/img/calendar.gif
+%%WWWDIR%%/img/checkbox.gif
+%%WWWDIR%%/img/day_large.gif
+%%WWWDIR%%/img/day_small.gif
+%%WWWDIR%%/img/export.gif
+%%WWWDIR%%/img/month_large.gif
+%%WWWDIR%%/img/month_small.gif
+%%WWWDIR%%/img/multiday.gif
+%%WWWDIR%%/img/owner.gif
+%%WWWDIR%%/img/participant.gif
+%%WWWDIR%%/img/phpScheduleIt.gif
+%%WWWDIR%%/img/recurring.gif
+%%WWWDIR%%/img/signup.gif
+%%WWWDIR%%/img/week_large.gif
+%%WWWDIR%%/img/week_small.gif
+%%WWWDIR%%/img/x.gif
+%%WWWDIR%%/index.php
+%%WWWDIR%%/install/ReleaseNotes.txt
+%%WWWDIR%%/install/index.php
+%%WWWDIR%%/install/remote_host_install.html
+%%WWWDIR%%/install/setup.sql
+%%WWWDIR%%/install/update/config.php
+%%WWWDIR%%/install/update/index.php
+%%WWWDIR%%/install/update/update.sql
+%%WWWDIR%%/join.php
+%%WWWDIR%%/jscalendar/calendar-blue-custom.css
+%%WWWDIR%%/jscalendar/calendar-setup.js
+%%WWWDIR%%/jscalendar/calendar.js
+%%WWWDIR%%/jscalendar/index.html
+%%WWWDIR%%/jscalendar/lang/calendar-af.js
+%%WWWDIR%%/jscalendar/lang/calendar-ar.js
+%%WWWDIR%%/jscalendar/lang/calendar-br.js
+%%WWWDIR%%/jscalendar/lang/calendar-ca.js
+%%WWWDIR%%/jscalendar/lang/calendar-cs-win.js
+%%WWWDIR%%/jscalendar/lang/calendar-da.js
+%%WWWDIR%%/jscalendar/lang/calendar-de.js
+%%WWWDIR%%/jscalendar/lang/calendar-du.js
+%%WWWDIR%%/jscalendar/lang/calendar-el.js
+%%WWWDIR%%/jscalendar/lang/calendar-en.js
+%%WWWDIR%%/jscalendar/lang/calendar-es.js
+%%WWWDIR%%/jscalendar/lang/calendar-fi.js
+%%WWWDIR%%/jscalendar/lang/calendar-fr.js
+%%WWWDIR%%/jscalendar/lang/calendar-hr-utf8.js
+%%WWWDIR%%/jscalendar/lang/calendar-hr.js
+%%WWWDIR%%/jscalendar/lang/calendar-hu.js
+%%WWWDIR%%/jscalendar/lang/calendar-it.js
+%%WWWDIR%%/jscalendar/lang/calendar-jp.js
+%%WWWDIR%%/jscalendar/lang/calendar-ko-utf8.js
+%%WWWDIR%%/jscalendar/lang/calendar-ko.js
+%%WWWDIR%%/jscalendar/lang/calendar-lt-utf8.js
+%%WWWDIR%%/jscalendar/lang/calendar-lt.js
+%%WWWDIR%%/jscalendar/lang/calendar-nl.js
+%%WWWDIR%%/jscalendar/lang/calendar-no.js
+%%WWWDIR%%/jscalendar/lang/calendar-pl-utf8.js
+%%WWWDIR%%/jscalendar/lang/calendar-pl.js
+%%WWWDIR%%/jscalendar/lang/calendar-pt.js
+%%WWWDIR%%/jscalendar/lang/calendar-ro.js
+%%WWWDIR%%/jscalendar/lang/calendar-ru.js
+%%WWWDIR%%/jscalendar/lang/calendar-si.js
+%%WWWDIR%%/jscalendar/lang/calendar-sk.js
+%%WWWDIR%%/jscalendar/lang/calendar-sp.js
+%%WWWDIR%%/jscalendar/lang/calendar-sv.js
+%%WWWDIR%%/jscalendar/lang/calendar-tr.js
+%%WWWDIR%%/jscalendar/lang/calendar-zh.js
+%%WWWDIR%%/lang/ar.help.php
+%%WWWDIR%%/lang/ar.lang.php
+%%WWWDIR%%/lang/bg.help.php
+%%WWWDIR%%/lang/bg.lang.php
+%%WWWDIR%%/lang/ca.lang.php
+%%WWWDIR%%/lang/cs.lang.php
+%%WWWDIR%%/lang/da.help.php
+%%WWWDIR%%/lang/da.lang.php
+%%WWWDIR%%/lang/de.help.php
+%%WWWDIR%%/lang/de.lang.php
+%%WWWDIR%%/lang/el.lang.php
+%%WWWDIR%%/lang/en.help.php
+%%WWWDIR%%/lang/en_GB.lang.php
+%%WWWDIR%%/lang/en_US.lang.php
+%%WWWDIR%%/lang/es.help.php
+%%WWWDIR%%/lang/es.lang.php
+%%WWWDIR%%/lang/fi.lang.php
+%%WWWDIR%%/lang/fr.help.php
+%%WWWDIR%%/lang/fr.lang.php
+%%WWWDIR%%/lang/hu.help.php
+%%WWWDIR%%/lang/hu.lang.php
+%%WWWDIR%%/lang/it.help.php
+%%WWWDIR%%/lang/it.lang.php
+%%WWWDIR%%/lang/ja_JP.lang.php
+%%WWWDIR%%/lang/ko.lang.php
+%%WWWDIR%%/lang/ko_KR.lang.php
+%%WWWDIR%%/lang/nl.lang.php
+%%WWWDIR%%/lang/no.lang.php
+%%WWWDIR%%/lang/pl.help.php
+%%WWWDIR%%/lang/pl.lang.php
+%%WWWDIR%%/lang/pt_BR.help.php
+%%WWWDIR%%/lang/pt_BR.lang.php
+%%WWWDIR%%/lang/pt_PT.lang.php
+%%WWWDIR%%/lang/readme.es.html
+%%WWWDIR%%/lang/ru.help.php
+%%WWWDIR%%/lang/ru.lang.php
+%%WWWDIR%%/lang/sk.help.php
+%%WWWDIR%%/lang/sk.lang.php
+%%WWWDIR%%/lang/sl.lang.php
+%%WWWDIR%%/lang/sv.help.php
+%%WWWDIR%%/lang/sv.lang.php
+%%WWWDIR%%/lang/tr.lang.php
+%%WWWDIR%%/lang/zh_CN.lang.php
+%%WWWDIR%%/lang/zh_TW.lang.php
+%%WWWDIR%%/lib/AdditionalResource.class.php
+%%WWWDIR%%/lib/Admin.class.php
+%%WWWDIR%%/lib/AnonymousUser.class.php
+%%WWWDIR%%/lib/Auth.class.php
+%%WWWDIR%%/lib/Blackout.class.php
+%%WWWDIR%%/lib/Calendar.class.php
+%%WWWDIR%%/lib/CmnFns.class.php
+%%WWWDIR%%/lib/DBConnection.class.php
+%%WWWDIR%%/lib/DBEngine.class.php
+%%WWWDIR%%/lib/Database.class.php
+%%WWWDIR%%/lib/Group.class.php
+%%WWWDIR%%/lib/LDAPEngine.class.php
+%%WWWDIR%%/lib/Link.class.php
+%%WWWDIR%%/lib/MyCalendar.class.php
+%%WWWDIR%%/lib/PHPMailer.class.php
+%%WWWDIR%%/lib/Pager.class.php
+%%WWWDIR%%/lib/Reminder.class.php
+%%WWWDIR%%/lib/ReminderEmail.class.php
+%%WWWDIR%%/lib/ResCalendar.class.php
+%%WWWDIR%%/lib/Reservation.class.php
+%%WWWDIR%%/lib/ReservationResult.class.php
+%%WWWDIR%%/lib/ReservationSearch.php
+%%WWWDIR%%/lib/ReservationTime.class.php
+%%WWWDIR%%/lib/Resource.class.php
+%%WWWDIR%%/lib/Schedule.class.php
+%%WWWDIR%%/lib/SelectUser.class.php
+%%WWWDIR%%/lib/Smtp.class.php
+%%WWWDIR%%/lib/Stats.class.php
+%%WWWDIR%%/lib/Summary.class.php
+%%WWWDIR%%/lib/Template.class.php
+%%WWWDIR%%/lib/Time.class.php
+%%WWWDIR%%/lib/Timer.class.php
+%%WWWDIR%%/lib/User.class.php
+%%WWWDIR%%/lib/Utility.class.php
+%%WWWDIR%%/lib/db/AdditionalResourceDB.class.php
+%%WWWDIR%%/lib/db/AdminDB.class.php
+%%WWWDIR%%/lib/db/AnonymousUserDB.class.php
+%%WWWDIR%%/lib/db/AuthDB.class.php
+%%WWWDIR%%/lib/db/BlackoutDB.class.php
+%%WWWDIR%%/lib/db/GroupDB.class.php
+%%WWWDIR%%/lib/db/MyCalendarDB.class.php
+%%WWWDIR%%/lib/db/ReminderDB.class.php
+%%WWWDIR%%/lib/db/ResCalendarDB.class.php
+%%WWWDIR%%/lib/db/ResDB.class.php
+%%WWWDIR%%/lib/db/ReservationSearchDB.class.php
+%%WWWDIR%%/lib/db/ResourceDB.class.php
+%%WWWDIR%%/lib/db/ScheduleDB.class.php
+%%WWWDIR%%/lib/db/SelectUserDB.class.php
+%%WWWDIR%%/lib/db/StatsDB.class.php
+%%WWWDIR%%/lib/db/UsageDB.class.php
+%%WWWDIR%%/lib/db/UserDB.class.php
+%%WWWDIR%%/lib/db/UserInfoDB.class.php
+%%WWWDIR%%/lib/db/index.html
+%%WWWDIR%%/lib/helpers/ReservationHelper.class.php
+%%WWWDIR%%/lib/helpers/StringBuilder.class.php
+%%WWWDIR%%/lib/icalendar/ICalExport.php
+%%WWWDIR%%/lib/icalendar/ICalReservationFormatter.php
+%%WWWDIR%%/lib/index.html
+%%WWWDIR%%/lib/interfaces/IEmail.php
+%%WWWDIR%%/lib/interfaces/IReservationExport.php
+%%WWWDIR%%/lib/interfaces/IReservationFormatter.php
+%%WWWDIR%%/lib/pagebase/Page.php
+%%WWWDIR%%/lib/pagebase/download/DownloadPage.php
+%%WWWDIR%%/lib/pagebase/download/FileDownload.php
+%%WWWDIR%%/lib/pagebase/download/StreamDownload.php
+%%WWWDIR%%/lib/pagebase/download/streams/FileDownloadStream.php
+%%WWWDIR%%/lib/pagebase/download/streams/IDownloadStream.php
+%%WWWDIR%%/lib/pagebase/download/streams/StringDownloadStream.php
+%%WWWDIR%%/lib/pear/DB.php
+%%WWWDIR%%/lib/pear/DB/common.php
+%%WWWDIR%%/lib/pear/DB/dbase.php
+%%WWWDIR%%/lib/pear/DB/fbsql.php
+%%WWWDIR%%/lib/pear/DB/ibase.php
+%%WWWDIR%%/lib/pear/DB/ifx.php
+%%WWWDIR%%/lib/pear/DB/msql.php
+%%WWWDIR%%/lib/pear/DB/mssql.php
+%%WWWDIR%%/lib/pear/DB/mysql.php
+%%WWWDIR%%/lib/pear/DB/mysqli.php
+%%WWWDIR%%/lib/pear/DB/oci8.php
+%%WWWDIR%%/lib/pear/DB/odbc.php
+%%WWWDIR%%/lib/pear/DB/pgsql.php
+%%WWWDIR%%/lib/pear/DB/sqlite.php
+%%WWWDIR%%/lib/pear/DB/storage.php
+%%WWWDIR%%/lib/pear/DB/sybase.php
+%%WWWDIR%%/lib/pear/PEAR.php
+%%WWWDIR%%/lib/pear/System.php
+%%WWWDIR%%/lib/pear/license.txt
+%%WWWDIR%%/lib/vcalendar/VCalExport.php
+%%WWWDIR%%/lib/vcalendar/VCalReservationFormatter.php
+%%WWWDIR%%/manage_invites.php
+%%WWWDIR%%/my_email.php
+%%WWWDIR%%/mycalendar.php
+%%WWWDIR%%/pkg-message
+%%WWWDIR%%/popCalendar.php
+%%WWWDIR%%/readme.html
+%%WWWDIR%%/recurCalendar.php
+%%WWWDIR%%/register.php
+%%WWWDIR%%/rescalendar.php
+%%WWWDIR%%/reserve.php
+%%WWWDIR%%/roschedule.php
+%%WWWDIR%%/rss.php
+%%WWWDIR%%/schedule.php
+%%WWWDIR%%/set_blackout.php
+%%WWWDIR%%/signup.php
+%%WWWDIR%%/stats.php
+%%WWWDIR%%/templates/admin.template.php
+%%WWWDIR%%/templates/auth.template.php
+%%WWWDIR%%/templates/bug.template.php
+%%WWWDIR%%/templates/cpanel.template.php
+%%WWWDIR%%/templates/export.template.php
+%%WWWDIR%%/templates/index.html
+%%WWWDIR%%/templates/my_email.template.php
+%%WWWDIR%%/templates/mycalendar.template.php
+%%WWWDIR%%/templates/rescalendar.template.php
+%%WWWDIR%%/templates/reserve.template.php
+%%WWWDIR%%/templates/schedule.template.php
+%%WWWDIR%%/templates/selectuser.template.php
+%%WWWDIR%%/templates/stats.template.php
+%%WWWDIR%%/templates/usage.template.php
+%%WWWDIR%%/templates/usergroup.template.php
+%%WWWDIR%%/templates/userinfo.template.php
+%%WWWDIR%%/usage.php
+%%WWWDIR%%/userInfo.php
+%%WWWDIR%%/user_select.php
+@dirrm %%WWWDIR%%/templates
+@dirrm %%WWWDIR%%/lib/vcalendar
+@dirrm %%WWWDIR%%/lib/pear/DB
+@dirrm %%WWWDIR%%/lib/pear
+@dirrm %%WWWDIR%%/lib/pagebase/download/streams
+@dirrm %%WWWDIR%%/lib/pagebase/download
+@dirrm %%WWWDIR%%/lib/pagebase
+@dirrm %%WWWDIR%%/lib/interfaces
+@dirrm %%WWWDIR%%/lib/icalendar
+@dirrm %%WWWDIR%%/lib/helpers
+@dirrm %%WWWDIR%%/lib/db
+@dirrm %%WWWDIR%%/lib
+@dirrm %%WWWDIR%%/lang
+@dirrm %%WWWDIR%%/jscalendar/lang
+@dirrm %%WWWDIR%%/jscalendar
+@dirrm %%WWWDIR%%/install/update
+@dirrm %%WWWDIR%%/install
+@dirrm %%WWWDIR%%/img
+@dirrm %%WWWDIR%%/exports
+@dirrmtry %%WWWDIR%%/config
+@dirrm %%WWWDIR%%/cmd