iWebCal displays iCal calendars and other vCalendars on the Web. There's no

need for .Mac: With iWebCal you can share calendars with anyone.

PR:		ports/91795
Submitted by:	Babak Farrokhi <babak@farrokhi.net>
This commit is contained in:
Pav Lucistnik 2006-01-15 16:09:52 +00:00
parent bbf79edbdd
commit 5f39d369bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153572
6 changed files with 101 additions and 2 deletions

View File

@ -190,6 +190,7 @@
SUBDIR += instiki
SUBDIR += interchange
SUBDIR += ismail
SUBDIR += iwebcal
SUBDIR += jakarta-jmeter
SUBDIR += jakarta-tomcat3
SUBDIR += jakarta-tomcat4

36
www/iwebcal/Makefile Normal file
View File

@ -0,0 +1,36 @@
# New ports collection makefile for: iwebcal
# Date created: 2006-01-14
# Whom: Babak Farrokhi <babak@farrokhi.net>
#
# $FreeBSD$
#
PORTNAME= iwebcal
PORTVERSION= 2.0.b4
CATEGORIES= www deskutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-2.0b4
EXTRACT_SUFX= .tgz
MAINTAINER= babak@farrokhi.net
COMMENT= Webbased iCal calendar viewer
NO_BUILD= yes
USE_PHP= yes
IWEBCAL= www/iwebcal
WWWDIR= ${PREFIX}/${IWEBCAL}
WRKSRC= ${WRKDIR}/iWebCal
PLIST_SUB= IWEBCAL=${IWEBCAL}
post-extract:
-@${FIND} ${WRKSRC}/ -type d -name '.svn' | ${XARGS} ${RM} -rf
do-install:
.if !exists(${WWWDIR})
${MKDIR} ${WWWDIR}
.endif
@${CP} -R ${WRKSRC}/* ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/
.include <bsd.port.mk>

3
www/iwebcal/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (iwebcal-2.0b4.tgz) = 0a09379a5655b240465f06c2b2cc66be
SHA256 (iwebcal-2.0b4.tgz) = 34a06df18049658cdd90381adc7cbd40552ee60bc35a63ca91f148d6e43cf10b
SIZE (iwebcal-2.0b4.tgz) = 123575

7
www/iwebcal/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
iWebCal displays iCal calendars and other vCalendars on the Web. There's no
need for .Mac: With iWebCal you can share calendars with anyone.
WWW: http://interfacethis.com/iwebcal/
-- Babak Farrokhi
babak@farrokhi.net

45
www/iwebcal/pkg-plist Normal file
View File

@ -0,0 +1,45 @@
%%IWEBCAL%%/README.txt
%%IWEBCAL%%/Sample.ics
%%IWEBCAL%%/base/main.inc
%%IWEBCAL%%/base/popup-event-info.php
%%IWEBCAL%%/base/time-zones.inc
%%IWEBCAL%%/class/CalItem.inc
%%IWEBCAL%%/class/Calendar.inc
%%IWEBCAL%%/class/Property.inc
%%IWEBCAL%%/class/iWebCal.inc
%%IWEBCAL%%/config.inc
%%IWEBCAL%%/img/btn-bg-over.gif
%%IWEBCAL%%/img/btn-bg-sel.gif
%%IWEBCAL%%/img/btn-bg.gif
%%IWEBCAL%%/img/btn-change-cal.gif
%%IWEBCAL%%/img/btn-left-over.gif
%%IWEBCAL%%/img/btn-left-sel.gif
%%IWEBCAL%%/img/btn-left.gif
%%IWEBCAL%%/img/btn-next-over.gif
%%IWEBCAL%%/img/btn-next.gif
%%IWEBCAL%%/img/btn-prev-over.gif
%%IWEBCAL%%/img/btn-prev.gif
%%IWEBCAL%%/img/btn-right-over.gif
%%IWEBCAL%%/img/btn-right-sel.gif
%%IWEBCAL%%/img/btn-right.gif
%%IWEBCAL%%/img/btn-today.gif
%%IWEBCAL%%/img/completed-check.gif
%%IWEBCAL%%/img/completed-header.gif
%%IWEBCAL%%/img/day-bg.gif
%%IWEBCAL%%/img/event-bg.gif
%%IWEBCAL%%/img/event-header-bg.gif
%%IWEBCAL%%/img/note-button.gif
%%IWEBCAL%%/img/pix-transparent.gif
%%IWEBCAL%%/img/powered-by-logo.gif
%%IWEBCAL%%/img/untimed-event-bg.gif
%%IWEBCAL%%/include/GNU General Public License.txt
%%IWEBCAL%%/include/iWebCal-ie6.css
%%IWEBCAL%%/include/iWebCal.css
%%IWEBCAL%%/include/iWebCal.js
%%IWEBCAL%%/index.php
@dirrm %%IWEBCAL%%/include
@dirrm %%IWEBCAL%%/img
@dirrm %%IWEBCAL%%/class
@dirrm %%IWEBCAL%%/base
@unexec rmdir %D/%%IWEBCAL%%/cache 2>&1 >/dev/null || true
@unexec rmdir %D/%%IWEBCAL%% 2>&1 >/dev/null || true

View File

@ -33,8 +33,15 @@ DOCS_EN= COPYING ChangeLog LEGAL LICENSE.apreq NOTICE \
README.en doc/default.css doc/*.en.*
DOCS_JA= README.ja doc/default.css doc/*.ja.*
.include <bsd.port.pre.mk>
do-configure:
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} ${RUBY_FLAGS} configure.rb ${CONFIGURE_ARGS}
# dirty hack to force mod_ruby.so linked with lpthread.so, otherwise unresolved
# symbols happen
.if ${OSVERSION} >= 502102
@${REINPLACE_CMD} -e 's|-pthread|-pthread -lpthread|' ${WRKSRC}/Makefile
.endif
post-install: doc-install
${INSTALL_DATA} ${WRKSRC}/examples/httpd.conf `${APXS} -q SYSCONFDIR`/httpd.conf.${PORTNAME}
@ -44,8 +51,6 @@ post-install: doc-install
-e 's,%%SYSCONFDIR%%,'`${APXS} -q SYSCONFDIR | ${SED} 's:${LOCALBASE}/::'`',g;' \
${TMPPLIST}
.include <bsd.port.mk>
doc-install:
.if !defined(NOPORTDOCS)
.if !defined(RUBY_NO_RD_HTML)
@ -60,3 +65,5 @@ doc-install:
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>