aboutsummaryrefslogtreecommitdiffstats
path: root/www/cybercalendar
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-06-24 19:33:32 +0800
committerdaichi <daichi@FreeBSD.org>2003-06-24 19:33:32 +0800
commitf3ea44353ccee5763160f04d56581738cfc6d2fc (patch)
tree3f055578caacb7ae5c7facbeaddc2a4aba942a5b /www/cybercalendar
parentcc4c848f3ccb87cc7c1bcb4af195557b105ce384 (diff)
downloadfreebsd-ports-gnome-f3ea44353ccee5763160f04d56581738cfc6d2fc.tar.gz
freebsd-ports-gnome-f3ea44353ccee5763160f04d56581738cfc6d2fc.tar.zst
freebsd-ports-gnome-f3ea44353ccee5763160f04d56581738cfc6d2fc.zip
Add cybercalendar 1.8.2,
cyberCalendar is a web based calendar program written in perl. PR: 41464 Submitted by: janos.mohacsi@bsd.hu
Diffstat (limited to 'www/cybercalendar')
-rw-r--r--www/cybercalendar/Makefile58
-rw-r--r--www/cybercalendar/distinfo1
-rw-r--r--www/cybercalendar/files/httpd.conf.changes10
-rw-r--r--www/cybercalendar/pkg-descr22
-rw-r--r--www/cybercalendar/pkg-message27
-rw-r--r--www/cybercalendar/pkg-plist84
6 files changed, 202 insertions, 0 deletions
diff --git a/www/cybercalendar/Makefile b/www/cybercalendar/Makefile
new file mode 100644
index 000000000000..2904c84cdf59
--- /dev/null
+++ b/www/cybercalendar/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: cybercalendar
+# Date created: 17 June 2002
+# Whom: janos.mohacsi@bsd.hu
+#
+# $FreeBSD$
+
+PORTNAME= cybercalendar
+PORTVERSION= 1.8.2
+CATEGORIES= www
+MASTER_SITES= http://www.cyberweavers.com/download/
+DISTNAME= CyberCalendar_${PORTVERSION}
+
+MAINTAINER= janos.mohacsi@bsd.hu
+COMMENT= CyberCalendar is a web based calendar program written in perl
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite
+
+WRKSRC= ${WRKDIR}/CyberCalendar
+
+USE_PERL5= yes
+NO_BUILD= yes
+NO_PACKAGE= "needs customization and postconfiguration"
+
+DOC_FILES= README INSTALL INSTALL.NOSITEPERL TODO CHANGES COPYING
+SCRIPT_FILES= calendar/index.pl calendar/optionform.pl calendar/pda.pl \
+ calendar/printable.pl calendar/submit.pl calendar/vcal.pl \
+ calendar/admin/admin.pl calendar/admin/index.pl calendar/admin/setup.pl
+
+do-install:
+ @if [ ! -d ${PREFIX}/cybercalendar ]; then \
+ ${MKDIR} ${PREFIX}/cybercalendar; fi
+ @${CP} -R ${WRKSRC}/calendar ${PREFIX}/cybercalendar
+ @${CP} -R ${WRKSRC}/CyberCalendar ${PREFIX}/cybercalendar
+.for file in ${SCRIPT_FILES}
+ @${CHMOD} 755 ${PREFIX}/cybercalendar/${file}
+.endfor
+ ${LN} -s ${PREFIX}/cybercalendar/CyberCalendar \
+ ${PREFIX}/cybercalendar/calendar
+ ${LN} -s ${PREFIX}/cybercalendar/CyberCalendar \
+ ${PREFIX}/cybercalendar/calendar/admin
+ @${CP} -R ${WRKSRC}/setup ${PREFIX}/cybercalendar
+ ${INSTALL_DATA} ${FILESDIR}/httpd.conf.changes \
+ ${PREFIX}/cybercalendar/setup
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/cybercalendar/distinfo b/www/cybercalendar/distinfo
new file mode 100644
index 000000000000..eefe2e5e59cc
--- /dev/null
+++ b/www/cybercalendar/distinfo
@@ -0,0 +1 @@
+MD5 (CyberCalendar_1.8.2.tar.gz) = 7d2b134fe63ec3deda5d119bee1e9020
diff --git a/www/cybercalendar/files/httpd.conf.changes b/www/cybercalendar/files/httpd.conf.changes
new file mode 100644
index 000000000000..b424add3d122
--- /dev/null
+++ b/www/cybercalendar/files/httpd.conf.changes
@@ -0,0 +1,10 @@
+Alias /calendar/ /usr/local/cybercalendar/calendar/
+DirectoryIndex index.html index.pl
+AddHandler cgi-script .cgi .pl
+
+<Location /calendar>
+AllowOverride None
+Options +ExecCGI
+Order allow,deny
+allow from all
+</Location>
diff --git a/www/cybercalendar/pkg-descr b/www/cybercalendar/pkg-descr
new file mode 100644
index 000000000000..28b17377ab17
--- /dev/null
+++ b/www/cybercalendar/pkg-descr
@@ -0,0 +1,22 @@
+CyberCalendar is a calendar of events program for the web and
+WAP/PDA devices written entirely in Perl.
+
+FEATURES:
+
+* Creation of an unlimited number of calendars.
+* Receive scheduled event reminders via e-mail.
+* Send events to friends as e-mail messages.
+* Download events in vCalendar format to your personal
+ scheduling software or your handheld device.
+* Supports multiple calendar administrators.
+* Full WAP and Palm/AvantGo browser support.
+* Support for public event submissions.
+* Fully configurable -- including images and HTML colors.
+* Runs on Unix or Windows.
+* Runs as a CGI or as a mod_perl application.
+* 100% Perl application.
+
+
+WWW: http://sourceforge.net/projects/cybercalendar/
+
+- Janos Mohacsi janos.mohacsi@bsd.hu
diff --git a/www/cybercalendar/pkg-message b/www/cybercalendar/pkg-message
new file mode 100644
index 000000000000..3b1c73a378e0
--- /dev/null
+++ b/www/cybercalendar/pkg-message
@@ -0,0 +1,27 @@
+##############################################################################
+
+===> Cybercalendar post-port installation instructions:
+
+ To complete the installation of this port, please perform following actions
+ as root:
+
+ Mysql config:
+ mysqladmin -u root -p create calendar # "calendar" is your database name
+ mysql -u root -p mysql < %%LOCALBASE%%/cybercalendar/setup/db/caluser.sql
+ mysql -u root -p calendar < %%LOCALBASE%%/cybercalendar/setup/db/calendar.sql
+
+ Apache config:
+ Include %%LOCALBASE%%/cybercalendar/setup/httpd.conf.changes into
+ %%LOCALBASE%%/etc/apache/httpd.conf
+ apachectl restart # restarts the apache server
+
+ Cron config:
+ configure to run following two cronjob:
+ %%LOCALBASE%%/cybercalendar/setup/cron_job/optimize_tables.pl # every week
+ %%LOCALBASE%%/cybercalendar/setup/cron_job/run_reminder.pl # every midnight
+
+ Configure Cybercalendar via web:
+ username: admin
+ password: caladmin1
+
+##############################################################################
diff --git a/www/cybercalendar/pkg-plist b/www/cybercalendar/pkg-plist
new file mode 100644
index 000000000000..77260e3ee5bf
--- /dev/null
+++ b/www/cybercalendar/pkg-plist
@@ -0,0 +1,84 @@
+cybercalendar/calendar/admin/help/help_add.html
+cybercalendar/calendar/admin/help/help_calconfig.html
+cybercalendar/calendar/admin/help/help_controls.html
+cybercalendar/calendar/admin/help/help_index.html
+cybercalendar/calendar/admin/help/help_tags.html
+cybercalendar/calendar/admin/help/help_sec.html
+cybercalendar/calendar/admin/images/browse.png
+cybercalendar/calendar/admin/images/hd_cal.png
+cybercalendar/calendar/admin/images/save.png
+cybercalendar/calendar/admin/images/search.png
+cybercalendar/calendar/admin/images/select.png
+cybercalendar/calendar/admin/admin.pl
+cybercalendar/calendar/admin/index.pl
+cybercalendar/calendar/admin/setup.pl
+cybercalendar/calendar/admin/CyberCalendar
+cybercalendar/calendar/help/sm_calendar.png
+cybercalendar/calendar/help/browsebox.jpg
+cybercalendar/calendar/help/event.png
+cybercalendar/calendar/help/help_index.html
+cybercalendar/calendar/help/help_options.html
+cybercalendar/calendar/help/help_search.html
+cybercalendar/calendar/help/help_view.html
+cybercalendar/calendar/help/help_view_lg.html
+cybercalendar/calendar/help/lg_cal_day.png
+cybercalendar/calendar/help/lg_cal_thumb.png
+cybercalendar/calendar/help/options-email.png
+cybercalendar/calendar/help/options-printable.png
+cybercalendar/calendar/help/options-reminder.png
+cybercalendar/calendar/help/options-title.png
+cybercalendar/calendar/help/options-vcal.png
+cybercalendar/calendar/help/searchbox2.png
+cybercalendar/calendar/help/both.jpg
+cybercalendar/calendar/images/browse.png
+cybercalendar/calendar/images/hd_cal.png
+cybercalendar/calendar/images/help.png
+cybercalendar/calendar/images/save.png
+cybercalendar/calendar/images/search.png
+cybercalendar/calendar/images/select.png
+cybercalendar/calendar/templates/large_calendar.html
+cybercalendar/calendar/templates/small_calendar.html
+cybercalendar/calendar/printable.pl
+cybercalendar/calendar/event.vcs
+cybercalendar/calendar/vcal.pl
+cybercalendar/calendar/submit.pl
+cybercalendar/calendar/index.pl
+cybercalendar/calendar/optionform.pl
+cybercalendar/calendar/pda.pl
+cybercalendar/calendar/CyberCalendar
+cybercalendar/CyberCalendar/Util.pm
+cybercalendar/CyberCalendar/Application.pm
+cybercalendar/CyberCalendar/Auth.pm
+cybercalendar/CyberCalendar/Calendar.pm
+cybercalendar/CyberCalendar/Config.pm
+cybercalendar/CyberCalendar/Database.pm
+cybercalendar/CyberCalendar/Http.pm
+cybercalendar/CyberCalendar/PDA.pm
+cybercalendar/CyberCalendar/Setup.pm
+cybercalendar/CyberCalendar/Admin.pm
+cybercalendar/setup/cron_job/optimize_tables.pl
+cybercalendar/setup/cron_job/run_reminder.pl
+cybercalendar/setup/db/calendar.sql
+cybercalendar/setup/db/caluser.sql
+cybercalendar/setup/db/upgrade.sql
+cybercalendar/setup/db/upgrade_convert_acl.sql
+cybercalendar/setup/httpd.conf.changes
+@dirrm cybercalendar/calendar/admin/help
+@dirrm cybercalendar/calendar/admin/images
+@dirrm cybercalendar/calendar/admin
+@dirrm cybercalendar/calendar/help
+@dirrm cybercalendar/calendar/images
+@dirrm cybercalendar/calendar/templates
+@dirrm cybercalendar/calendar
+@dirrm cybercalendar/CyberCalendar
+@dirrm cybercalendar/setup/cron_job
+@dirrm cybercalendar/setup/db
+@dirrm cybercalendar/setup
+@dirrm cybercalendar/
+%%PORTDOCS%%share/doc/cybercalendar/CHANGES
+%%PORTDOCS%%share/doc/cybercalendar/COPYING
+%%PORTDOCS%%share/doc/cybercalendar/INSTALL
+%%PORTDOCS%%share/doc/cybercalendar/INSTALL.NOSITEPERL
+%%PORTDOCS%%share/doc/cybercalendar/README
+%%PORTDOCS%%share/doc/cybercalendar/TODO
+%%PORTDOCS%%@dirrm share/doc/cybercalendar