ports/119474: [NEW PORT] www/webcalendar-devel: A web-based calendar application
Greg Larkin
glarkin at sourcehosting.net
Wed Jan 9 00:00:09 UTC 2008
>Number: 119474
>Category: ports
>Synopsis: [NEW PORT] www/webcalendar-devel: A web-based calendar application
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 09 00:00:08 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Greg Larkin
>Release: FreeBSD 6.1-SECURITY i386
>Organization:
SourceHosting.net, LLC
>Environment:
System: FreeBSD ports.entropy.prv 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Thu Apr 26 14:24:01 UTC 2007
>Description:
This is a port of the WebCalendar application. WebCalendar is an
Open Source web-based calendar/scheduling system written in PHP.
WebCalendar has been under development since 2000 and continues
to evolve.
WWW: http://www.k5n.us/webcalendar.php
- Greg Larkin
glarkin at sourcehosting.net
NOTE: This port tracks the development version of WebCalendar - 1.1.x
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- WebCalendar-devel-1.1.6.shar begins here ---
# 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-devel
# webcalendar-devel/files
# webcalendar-devel/files/pkg-message.in
# webcalendar-devel/Makefile
# webcalendar-devel/distinfo
# webcalendar-devel/pkg-descr
# webcalendar-devel/pkg-plist
#
echo c - webcalendar-devel
mkdir -p webcalendar-devel > /dev/null 2>&1
echo c - webcalendar-devel/files
mkdir -p webcalendar-devel/files > /dev/null 2>&1
echo x - webcalendar-devel/files/pkg-message.in
sed 's/^X//' >webcalendar-devel/files/pkg-message.in << 'END-of-webcalendar-devel/files/pkg-message.in'
X*************************************************
XPost-installation instructions:
X
XFirst, add the following line to your httpd.conf:
X
XAlias /%%WCURL%%/ "%%PREFIX%%/%%WCDIR%%/"
X
XMake sure to restart your web server after changing
Xhttpd.conf.
X
XNext, to configure WebCalendar, please visit
Xhttp://localhost/%%WCURL%%/ and you will
Xbe guided through the installation process.
X*************************************************
END-of-webcalendar-devel/files/pkg-message.in
echo x - webcalendar-devel/Makefile
sed 's/^X//' >webcalendar-devel/Makefile << 'END-of-webcalendar-devel/Makefile'
X# New ports collection makefile for: WebCalendar
X# Date created: 08 Jan 2008
X# Whom: glarkin
X#
X# $FreeBSD$
X#
X
XPORTNAME= WebCalendar-devel
XPORTVERSION= 1.1.6
XCATEGORIES= www
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= webcalendar
XDISTNAME= ${PORTNAME:S/-devel//g}-${PORTVERSION}
X
XMAINTAINER= glarkin at sourcehosting.net
XCOMMENT= A web-based calendar application
X
XUSE_PHP= pcre session
XWANT_PHP_WEB= yes
XNO_BUILD= yes
XCONFLICTS= WebCalendar-[0-9]*
X
XWRKSRC= ${WRKDIR}/${DISTNAME}
X
XWCURL?= ${MASTER_SITE_SUBDIR}
XWCDIR?= www/${WCURL}
XPLIST= ${WRKDIR}/pkg-plist
X
XSUB_FILES= pkg-message
XSUB_LIST= WCURL=${WCURL} WCDIR=${WCDIR}
X
XDOCSDIR?= ${PREFIX}/share/doc/${MASTER_SITE_SUBDIR}
XDOCS= docs/WebCalendar-SysAdmin.html \
X docs/newwin.gif
X
XOPTIONS= MYSQL "Use MySQL database backend (default)" On \
X PGSQL "Use PostgreSQL database backend" Off \
X MSSQL "Use MSSQL database backend" Off \
X DBASE "Use DBase database backend" Off \
X ODBC "Use ODBC database backend" Off \
X ORACLE "Use Oracle database backend" Off \
X LDAP "Use LDAP user authentication" Off \
X GRADIENTBG "Add gradient background image support" Off \
X REMINDERS "Add email reminder support" On
X
X.include <bsd.port.pre.mk>
X
XDB_DEFINED= no
X
X.if !defined(WITHOUT_MYSQL)
XUSE_PHP+= mysql
XDB_DEFINED= yes
X.endif
X
X.if defined(WITH_PGSQL)
XUSE_PHP+= pgsql
XDB_DEFINED= yes
X.endif
X
X.if defined(WITH_MSSQL)
XUSE_PHP+= mssql
XDB_DEFINED= yes
X.endif
X
X.if defined(WITH_DBASE)
XUSE_PHP+= dbase
XDB_DEFINED= yes
X.endif
X
X.if defined(WITH_ODBC)
XUSE_PHP+= odbc
XDB_DEFINED= yes
X.endif
X
X.if defined(WITH_ORACLE)
XUSE_PHP+= oracle
XDB_DEFINED= yes
X.endif
X
X.if ${DB_DEFINED} == "no"
XIGNORE= please choose database backend by running 'make config'
X.endif
X
X.if defined(WITH_LDAP)
XUSE_PHP+= ldap
X.endif
X
X.if defined(WITH_GRADIENTBG)
XUSE_PHP+= gd
X.endif
X
X.if defined(WITH_REMINDERS)
XWANT_PHP_CLI= yes
X.endif
X
Xpre-install:
X cd ${WRKSRC} && ${FIND} -s * -type f | \
X ${SED} -e 's|^|${WCDIR}/|' > ${PLIST} \
X && ${FIND} -d * -type d | \
X ${SED} -e 's|^|@dirrm ${WCDIR}/|' >> ${PLIST} \
X && ${ECHO_CMD} @dirrm ${WCDIR} >> ${PLIST}
X @${CAT} pkg-plist >> ${PLIST}
X @${ECHO_CMD} @dirrmtry www/data-dist >> ${PLIST}
X @${ECHO_CMD} @dirrmtry www/data >> ${PLIST}
X
Xdo-install:
X @${MKDIR} ${PREFIX}/${WCDIR}
X ${CP} -R ${WRKSRC}/* ${PREFIX}/${WCDIR}
X ${CHOWN} -R www:www ${PREFIX}/${WCDIR}
X ${FIND} ${PREFIX}/${WCDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for i in ${DOCS}
X ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
X.endfor
X.endif
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-webcalendar-devel/Makefile
echo x - webcalendar-devel/distinfo
sed 's/^X//' >webcalendar-devel/distinfo << 'END-of-webcalendar-devel/distinfo'
XMD5 (WebCalendar-1.1.6.tar.gz) = 1a9e80abd7373008e0b998525dd03404
XSHA256 (WebCalendar-1.1.6.tar.gz) = ea8ede2a7ce74a3f5c72a7039ec5db6f6ee8db80e8a461f79cd493f16ac87d42
XSIZE (WebCalendar-1.1.6.tar.gz) = 1300618
END-of-webcalendar-devel/distinfo
echo x - webcalendar-devel/pkg-descr
sed 's/^X//' >webcalendar-devel/pkg-descr << 'END-of-webcalendar-devel/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
XWWW: http://www.k5n.us/webcalendar.php
X- Greg Larkin
Xglarkin at sourcehosting.net
END-of-webcalendar-devel/pkg-descr
echo x - webcalendar-devel/pkg-plist
sed 's/^X//' >webcalendar-devel/pkg-plist << 'END-of-webcalendar-devel/pkg-plist'
X at comment The full PLIST will be generated in pre-install phase
X%%PORTDOCS%%%%DOCSDIR%%/WebCalendar-SysAdmin.html
X%%PORTDOCS%%%%DOCSDIR%%/newwin.gif
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-webcalendar-devel/pkg-plist
exit
--- WebCalendar-devel-1.1.6.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list