pkgsrc/time/kronolith/Makefile

96 lines
3.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2011/09/16 05:46:25 obache Exp $
DISTNAME= kronolith-h3-${KRONOLITHVER}
PKGNAME= kronolith-${KRONOLITHVER}
PKGREVISION= 1
CATEGORIES= www time
MASTER_SITES= http://ftp.horde.org/pub/kronolith/ \
ftp://ftp.horde.org/pub/kronolith/
2009-07-17 20:00:13 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.horde.org/kronolith/
COMMENT= Horde calendar application
Kronolith version H3 (2.2) is a major upgrade in the 2.x release series, including these enhancements: * Support for the Horde_Alarm system (requires Horde 3.2) for email or inline alarms on any event. * Improved iCalendar and vCalendar support, including support for alarms, timezones, better integration with remote calendars, and better support for remote clients. * Improved event recurrence, including events that recur a specific number of times, recurrence by day of the year and by weekday of the year, the choice of editing or deleting a recurring event as either the full series or an individual exception, and the ability to remove recurrence exceptions. * More complete WebDAV support. * WCAG 1.0 Priority 2/Section 508 accessibility guidelines compliance. * Users can get a daily agenda email. * Holidays can be displayed using the Date_Holiday package. * Event delegation - users can have permissions to creat events on behalf of other users. * Events can be marked private. * More dynamic user interface, including dynamic page refreshes to update the main calendar view when switching between dates or month/day/week/ work week/year views, a collapsible panel that provides quick access to all calendars and allows searching of calendars, a dynamic event edit interface that puts less commonly used options out of site by default, quick switching between the view, edit, and delete interfaces, and autocompletion of attendees from the user's address book. * Full Kolab webclient support * Database access can be split between read and write databases. * More graceful operation if the calendar backend is not available. * and much, much more.
2008-05-26 14:58:49 +02:00
DEPENDS+= horde>=3.2:../../www/horde
DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=4.3.3:../../databases/php-mysql
DEPENDS+= ${PHP_PKG_PREFIX}-pear-Date-[0-9]*:../../time/pear-Date
2009-08-29 14:30:30 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pax
.include "../../mk/bsd.prefs.mk"
DOCDIR= ${PREFIX}/share/doc/kronolith
EGDIR= ${PREFIX}/share/examples/kronolith
HORDEDIR= ${PREFIX}/share/horde
KRONOLITHDIR= ${HORDEDIR}/kronolith
Update to 2.3 ---- v2.3 ---- [jan] Change group field in shares table to work with LDAP groups (Bug 6883). [jan] Fix user name conversion with user hooks in the calendar panel (Bug 7366). [gwr] Fixed handling of free events in the Kolab driver (noethen@uni-paderborn.de, Bug 7192). [jan] Differentiate between days with events and days with busy events in the year view. -------- v2.3-RC1 -------- [jan] Send correct iTip notifications when deleting recurring event instances (Bug 6636). [mjr] Add support for embedding calendar widgets on external websites. [jan] Log moving of events in the history backend (Bug 3207). [jan] Fix listing alarms of recurring events crossing day boundaries (Bug 7035). [jan] Fix deleting all events over WebDAV (Bug 7005). [jan] Add Atom feeds. [jan] Fix encoding of holiday names. [jan] Add Estonian translation (Alar Sing <alar.sing@err.ee>). [jan] Consider RECURRENCE-ID attributes in iCalendar data. [cjh] Fix a problem with the put() API call and events that already exist (almarin@um.es, Bug 7088). [jan] Fix importing iCalendar events with only a single recurrence exception (guyzdm@gmail.com, Bug 7068). [jan] Add Basque translation (Euskal Herriko Unibertsitatea EHU/UPV <xabier.arrieta@ehu.es>). [mjr] Add support for maintenance tasks and add a task for purging old events. [jan] Fix future events not being received under certain circumstances (Bugs 6946, 6966). [jan] Correctly sort recurring events (develop@kristov.de, Bug 7037). [jan] Fix display of recurring events crossing midnight in the portal block (develop@kristov.de, Bug 7036). [jan] Fix agenda emails containing wrong events. [mjr] Remove user permissions on all shares when deleting a user. [jan] Fix warning when importing events through the API (Bug 6865). [cjh] Be case insensitive when comparing attendees (aloyse.gilbert@gmail.com, Bug 6833). [jan] Use smaller icons for private events.
2008-10-12 14:08:07 +02:00
KRONOLITHVER= 2.3
PAXDIRS= js lib locale po scripts templates themes
2009-08-29 14:30:30 +02:00
INSTALLATION_DIRS+= ${DOCDIR}
INSTALLATION_DIRS+= ${EGDIR}
INSTALLATION_DIRS+= ${KRONOLITHDIR}/config
INSTALLATION_DIRS+= ${PAXDIRS}
REPLACE_INTERPRETER+= php
REPLACE.php.old= .*/bin.php
REPLACE.php.new= ${PREFIX}/bin/php
REPLACE_FILES.php= scripts/import_icals.php \
scripts/migrate_to_sql_driver.php \
Kronolith version H3 (2.2) is a major upgrade in the 2.x release series, including these enhancements: * Support for the Horde_Alarm system (requires Horde 3.2) for email or inline alarms on any event. * Improved iCalendar and vCalendar support, including support for alarms, timezones, better integration with remote calendars, and better support for remote clients. * Improved event recurrence, including events that recur a specific number of times, recurrence by day of the year and by weekday of the year, the choice of editing or deleting a recurring event as either the full series or an individual exception, and the ability to remove recurrence exceptions. * More complete WebDAV support. * WCAG 1.0 Priority 2/Section 508 accessibility guidelines compliance. * Users can get a daily agenda email. * Holidays can be displayed using the Date_Holiday package. * Event delegation - users can have permissions to creat events on behalf of other users. * Events can be marked private. * More dynamic user interface, including dynamic page refreshes to update the main calendar view when switching between dates or month/day/week/ work week/year views, a collapsible panel that provides quick access to all calendars and allows searching of calendars, a dynamic event edit interface that puts less commonly used options out of site by default, quick switching between the view, edit, and delete interfaces, and autocompletion of attendees from the user's address book. * Full Kolab webclient support * Database access can be split between read and write databases. * More graceful operation if the calendar backend is not available. * and much, much more.
2008-05-26 14:58:49 +02:00
scripts/reminders.php
MESSAGE_SUBST+= KRONOLITHDIR=${KRONOLITHDIR:Q}
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
PKG_SYSCONFSUBDIR?= httpd
USE_PKGINSTALL= YES
SUBST_CLASSES+= files
SUBST_STAGE.files= post-build
SUBST_FILES.files= kronolith.conf.dist
SUBST_SED.files= -e "s|@KRONOLITHDIR@|${KRONOLITHDIR}|g"
SUBST_MESSAGE.files= Fixing configuration files.
PKG_USERS_VARS+= APACHE_USER
CONF_FILES= ${EGDIR}/kronolith.conf ${PKG_SYSCONFDIR}/kronolith.conf
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/conf.xml.dist \
${KRONOLITHDIR}/config/conf.xml \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/keywords.php.dist \
${KRONOLITHDIR}/config/keywords.php \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/menu.php.dist \
${KRONOLITHDIR}/config/menu.php \
${APACHE_USER} ${ROOT_GROUP} 0440
CONF_FILES_PERMS+= ${KRONOLITHDIR}/config/prefs.php.dist \
${KRONOLITHDIR}/config/prefs.php \
${APACHE_USER} ${ROOT_GROUP} 0440
2009-08-29 14:30:30 +02:00
SPECIAL_PERMS+= ${KRONOLITHDIR}/config ${APACHE_USER} ${SHAREGRP} 0750
do-build:
${CP} ${FILESDIR}/kronolith.conf.dist ${WRKSRC}/kronolith.conf.dist
${CP} ${WRKSRC}/config/conf.xml ${WRKSRC}/config/conf.xml.dist
${FIND} ${WRKSRC} -name .htaccess -print | ${XARGS} ${RM} -f
do-install:
2009-08-29 14:30:30 +02:00
${INSTALL_DATA} ${WRKSRC}/kronolith.conf.dist ${DESTDIR}${EGDIR}/kronolith.conf
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/INSTALL ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/RELEASE_NOTES ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/docs/UPGRADING ${DESTDIR}${DOCDIR}
. for d in ${PAXDIRS}
2009-08-29 14:30:30 +02:00
cd ${WRKSRC}/${d} && pax -rwpma . ${DESTDIR}${KRONOLITHDIR}/${d}
. endfor
2009-08-29 14:30:30 +02:00
${INSTALL_DATA} ${WRKSRC}/config/*.dist ${DESTDIR}${KRONOLITHDIR}/config
${INSTALL_DATA} ${WRKSRC}/*.php ${DESTDIR}${KRONOLITHDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${KRONOLITHDIR}
${FIND} ${DESTDIR}${KRONOLITHDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${DESTDIR}${KRONOLITHDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"