diff options
author | pav <pav@FreeBSD.org> | 2005-06-22 16:15:02 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-06-22 16:15:02 +0800 |
commit | a60c56444715e4a61a93c39af4e93d0fbecadbe9 (patch) | |
tree | 6f8d34187235158f72913cadfcdbe9e95abdbdbe | |
parent | 41544987c2976733ad51719fede1005cc913e4d4 (diff) | |
download | freebsd-ports-gnome-a60c56444715e4a61a93c39af4e93d0fbecadbe9.tar.gz freebsd-ports-gnome-a60c56444715e4a61a93c39af4e93d0fbecadbe9.tar.zst freebsd-ports-gnome-a60c56444715e4a61a93c39af4e93d0fbecadbe9.zip |
WebCalendar is a PHP-based online calendar application.
PR: ports/76928
Submitted by: Greg Larkin <glarkin@sourcehosting.net>
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/webcalendar/Makefile | 54 | ||||
-rw-r--r-- | www/webcalendar/distinfo | 2 | ||||
-rw-r--r-- | www/webcalendar/pkg-descr | 7 | ||||
-rw-r--r-- | www/webcalendar/pkg-message | 13 | ||||
-rw-r--r-- | www/webcalendar/pkg-plist | 8 |
6 files changed, 85 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index cd3ab1c4f14c..690d2df2c2f8 100644 --- a/www/Makefile +++ b/www/Makefile @@ -779,6 +779,7 @@ SUBDIR += web-traceroute SUBDIR += web2ldap SUBDIR += webalizer + SUBDIR += webcalendar SUBDIR += webcheck SUBDIR += webcopy SUBDIR += webcrawl diff --git a/www/webcalendar/Makefile b/www/webcalendar/Makefile new file mode 100644 index 000000000000..d7256c0dd6a6 --- /dev/null +++ b/www/webcalendar/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: WebCalendar +# Date created: 21 June 2005 +# Whom: glarkin +# +# $FreeBSD$ +# + +PORTNAME= WebCalendar +DISTVERSION= 1.0.0 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= webcalendar +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= glarkin@sourcehosting.net +COMMENT= A web-based calendar application + +USE_PHP= yes +NO_BUILD= yes +WRKSRC= ${WRKDIR}/WebCalendar-${DISTVERSION} + +WEBWCDIR?= www/data/WebCalendar +PLIST= ${WRKDIR}/pkg-plist + +DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME} +DOCS= docs/README \ + docs/WebCalendar-Database.html \ + docs/WebCalendar-DeveloperGuide.html \ + docs/WebCalendar-Styling.html \ + docs/WebCalendar-SysAdmin.html \ + docs/newwin.gif + +pre-install: + cd ${WRKSRC} && ${FIND} -s * -type f | \ + ${SED} -e 's|^|${WEBWCDIR}/|' > ${PLIST} \ + && ${FIND} -d * -type d | \ + ${SED} -e 's|^|@dirrm ${WEBWCDIR}/|' >> ${PLIST} \ + && ${ECHO_CMD} @dirrm ${WEBWCDIR} >> ${PLIST} + ${CAT} pkg-plist >> ${PLIST} + +do-install: + ${MKDIR} ${PREFIX}/${WEBWCDIR} + ${CP} -R ${WRKSRC}/* ${PREFIX}/${WEBWCDIR} + ${CHOWN} -R www:www ${PREFIX}/${WEBWCDIR} + ${FIND} ${PREFIX}/${WEBWCDIR} -type f | ${XARGS} ${CHMOD} 644 + +post-install: + ${MKDIR} ${DOCSDIR} +.for i in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor + @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%WEBWCDIR%%|${WEBWCDIR}|g' -e 's|%%DOCSDIR%%|${DOCSDIR}|g' + +.include <bsd.port.mk> diff --git a/www/webcalendar/distinfo b/www/webcalendar/distinfo new file mode 100644 index 000000000000..c5921499cd03 --- /dev/null +++ b/www/webcalendar/distinfo @@ -0,0 +1,2 @@ +MD5 (WebCalendar-1.0.0.tar.gz) = 0cbba331c74c0a77552da42f05340fe8 +SIZE (WebCalendar-1.0.0.tar.gz) = 936863 diff --git a/www/webcalendar/pkg-descr b/www/webcalendar/pkg-descr new file mode 100644 index 000000000000..ca776f6ec05d --- /dev/null +++ b/www/webcalendar/pkg-descr @@ -0,0 +1,7 @@ +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. + +- Greg Larkin +glarkin@sourcehosting.net diff --git a/www/webcalendar/pkg-message b/www/webcalendar/pkg-message new file mode 100644 index 000000000000..c1c180c37740 --- /dev/null +++ b/www/webcalendar/pkg-message @@ -0,0 +1,13 @@ + +Post-installation instructions: + +To make WebCalendar workable, please read +%%DOCSDIR%%/WebCalendar-SysAdmin.html +for information about creating the database and installing +the database tables. + +Then copy +%%PREFIX%%/%%WEBWCDIR%%/includes/settings.php.orig to +%%PREFIX%%/%%WEBWCDIR%%/includes/settings.php and edit it +for your installation. + diff --git a/www/webcalendar/pkg-plist b/www/webcalendar/pkg-plist new file mode 100644 index 000000000000..73636a9087c5 --- /dev/null +++ b/www/webcalendar/pkg-plist @@ -0,0 +1,8 @@ +@comment The full PLIST will be generated in pre-install phase +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/WebCalendar-Database.html +%%PORTDOCS%%%%DOCSDIR%%/WebCalendar-DeveloperGuide.html +%%PORTDOCS%%%%DOCSDIR%%/WebCalendar-Styling.html +%%PORTDOCS%%%%DOCSDIR%%/WebCalendar-SysAdmin.html +%%PORTDOCS%%%%DOCSDIR%%/newwin.gif +%%PORTDOCS%%@dirrm %%DOCSDIR%% |