From 5f39d369bcb965af07585bd5fe796ef03137f164 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Sun, 15 Jan 2006 16:09:52 +0000 Subject: [PATCH] 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 --- www/Makefile | 1 + www/iwebcal/Makefile | 36 ++++++++++++++++++++++++++++++++++ www/iwebcal/distinfo | 3 +++ www/iwebcal/pkg-descr | 7 +++++++ www/iwebcal/pkg-plist | 45 +++++++++++++++++++++++++++++++++++++++++++ www/mod_ruby/Makefile | 11 +++++++++-- 6 files changed, 101 insertions(+), 2 deletions(-) create mode 100644 www/iwebcal/Makefile create mode 100644 www/iwebcal/distinfo create mode 100644 www/iwebcal/pkg-descr create mode 100644 www/iwebcal/pkg-plist diff --git a/www/Makefile b/www/Makefile index cb786bdeecb8..3fefb01a46ca 100644 --- a/www/Makefile +++ b/www/Makefile @@ -190,6 +190,7 @@ SUBDIR += instiki SUBDIR += interchange SUBDIR += ismail + SUBDIR += iwebcal SUBDIR += jakarta-jmeter SUBDIR += jakarta-tomcat3 SUBDIR += jakarta-tomcat4 diff --git a/www/iwebcal/Makefile b/www/iwebcal/Makefile new file mode 100644 index 000000000000..10829d780088 --- /dev/null +++ b/www/iwebcal/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: iwebcal +# Date created: 2006-01-14 +# Whom: Babak Farrokhi +# +# $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 diff --git a/www/iwebcal/distinfo b/www/iwebcal/distinfo new file mode 100644 index 000000000000..7a0f2319238b --- /dev/null +++ b/www/iwebcal/distinfo @@ -0,0 +1,3 @@ +MD5 (iwebcal-2.0b4.tgz) = 0a09379a5655b240465f06c2b2cc66be +SHA256 (iwebcal-2.0b4.tgz) = 34a06df18049658cdd90381adc7cbd40552ee60bc35a63ca91f148d6e43cf10b +SIZE (iwebcal-2.0b4.tgz) = 123575 diff --git a/www/iwebcal/pkg-descr b/www/iwebcal/pkg-descr new file mode 100644 index 000000000000..0c93ffdeb5d2 --- /dev/null +++ b/www/iwebcal/pkg-descr @@ -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 diff --git a/www/iwebcal/pkg-plist b/www/iwebcal/pkg-plist new file mode 100644 index 000000000000..a78a83cc0bd7 --- /dev/null +++ b/www/iwebcal/pkg-plist @@ -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 diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile index 9d610c05eb96..e23e35ed0086 100644 --- a/www/mod_ruby/Makefile +++ b/www/mod_ruby/Makefile @@ -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 + 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 - doc-install: .if !defined(NOPORTDOCS) .if !defined(RUBY_NO_RD_HTML) @@ -60,3 +65,5 @@ doc-install: .endfor .endif @${CAT} ${PKGMESSAGE} + +.include