ports/76928: New port: www/WebCalendar, web-based calendar application
Greg Larkin
glarkin at sourcehosting.net
Mon Jan 31 22:30:19 UTC 2005
>Number: 76928
>Category: ports
>Synopsis: New port: www/WebCalendar, web-based calendar application
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 31 22:30:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Greg Larkin
>Release: FreeBSD 4.10-RELEASE-p5 i386
>Organization:
SourceHosting.net, LLC
>Environment:
System: FreeBSD slim.sourcehosting.net 4.10-RELEASE-p5 FreeBSD 4.10-RELEASE-p5 #4: Mon Dec 6 10:42:45 EST 2004 glarkin at slim.sourcehosting.net:/usr/obj/usr/src/sys/SLIM i386
>Description:
WebCalendar is a PHP-based online calendar application
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# WebCalendar/
# WebCalendar/Makefile
# WebCalendar/pkg-descr
# WebCalendar/pkg-plist
# WebCalendar/distinfo
# WebCalendar/pkg-message
#
echo c - WebCalendar/
mkdir -p WebCalendar/ > /dev/null 2>&1
echo x - WebCalendar/Makefile
sed 's/^X//' >WebCalendar/Makefile << 'END-of-WebCalendar/Makefile'
X# New ports collection makefile for: WebCalendar
X# Date created: 31 January 2005
X# Whom: glarkin
X#
X# $FreeBSD$
X#
X
XPORTNAME= WebCalendar
XDISTVERSION= 0.9.45
XCATEGORIES= www
XMASTER_SITES= http://www.k5n.us/
X
XMAINTAINER= glarkin at sourcehosting.net
XCOMMENT= A web-based calendar application
X
XUSE_PHP= yes
XNO_BUILD= yes
XWRKSRC= ${WRKDIR}/WebCalendar-${DISTVERSION}
X
XWEBWCDIR?= www/data/WebCalendar
XPLIST= ${WRKDIR}/pkg-plist
X
Xpre-install:
X cd ${WRKSRC} && ${FIND} -s * -type f | \
X ${SED} -e 's|^|${WEBWCDIR}/|' > ${PLIST} \
X && ${FIND} -d * -type d | \
X ${SED} -e 's|^|@dirrm ${WEBWCDIR}/|' >> ${PLIST} \
X && ${ECHO_CMD} @dirrm ${WEBWCDIR} >> ${PLIST}
X
Xdo-install:
X ${MKDIR} ${PREFIX}/${WEBWCDIR}
X ${CP} -R ${WRKSRC}/* ${PREFIX}/${WEBWCDIR}
X ${CHOWN} -R www:www ${PREFIX}/${WEBWCDIR}
X ${FIND} ${PREFIX}/${WEBWCDIR} -type f | ${XARGS} ${CHMOD} 644
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-WebCalendar/Makefile
echo x - WebCalendar/pkg-descr
sed 's/^X//' >WebCalendar/pkg-descr << 'END-of-WebCalendar/pkg-descr'
XThis is a port of the WebCalendar application. WebCalendar is an
XOpen Source web-based calendar/scheduling system written in PHP.
XWebCalendar has been under development since 2000 and continues
Xto evolve.
X
X- Greg Larkin
Xglarkin at sourcehosting.net
END-of-WebCalendar/pkg-descr
echo x - WebCalendar/pkg-plist
sed 's/^X//' >WebCalendar/pkg-plist << 'END-of-WebCalendar/pkg-plist'
X at comment real PLIST will be generated in pre-install phase
END-of-WebCalendar/pkg-plist
echo x - WebCalendar/distinfo
sed 's/^X//' >WebCalendar/distinfo << 'END-of-WebCalendar/distinfo'
XMD5 (WebCalendar-0.9.45.tar.gz) = 170a98f39fb288e4538dec0bd4d490ba
XSIZE (WebCalendar-0.9.45.tar.gz) = 611865
END-of-WebCalendar/distinfo
echo x - WebCalendar/pkg-message
sed 's/^X//' >WebCalendar/pkg-message << 'END-of-WebCalendar/pkg-message'
XTo make WebCalendar workable, please copy
X${PREFIX}/${WEBWCDIR}/includes/settings.php.orig to
X${PREFIX}/${WEBWCDIR}/includes/settings.php and edit it
Xfor your installation.
END-of-WebCalendar/pkg-message
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list