# $Id$ PortSystem 1.0 name phpicalendar version 2.24 categories www php platforms darwin maintainers mww description web-based iCal viewer long_description PHP iCalendar is a PHP-based iCal file viewer/parser to display \ iCals in a Web browser. homepage http://phpicalendar.net/ master_sites sourceforge extract.suffix .tgz checksums sha1 2a2569fffda8276ba9504ea88eee8862fd254dbf extract.post_args "| tar -xf - --exclude='*.DS_Store'" use_configure no build {} set conf ${prefix}/www/${name}/config.inc.php destroot { xinstall -m 755 -d ${destroot}${prefix}/www \ ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/${name} ${destroot}${prefix}/www/ foreach f { AUTHORS COPYING README TIMEZONES } { file rename ${destroot}${prefix}/www/${name}/${f} \ ${destroot}${prefix}/share/doc/${name}/${f} } file rename ${destroot}${prefix}/www/${name}/config.inc-dist.php \ ${destroot}${conf}.sample } post-activate { if ![file exists ${conf}] { xinstall -m 644 ${conf}.sample ${conf} } } livecheck.version phpicalendar-2.24