forked from Lainports/freebsd-ports
PHP iCalendar is a php-based iCal file parser. Its based on
v2.0 of the IETF spec. It displays iCal files in a nice logical,
clean manner with day, week, month, and year navigation, printer
view, RSS-enabled, and searchable. It supports 12 languages,
is fully theme-able, and has complete timezone support.
WWW: http://phpicalendar.sourceforge.net/
Submitted by: Edwin Groothuis <edwin@mavetju.org>
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# New ports collection makefile for: phpicalednar
|
|
# Date created: 3 April 2004
|
|
# Whom: Edwin Groothuis <edwin@mavetju.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= phpicalendar
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= deskutils www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= edwin@mavtju.org
|
|
COMMENT= Webbased calendar with iCal support
|
|
|
|
NO_BUILD= yes
|
|
WWWDIR= ${PREFIX}/www/phpicalendar
|
|
|
|
do-install:
|
|
.if !exists(${WWWDIR})
|
|
${MKDIR} ${WWWDIR}
|
|
.endif
|
|
.for dir in calendars functions images includes languages rss styles
|
|
@${CP} -R ${WRKSRC}/${dir} ${WWWDIR}
|
|
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/${dir}
|
|
.endfor
|
|
.for f in TIMEZONES admin.php day.php preferences.php print.php search.php week.php year.php README COPYING AUTHORS
|
|
@${CP} ${WRKSRC}/${f} ${WWWDIR}
|
|
@${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${f}
|
|
.endfor
|
|
@${CP} ${WRKSRC}/config.inc.php ${WWWDIR}/config.inc.php-default
|
|
@${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/config.inc.php-default
|
|
|
|
post-install:
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|